14
Chapter 4. COMMUNICATION PROCEDURE
■
Continuous data write command (WD command)
This command writes continuous data in two-byte units. This command is suitable
for handling data in ladder programs sent by PLC communications as the data is of
a fixed length.
The start data address is expressed as four hexadecimal digits. Data is expressed
as four X n (n is a positive integer) hexadecimal digits.
●
Send message
The write start data address (four hexadecimal digits) and the number of write data
(four X n hexadecimal digits) are sent.
●
Response message
If writing is successful, the normal termination code (two decimal digits) is
returned. If only part of the data is written, and the remaining data is not written,
the warning termination code (two decimal digits) is returned. If none of the data
is written, the abnormal termination code (two decimal digits) is returned.
●
Maximum number of write data per message
Up to 10 words for both RAM and EEPROM areas
W
• Writing of single data item
D
• Writing of multiple data items
(1) Fixed length continuous data write command
(2) Start data address
(3) Data 1
(4) Data 2 to data (n-1)
(5) Data n
(1)
(2)
(3)
(5)
W
(1)
D
(2)
(3)
(4)
0
• Normal termination
(1)
0
• Abnormal termination or warning
X
(1)
X
The abnormal termination code is entered at XX.
For details of codes, refer to;
4-4, Termination Code Table (on page 15).
(1) Termination code
Содержание Azbil CMQ-V Series
Страница 43: ...35 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...
Страница 44: ...36 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...
Страница 45: ...37 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...
Страница 46: ...38 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...
Страница 52: ......
Страница 53: ...Revision History Printed Manual Number Edition Revised pages Description date Jan 2007 CP SP 1197E 1st Edition ...
Страница 54: ......
Страница 55: ......