12 - 63
MELSEC-
A
12 CONTROL AUXILIARY FUNCTIONS
(4) Setting the M code output function
The following shows the settings to use the "M code output function".
(a) Set the M code No. in the positioning data "
Da.9 M code".
(b) Set the timing to output the M code ON signal [RXnD, RXnE].
Set the required value in the following parameter, and write it to the D75P2.
The set details are validated at the rising edge (OFF
ON) of the remote station
READY signal [RX(n+7)B].
Setting item
Setting
value
Setting details
Buffer memory address
Axis 1 Axis 2
Pr.19
M code ON signal
output timing
Set the timing to output the M code ON signal.
0: WITH mode
1: AFTER mode
25 175
* Refer to section "5.2 List of parameters" for setting details.
(5) Reading M codes
"M codes" are stored in the following remote register when the M code ON signal
turns ON.
Monitor item
Monitor
value
Storage details
Remote register
Axis 1 Axis 2
Valid M code
The M code No. ( Da.9 M code) set in the
positioning data is stored.
RWrn+4 RWrn+12
* Refer to section "3.5 Remote registers" for information on the storage details.