Special Functions
z Network Format of CAN Bus
There are two forms of CAN bus network: one is statements communication format; the
e.
N-bus instructions, carry on bit
o d far away PLC.
ble format, realize
a ertain device’s space. In this way, realize PLC
s
CA
1、 Coil write [CCOLW]
other is interior protocol communication format. These two forms can carry on at the same
tim
¾ Statements communication format
This format means, in the local PLC program, via CA
r word reading/writing with the assigne
¾ Interior protocol communication format
This format means, via setting of special register, with collocate ta
llude with each other among PLC’s c
ource sharing in CAN-bus network.
一、 N-bus Statements
CCOLW K2 M20K20 K4
X0
S·D1·
D2· D3·
z Coil read statement
Function:Read the assigned bureau’s assigned coil status into the local assigned coil.
Far away communication bureau ID
Far away coil’s start number. Operands:K、M
Coil’s number
This master’s receiving coil’s start ID. Operand:M
z Coil write statement
Function:Write the local assigned multi-coil’s status into the assigned bureau’s assigned coil
Far away communication bureau ID
Far away coil’s start number.
Coil’s number
The master’s sending coil’s start ID. Operand:M
S·
D3·
D2·
D1·
D·
S3·
S2·
S1·
24