C
M
M
OMPACT
ODUL
ETAL
8 Programming
8.1 General
The I/O module must be initialised as CANopen slave with the CANopen start
functions "COP_MSTR_BOOTUP" and "COP_MSTR_MAIN" by the R 360 master
and set to the state "OPERATIONAL" (LED "PWR"flashes, 2 Hz).
8.2 Programming function
If the function "CR2031" is integrated into the program, this automatically
ensures a continuous updating of the I/O data in the controller. The function
"CR2031" is in the library "CR2031_x.lib" of the programming software
CODESYS.
If no configuration data are transferred to the I/O module, the device operates
with the default values set at the factory.
Before commissioning change the node ID of the I/O module set at the factory, if
necessary. Check whether the baud rate of the master and that of the module
are identical or set accordingly (also see notes on hex-code switch, page 43).
Default values: baud rate = 0x04 (= 125 Kbits/s)
node ID = 0x20 (= 0d32)
Screen shot of the CODESYS programming platform
52
CR2031
switch position S1
switch position S2, S3 =
= „F"