CANOM_SDO_WRITE

../_images/9826cf73e3899f510a33139000eba54e

The Function Block CANOM_SDO_WRITE can be used to write individual service data objects (SDOs) to a slave.

Parameter Value
Library_File_Name CANopen_AC500_V11.lib
Firmware V1.1
Type Type_Function_Block_History

The Function Block CANOM_SDO_WRITE can be used to write service data objects (SDOs) of a slave.

Every time a FALSE->TRUE edge is applied to input EN, CANOM_SDO_WRITE reads the data at its inputs and sends a corresponding request message to the Communication Module. Further FALSE->TRUE edges at input EN are ignored until the processing of the active requests is completed. The completion of the request processing is indicated by DONE = TRUE.

The CANopen® object model is defined in the communication profile and device profile specifications (see also System Technology of the CANopen® Communication Modules). Furthermore, the device-specific objects are explained in the corresponding device description of the slave.

Some SDOs have to be available in every CANopen® device by default. Normally, these standard objects are not accessed by the user program during running operation, even though this is possible in principle. Access is usually restricted to additional optional objects or their values. These additional slave attributes can be viewed in SYCON.net by selecting Device configuration / SDO table in the CANopen® Master (see also the documentation of the DTM fieldbus configurator for CANopen® devices). This view displays a list of predefined objects for the corresponding slave gathered from the EDS file, and an overview of those standard objects that are automatically written by the master during the startup sequence of the node. Each entry includes the running object index, the sub index, a description of the parameter, the parameter’s default value and its actual value as well as the permitted access methods (read/write). This information can be used to select the desired OBJ_IDX and SUB_IDX when using a Function Block of the type CANOM_SDO_WRITE.