LG MASTER-K 120S Series User Manual page 260

Programmable logic controller
Table of Contents

Advertisement

Chapter 8 Communication Functions
1) No protocol send(DSND)
DSND
No protocol send
Instruction
M
P
Ch
n
S
SS
Flag
Error
Error flag turns on, when designating area is over.
(F110)
■ DSND
Ch
n
(1) Function
• When the execution condition is on, the No protocol communication starts
• 'n' represents the number of data to send (unit of byte) and Sending data is stored in device 'D'
• 'Ch' is designated communication channel and Communication status is saved in 'SS'.
(2) Example program
• When the execution condition P0040 is on, the communication starts with channel 1
• Length of sending data which is stored in D0100 is 10 byte and the communication status is stored in M000.
(3) Error code
Code
06
Parameter Error
08
Slave Device Busy
09
Frame Type Error
Available Device
K
L
F
T
S
SS
Length of sent data
Error
Communication parameter setting error
Slave device is busy
Size of sending byte is out of range
C
S
D
D
Integer
#
Designation
Ch
Designated communication channel
n
Number of data to sending by bytes
S
Device address which is stored communication data
Device address which is displayed communication
SS
status
8-70
No. of
Error
step
(F110)
9
error bit
Description
Flag
Zero
Carry
(F111)
(F112)
Done

Advertisement

Table of Contents
loading

Table of Contents