Delta Electronics VFD037CH23A-21 — обзор функций PLC: Запись данных CANopen для устройств [568/638]

Превью страниц Страница 568 / 638
Delta Electronics VFD007CH23A-21 Руководство по эксплуатации онлайн [568/638] 460291
Chapter 16 PLC Function CH2000 Series
16-115
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
S2
S3
S4
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, S3: main index, S4: 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.

Содержание

1610

Изучите, как записывать данные CANopen для устройств с помощью команд PLC. Понимание индексов и обработки ответов от подчиненных устройств.