![background image](http://html1.mh-extra.com/html/omron/k3hb/k3hb_technical-communications-users-manual_743344026.webp)
1-5
Frames (CompoWay/F Communications)
Section 1-2
Co
m
p
o
W
a
y
/F
Co
m
m
u
n
ica
tio
n
s
1-2
Frames (CompoWay/F Communications)
Based on CompoWay/F protocol, commands from the host computer and
responses from the K3HB take the form of frames.
The data comprising command frames and response frames are explained
below.
In the following explanation, an “H” following a numeric value (for example
02H) indicates that the value is a hexadecimal number. A number or letters
enclosed in quotation marks (for example “00”) is an ASCII character.
1-2-1
Command Frame
1-2-2
Response Frame
Supplement
A response is not sent to command frames that do not end with ETX.BCC
characters.
STX
Code that indicates the beginning of the communications
frame (02H).
Be sure to set this code in the leading byte.
Node No.
This number specifies the destination.
Specify the Unit No. of the K3HB.
When broadcasting to all units, specify “XX”. Responses are
not sent to a broadcast.
Sub-address
Not used on the K3HB. Be sure to set to “00”.
SID (Service ID)
Not used on the K3HB. Be sure to set to “0”.
FINS-mini
Command text
The text of the command.
ETX
Code that indicates the end of the text (03H).
BCC
Block Check Character.
This stores the result of the BCC calculation from Node No. to
EXT.
02H
"00"
"0"
FINS-mini
command text
BCC calculation range
SID
STX
1
03H
ETX
1
BCC
1 byte
2
2
1
Sub-
address
Node
No.
02H 30H 30H 30H 30H 30H 30H 35H 30H 30H 03H 36H
FINS-mini
command text
SID
STX
ETX BCC
BCC = 30H + 30H + 30H + 30H + 30H + 30H + 35H + 30H + 30H + 03H = 36H
+: XOR (exclusive OR) operation
Node
No.
Sub-
address
02H
"00"
FINS-mini
response text
End
Code
STX
1
03H
ETX
1
BCC
1 byte
2
2
2
Node
No.
Sub-
address
STX
Code that indicates the beginning of the communications
frame (02H).
Be sure to set this code in the leading byte.
Node No.
The number that was specified in the command frame is
repeated here.
This is the Unit No. of the responding K3HB.
Sub-address
Not used on the K3HB. Set to “00”.
Содержание K3HB
Страница 2: ...K3HB Digital Indicators Communications User s Manual Revised March 2005...
Страница 3: ...iv...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 21: ...Part 1 CompoWay F...
Страница 69: ...Part 2 DeviceNet...
Страница 95: ...6 10 Ladder Programming Examples Section 4 3 Remote I O Com munications...
Страница 103: ...7 8 Explicit Messages Specific to DeviceNet compatible Digital Indicators Section 5 3 Explicit Message Communications...
Страница 111: ...8 8 Message Communications Performance Section 6 2 Communications Performance...
Страница 127: ...Part 3 BCD Output...
Страница 147: ......