Extends ⇘ CIA405.CIA405BASE.
Input:
NETWORK |
USINT |
see CIA405.CIA405BASE |
ENABLE |
BOOL |
see CIA405.CIA405BASE |
TIMEOUT |
UDINT |
see CIA405.CIA405BASE |
DEVICE |
CIA405.DEVICE |
Addressed device; 0 means local device range: 0 … 127 initial: 0 |
CHANNEL |
USINT |
SDO channel number range: 1 … 128 initial: 1 |
INDEX |
WORD |
Object index range: 0000 … FFFF initial: 0 |
SUBINDEX |
BYTE |
Object subindex range: 00 … FF initial: 0 |
Output:
CONFIRM |
BOOL |
see CIA405.CIA405BASE |
ERROR |
CIA405.CANOPEN_ KERNEL_ERROR |
see CIA405.CIA405BASE |
DATA |
ARRAY OF BYTE |
Object data range: 00 00 00 00 … FF FF FF FF initial: 0 0 0 0 |
DATALENGTH |
USINT |
Length of valid data in bytes range: 0 … 4 initial: 0 |
ERRORINFO |
CIA405.SDO_ERROR |
SDO Abort code range: 0 … 232-1 initial: 0 |
The figure above shows the timing diagram for CIA405.SDO_READ4. After all data is provided to the inputs, ENABLE is set to TRUE (1). The SDO will be received, and when the CANopen software reports success to the function block, output CONFIRM will be changed to TRUE (2). The caller will see this and change ENABLE to FALSE (3), which in turn will cause output CONFIRM to change to FALSE (4).