EasyManua.ls Logo

IFM Electronic CR0451 - Canopen_Sdowrite

IFM Electronic CR0451
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
180
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN POUs to CANopen
CANOPEN_SDOWRITE
7825
= SDO Write
Unit type = function block (FB)
Contained in the library: ifm_CANopen_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
CANOPEN_SDOWRITE
EXECUTE
RESULT
CHANNEL
NODE
IDX
SUBIDX
LEN
DATA
Timeout
Description
7826
CANOPEN_SDOWRITE is an easy function block for editing "Expedited SDOs", i.e. SDOs with max.
4 bytes user data. This type usually represents the bigger part of the SDO communication.
INFO: Expedited SDO = expedited service data object
A considerable amount of memory space can be saved due to the limitation of the data volume to
max. 4 bytes of user data because this FB only needs to reserve 4 bytes as buffer storage and does
not create a large data array itself.
Parameters of the inputs
7828
Parameter Data type Description
EXECUTE BOOL
FALSETRUE (edge):
POU is executed once
otherwise: POU not active
A POU already started is processed.
CHANNEL BYTE CAN interface (1...n) depending on the device
NODE BYTE ID of the node
permissible values = 0...127
IDX WORD index in object directory
SUBIDX BYTE subindex in the object directory
LEN BYTE number of the data bytes to be transmitted (max. 255 bytes)
DATA ARRAY [0...3] OF BYTE data area (1...4 bytes)
Timeout
(optional use of the parameter)
TIME waiting time of the FB for the response
when the time has elapsed, the FB stops waiting.
value = 0:
use value from the configuration
preset = 10 ms

Table of Contents