Chapter 8 Communication Function
8-54
8.2.3 Instruction
Available device
Flag
Instruction
M P K L F T C S D
#
D
integer
No. of
steps
Error
(F110)
Zero
(F111)
Carry
(F112)
S
1
O
SND8
S
2
O
O
O
O
O
O
5
O
ν
SND8
1) Function
When the execution condition is on, the communication starts with protocol at parameter which is designated early.
‘n’ is a frame number at parameter which is designated
‘D’ is a device which the communication status is stored.
2) example of program
When input condition is on, the communication starts with protocol at user defined parameter rnumber 3.
The communication state stores M000 and the format of M000 Iis as below
b
it 15 bit 8 bit 1 bit 0
•
Done bit : transfer complets normally, this bit turns on during 1 scan.
•
Error bit : When communication error occurs,
•
Error code : When error bit turns on it stores error code.
3) Error code
Code
Error type
explanation
06
Slave Device Busy
It’s sending or waiting to receive
09
Parameter Error
Communication parameter setting error, Link enable setting error
10
Frame Type Error
Frame does not setting or frame does not ‘sending’
SND8 n D
Error
(F110)
Error flag turns on , when designating area
is over.
영역설정
n
Frame no. which is designated at parameter
D
Device which the communication status is stored
[ SND8 3 M000 ]
P0020
Error code
Error bit
Done bit
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...