![background image](http://html1.mh-extra.com/html/hakko-electronics/v-series/v-series_connection-manual_3303640297.webp)
App6-28
Appendix 6 Universal Serial Communications
Data Items for Protocols
•
Transmission control code
The transmission control codes are shown in the table below.
•
Port number
Port numbers are used so that the host computer can identify each V series for access. The data
range is from 00H to 1FH (0 to 31) and is converted into two-digit ASCII code (HEX) before use.
The port number of the V series should be set on the V-SFT editor.
•
Sum check code (SUM)
Data is added up (SUM), and the lower one byte (8 bits) of the sum is converted into the 2-digit
ASCII code (hexadecimal). A sum check code is shown below.
Example:
Sum check will be as is shown below when data is transmitted as: command [WM]
(data writing), address [05AD] (1453), and memory data [OF2A] (3882) in
transmission mode [w/o CR/LF, w/ sum check].
However, in the case of an interrupt, data from ENQ to ETX is subject to a sum check.
•
Error code
An error code is sent along with an NAK response.
An error code is transmitted as a two-digit ASCII code (HEX). For more information, refer to page
App6-41.
Signal Name
Code (Hexadecimal)
Contents
STX
02H
Start of transmission block
ETX
03H
End of transmission block
ENQ
05H
Interrupt
ACK
06H
Positive acknowledge
CR
0DH
Carriage return
DLE
10H
Change contents within a block
NAK
15H
Negative acknowledge
LF
0AH
Line feed
STX
DLE
ETX
SUM
02
H
57
H
4D
H
10
H
30
H
35
H
41
H
44
H
03
H
34
H
44
H
"W" "M"
"0" "5" "A" "D"
"4" "D"
02H + 57H + 4DH + 10H + 30H + 35H + 41H + 44H + 30H + 30H + 30H + 31H
+ 30H + 46H + 32H + 41H + 03H =
4DH
30
H
30
H
30
H
31
H
"0" "0"
"0" "1"
30
H
46
H
32
H
41
H
"0" "F"
"2" "A"
Command
Address
Count
Memory data
Summary of Contents for V Series
Page 1: ...V Series...
Page 35: ...2 10 2 Allen Bradley PLC Please use this page freely...
Page 41: ...3 6 3 Automationdirect PLC Please use this page freely...
Page 49: ...6 4 6 FANUC PLC Please use this page freely...
Page 53: ...7 4 7 FATEK AUTOMATION PLC Please use this page freely...
Page 79: ...12 8 12 KEYENCE PLC Please use this page freely...
Page 95: ...14 8 14 LG PLC Please use this page freely...
Page 119: ...16 20 16 MITSUBISHI ELECTRIC PLC Please use this page freely...
Page 135: ...20 4 20 SAIA PLC Please use this page freely...
Page 155: ...24 12 24 Siemens PLC Please use this page freely...
Page 163: ...27 4 27 TOSHIBA PLC Please use this page freely...
Page 169: ...29 4 29 Toyoda Machine Works PLC Please use this page freely...
Page 185: ...33 6 33 Yokogawa Electric PLC Please use this page freely...
Page 215: ...App2 8 Appendix 2 n 1 Connection Multi link 2 Please use this page freely...
Page 221: ...App3 6 Appendix 3 n 1 Connection Multi link Please use this page freely...
Page 225: ...App4 4 Appendix 4 1 n Connection Multi drop Please use this page freely...
Page 317: ...App6 48 Appendix 6 Universal Serial Communications Please use this page freely...