Manual

Table Of Contents
Interface Functions 44
Doc.Id. HMSI-216-117
CM CANopen Module for SIMATIC S7-1200
Doc.Rev. 1.00
8.1.2 Set Process Data Out
Input Parameters
Output Parameters
Description
To write the process data to the CANopen network from the S7-1200 CPU, use the WRREC function
block, and issue an request to record number 0091h. All data will be written as process data on the CAN
-
open network. The position of the data depends on the CANopen network configuration.
Name Data type Description
REQ Bool Starts the function. Has to be set to TRUE for one scan cycle.
ID HW_IO Hardware address of the CANopen module. Can be read in
TIA Portal.
INDEX Byte, Dint, Int, Sint, Uint, Usint, Word Data record number. Should be set to 0091h.
LEN Byte, Usint, Usint Length in bytes of the data to be written.
RECORD variant Source area for the data to be written.
Name Data type Description
BUSY Bool The writing process is not yet complete, if this parameter is set to TRUE.
DONE Bool If set to TRUE, data was transferred to the module.
ERROR Bool If TRUE, an error occurred during the writing process.
STATUS Dword
Block status or error information.
a
The user has to ensure that the data area is able to hold all data as defined in the param-
eterization.
a. For information, see the TIA Information System in TIA Portal.