2 write, Write, External device setup manual – IDEC High Performance Series User Manual
Page 609
591
8 DM Link 1:N Communication Format
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4
DM L
ink
Communica
ti
on
External Device Setup Manual
8.2
Write
This command is used by the external device to write data to the MICRO/I or Touch data memory.
One command can write a maximum of 255 words of data.
8.2.1
Command
Format
Detailed description
Command
Code
Description
Bytes
ENQ
05h
Command Start
1
Station Number
DM Link Station Number expressed in ASCII.
2
W
57h
Write Command
1
DM Address
DM address to start writing from
This is expressed as the ASCII code of the hexadecimal value of the
address.
4
Words
Number of words to write
The hexadecimal value expressed using ASCII code.
2
Data
DM Address Data
The hexadecimal value expressed using ASCII code.
The words are in order from the lowest address.
4 x N
N is the number of
words
BCC
Only added when 'with BCC' is set.
Exclusive OR (HEX) from ENQ to before BCC converted to ASCII code.
2
CR
0Dh
End
1