105
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
Library ifmCANopenManager.library
>
10.2.2
COP_SDOread
18448
Function block type:
Function block (FB)
Behaviour model:
EXECUTE
Library:
ifmCANopenManager.library
Symbol in CODESYS:
>
Description
7144
The FB reads the contents of a Service Data Object (SDO) and writes them into a buffer storage. The
SDO is selected via the CAN interface, the ID of the CANopen node, as well as index and subindex of
the object directory.
The CANopen node has to reply to the request of the FB within a period of time defined by the user.
>
Input parameters
19832
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
udiBuffLen
UDINT
Size of the buffer storage (in byte)
tTimeout
TIME
Max. response time
E.g.
T#25ms