
3.FP FUNCTIONS B-66244EN/03
- 242 -
[Arguments]
type Kind of modal data
0,..,99 : G code group number
100,.. : modal address
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.
block Objective block
0 : Currently executed block
1 : Next block
2 : Next to next block
inp Display type by presence of instruction
0 : Modal information is displayed regardless of
the presence of the buffering and the
instruction.
1 : Modal information is displayed when there is
an instruction in the buffered block.
pmc Kind of PMC address for processing result
notification
5 : R
9 : D
12:E(PMC-SB7)
99 : Processing result is not notified
address PMC address where processing result is written
(The area in two bytes is used from the specified
address)
Please specify 0 when you specify 99 for a kind of
the PMC address.
[Description]
Modality in the specified G modal code and the address is
read.
The readable modal data are modal G code, M/S/T code or
commanded data such as F.
[Example]
wrmacro[100_0_0_9_10]
Data is written in common variable #100 in the ten
keys input, and this processing result is written in D10.