Mitsubishi Electric MELDAS 60 Series Programming Manual page 233

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

(6) Read/write data (Rn+6, Rn+7), (Dn+6, Dn+7)
When data is read, the controller outputs data specified by PLC. When data is written, PLC sets
the data to be written.
1-byte data
Rn+6
(Dn+6)
Rn+7
(Dn+7)
The effective portion of data varies depending on the data size. (Hatched portion)
When read is specified the sign of 1-byte or 2-byte is extended to four bytes.
The main data that can be referenced by using the DDB function is listed below.
Specification
item
Asynchronous
Current position in work coordinate, machine coordinate
system, length, radius offset amount
Parameters
Maximum rotation speed of spindle, second, third,
and fourth reference position coordinates,
stored stroke limit, coordinate system offset, etc.
User macro variables
Modal data of G code, etc.
Controller alarm number
Compensation function
External work coordinate system input,
external tool compensation input
Synchronous
External search
PLC axis control, etc.
Caution:
The DDBA command is issued after setting necessary data such as control signal and large and
sub-classification numbers to the buffer (Rn or Dn). A read or write of the control signal is
specified only once before execution of the DDBA command to prevent error codes stored in
high-order bits by the CNC from being erased.
(LOW) (HIGH) (LOW) (HIGH)
2-byte data
Rn+6
(Dn+6)
Rn+7
(Dn+7)
Contents
- 225 -
9. Exclusive Commands
4-byte data
H
Rn+6
(Dn+6)
L
Rn+7
(Dn+7)
Read
Write
H
L
Remarks

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents