Delta Electronics VFD037CH23A-21 — чтение данных слейва CANopen с помощью PLC: руководство [567/638]

Превью страниц Страница 567 / 638
Delta Electronics VFD037CH23A-21 Руководство по эксплуатации онлайн [567/638] 460294
Chapter 16 PLC Function CH2000 Series
16-114
API
261
CANRX
P
S1 S2 S3
D
Read CANopen slave data
Bit Devices Word Devices
X Y M K H KnX KnY KnM T C D
S
1
S
2
S
3
D
Operand: none
16-bit command (7 STEPS)
FREQ
FREQP
32-bit command
Flag signal: M1028
Explanation
1. S
1
: Slave station number, S
2
: main index, S
3
: sub-index + bit length, D: save
address
2. Command CANRX can read the corresponding slave. Index. 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.
Example
M1002: touch once to activate PLC and change K4M400=K1. After the change,
different message will be displayed when M1066 is set to 1.

Содержание

1610

Узнайте, как использовать команду CANRX для чтения данных слейва CANopen с помощью PLC. Пошаговое руководство и примеры для эффективного выполнения операций.