
3.FP FUNCTIONS B-66284EN/01
- 318 -
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]
rdmodal[0_0_0_9_10]
The modal information on the G code group number 0 in
the block currently being executed is read and the
processing results are written in D10.
[Value of processing result written in specified PMC area]
0 Successful.
3 Incorrect kind of data “type”.
4 Incorrect objective block “block”.
-1 It has been failed to read modal data because the CNC
software was updating the modal data.
1.45 Reading operator’s message
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○ ○ ○ ○ ○ ○
○:available
-:unavailable
[Function name]
rdopmsg
[Data type]
6: String
[Format/with arguments]
rdopmsg[type_pmc_address]
[Arguments]
type Kind of the operator’s message (Always 0)
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]
Reads the contents of the operator’s message displayed in the
CNC’s screen.
For the Series 30i, turn off and back on the power for the change
in parameter No. 6310 or bit 1 of parameters No. 6301 to take
effect.
[Example]
rdopmsg[0_9_10]
The operator message is read, the content is displayed on
the screen, and this processing result is written in D10.