Chapter8 Communication Function
8-12
(5) Example
This example supposes when 1 WORD from M20 and 1 WORD from P001 address of station No.1 are
read and BCC value is checked. Also it is supposed that H1234 is entered in M20, and data of H5678 is
entered in P001.
x
Computer request format (PC
ᆌ
K7 Base Unit)
Format name
Header
Station No. Command
Command
type
Number of
blocks
Variable
length
Format
name
Devicelength Format name
Tail
Frame
check
Ex. of frame
ENQ
H01
r
SS
H02
H05
%MW20
H06
% PW001
EOT
BCC
ASCII value
H05
H3031
H72
H5353
H3032
H3035
H254D57
3230
H3036
H25505730
3031
H04
y
For ACK response after execution of command(PC
ᆊ
K7 Base Unit)
Format name
Header
Station No. Command
Command
type
Number of
blocks
Number of
data
Data
Number of
data
Data
Tail
Frame
check
Ex. of frame
ACK
H01
r
SS
H02
H02
H1234
H02
H5678
ETX
BCC
ASCII value
H06
H3031
H72
H5353
H3032
H3032
H31323334
H3032 H35363738 H03
z
For NAK response after execution of command(PC
ᆊ
MK80S Base Unit)
Format name
Header
Station No.
Command
Command type
Error code
Tail
Frame check
Ex. of frame
NAK
H01
r
SS
Error code (2)
ETX
BCC
ASCII value
H15
H3031
H72
H5353
Error code (4)
H03
ఐ
Frame check BCC is automatically calculated internally.
K80S base unit
Содержание K7 Series
Страница 1: ...User s Manual Programmable Logic Controller IMO K7 IMO Precision Controls...
Страница 21: ...Chapter 4 Names of Parts 4 4 1 2 30 points base unit 4 1 3 40 points base unit 4 1 4 60 points base unit...
Страница 57: ...Chapter 6 Input and Output Modules 6 3 40 point base unit 4 60 point base unit DC24V DC24V DC24V DC24V...
Страница 166: ...Chapter8 Communication Function 8 43 Set parameters like the following table and click OK button Program...
Страница 189: ...Chapter 8 Communication Function 8 66 You can see the framelist which is designated Click OK button...
Страница 234: ......