
Chapter
9
55
ML-73
□□
EL
9.4 Communications Protocol
In RS-232C communications with the marker,
data basically consists of the elements
shown right:
■
Transmission control code
The transmission control codes are as follows:
■
Checksum
Checksums are codes calculated from the transmitted data to confirm that all data is received
correctly.
All data, from STX to the command or response segment to ETX, is totaled at the binary level and a
checksum value calculated.
This result is converted into an ASCII string (a 2-byte hexadecimal number), which is added to the
transmission as the checksum.
9.4 Communications Protocol
Name
Value
Detail
STX
0x02
Start transmission
ETX
0x03
End transmission
ACK
0x06
Acknowledge successful reception
NAK
0x15
Negative acknowledgment; processing errors occurred during reception
Conditions under which a NAK is returned:
・
Incorrect checksum
・
Specified command does not exist.
・
Specified value exceeds the setting range.
・
Insufficient internal RAM
・
Specified command cannot be executed at this time
(for example, if a command is issued to begin marking when marking is not
possible).
To set the marking speed at 3.00 mm/s
STX
Command Segment
Response Segment
(0-2046 bytes)
Checksum
(2 bytes)
(Only when
selected)
ETX
0x02,0x53,0x50,0x57,0x33,0x30,0x30,0x03,0x39,0x32
STX S
P
W
3
0
0
ETX 9
2
STX Change marking
speeds
3.00 mm/s
ETX Checksum
Code sent:
ASCII code:
Содержание ML-73 EL Series
Страница 1: ...Z11OM1209102 02 Fiber Laser Marker ML 73 EL OPERATION MANUAL Original instructions...
Страница 4: ......
Страница 133: ...Appendix...