Chapter 16 PLC Function ApplicationsC2000-HS
16-128
API
CANFLS
D
Refresh special D corresponding to CANopen
265
P
Bit device Word device
16-bit command (3 STEP)
CANFLS Continuous
execution type
CANFLSP Pulse
execution type
32-bit command
- - - -
Flag signal
X Y M K H KnX KnY KnM T C D
D * *
Notes on operand usage: none
D
: Special D to be refreshed.
The CANFLS command can refresh special D commands. When is a read only
attribute, executing this command will send a message equivalent to that of
CANRX to the slave station, and the number of the slave station will be
transmitted back and refreshed to this special D. When there is a read/write
attribute, executing this command will send a message equivalent to that of
CANTX to the slave station, and the value of this special D will be written to the
corresponding slave station.
When M1066 and M1067 are both 0, and M1066 is set as 1 after reading, if the
slave station gives a correct response, the value will be written to the designated
register, and M1067 will be set as 1. If the slave station's response contains an
error, then M1067 will be set as 0, and an error message will be recorded to
D1076–D1079.
API
ICOMR
D
Internal communications read
320
D P
Bit device Word device
16-bit command (9 STEP)
ICOMR Continuous
execution type
ICOMRP Pulse
execution type
32-bit command (17 STEP)
DICOMR Continuous
execution type
DICOMRP Pulse
execution typ
Flag signal: M1077 M1078 M1079
X Y M K H KnX KnY KnM T C D
S1 * * *
S2 * * *
S3 * * *
D * * *
Notes on operand usage: none
S1
: Selection of slave device.
S2
: Device selection (0: converter, 1: internal
PLC).
S3
: Read address.
D
: Saving target.
The ICOMR command can obtain the slave station's converter and the internal
PLC's register value.