Chapter 14 PLC Function
|
C200 Series
14-66
API
264
CANTX
P
S1
S2
S3
S4
Write CANopen slave data
Bit Devices
Word Devices
X Y M K H KnX
KnY KnM T
C
D
S
1
*
*
S
2
*
*
*
*
*
S
3
*
*
S
4
*
*
Operands: None
16-bit command (7 STEPS)
FREQ
FREQP
32-bit command
-
-
-
-
Flag signal: M1028
Explanation
1.
S
1
: slave station number,
S
2
: the address to write,
S
3
: main index,
S
4
: sub-index+
bit length.
2. Command CANTX can read the corresponding index of the slave. When
executing this command, it will send SDO message to the slave. At this time,
M1066 and M1067 are 0 but when reading is complete M1066 will set to 1. If the
slave replied an accurate response, the value will be written to the designated
register and M1067 is now set to 1. However, if the slave replied an inaccurate
response, this error message will be recorded in D1076~D1079.
API
265
CANFLS
P
D
Update the mapping special D of CANopen
Bit Devices
Word Devices
X Y M K H KnX
KnY KnM T
C
D
D
*
*
Operands: None
16-bit command (7 STEPS)
FREQ
FREQP
32-bit command
-
-
-
-
Flag signal: M1028
Explanation
1.
D
: the special D for update.
2. CANFLS can update the Special D command. When it executes in read only
mode, it sends equivalent message as CANRX to the slave and saves the slave
response to this particular Special D. When it executes in read/write mode, it
sends equivalent message as CANTX to the slave and saves this special D
value to the corresponding slave.
3. M1066 and M1067 are both 0. When reading is complete, M1066 will be 1 and
this value will write to the designated register if the slave replies an accurate
response. When slave replies a fault response then M1067 will be 0 and this
error message will be recorded to D1076~D1079.
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com