
48
5.2.2. Product No. input (from PLC)
1. Communication
setting
2.
Send and receive command and procedure.
Send Product No. before Sequence or Data collection starts.
*Check sum = Last 2 digits of hexadecimal addition data from STX to ETX
3. Timing
chart
Ex) Product No. is “AB012345”.
Setting item
Setting value
Baud rate(bps)
9600 19200 38400 (Selective from PC)
Data length
8 (Fixed)
Parity No
(Fixed)
Stop bit
1 (Fixed)
Header No
Terminator
CR LF (0Dh 0Ah)
PLC
Signal direction
Master IPS
1) Send command: “
ENQ K CR LF
”
ENQ: 05h
K: 4Bh
CR: 0Dh
LF: 0Ah
3) Send command: “
STX nnnnnnnnnnnn ETX H H CR LF
”
STX: 02h
n: Product No.
(
Max 128 bytes
)
ETX: 03
h
H H:
*Check sum
CR: 0Dh
LF: 0Ah
2) Receive
4) Receive
<Master Ready>
[Ch1,Ch2 request]
Request command data
(Master to PLC)
100ms
Product No. data
(PLC to Master)
AB012345
K
Within 200ms
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com