107
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmCANopenManager.library
>
10.2.3
COP_SDOwrite
17128
Function block type:
Function block (FB)
Behaviour model:
EXECUTE
Library:
ifmCANopenManager.library
Symbol in CODESYS:
>
Description
19833
The FB writes the contents of a Service Data Object (SDO). The SDO is selected via the CAN
interface, the ID of the CANopen node, as well as index and subindex of the object directory.
>
Input parameters
7011
Parameters
Data type Description
Possible values
xExecute
BOOL
Control execution of the FB
FALSE
TRUE
FB is executed once
Other
No impact on FB processing
eChannel
CAN_
CHANNEL
Identifier of the CAN Interface
→
CAN_CHANNEL (ENUM)
(
→ p.
usiNode
USINT
ID of the CANopen node
0
Local device
1 ... 127
ID of the CANopen node
uiIndex
UINT
Index in the object directory
usiSubIndex
USINT
Subindex of the index in the object directory
pData
Pointer to
USINT
Pointer on buffer storage
udiLen
UDINT
Number of received bytes
tTimeout
TIME
Max. response time
E.g.
T#25ms