6 - 9
MELSEC-
A
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
(2) About control data
When transmitting data using the transient transmission, the control data must be
added to the transmission data before transmitting.
When receiving data, the control data will be added to the head of the reception
data.
The following examples are explained in this section for the control data.
Transmission buffer address (200H worth) : Bank 1 M 0H to 1FFH
Reception buffer address (200H worth) : Bank 1 M 200H to 3FFH
POINT
Refer to the following manuals for details on the control data when using the
dedicated commands (RIWT/RIRD).
AnSHCPU/AnACPU/AnUCPU Programming Manual (Dedicated Commands)
(a) When using the RIWT command
This is used only when writing to the D75P2-designated buffer memory.
When using the RIWT command, the master module buffer memory will be
used as the transmission buffer for the control data and write data.
The complete status will be stored in the reception buffer.
(Example) Writing the axis 1 speed limit value
PLC CPU
Complete status
One word
each
Write
data
Axis 1 speed limit value
Address
7
H
D75P2
Axis 1 speed limit value
Master module
(Transmission buffer)
Address
Bank 1
0
H
to
1FF
H
M
Address
(Reception buffer)
Complete status
Station No., request code
Bank 1+ 201
HM
Bank 1+ 200
HM
6
H
Number of read points (word)
Access code, attribute
Buffer memory address
Control
data