Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 486 -
(2) Reading modal data other than G code.
type Address
-------+--------------------------------
100 B (2nd auxiliary function)
101 D
102 - (reserved)
103 F
104 H [M]
105 L
106 M
107 S
108 T
109 R [M]
110 P [M]
111 Q [M]
112 M (2nd M code)
113 M (3rd M code)
-------+--------------------------------
[M] is read as a modal data on M Series and a commanded data
on T Series.
The absolute value of the commanded value is stored in
"buf.modal.aux.aux_data" with binary format. The following flags are
stored in "buf.modal.aux.flag1" and "buf.modal.aux.flag2".
flag1 bit7 =0 Not commanded in the objective block.
=1 Commanded in the objective block.
bit6 =0 No decimal point in commanded value.
=1 Decimal point in commanded value.
bit5 =0 Commanded value is positive.
=1 Commanded value is negative.
bit4 Not used.
bit3-0 Digit number of input data.
flag2 bit7-3 Not used.
bit2-0 Digit number after decimal point.
"Decimal point in commanded value" of FLAG1 and "Digit number after
decimal point" in FLAG2 are effective only to the modal code of F
code. When "No decimal point in commanded value", "Digit number after
decimal point" may not be "0" because the corresponding value to the
unit of F code is set. This decimal point information is not effective
to the other modal data at all.