Rockwell Automation 440C Guardmaster 440C-CR30 Configurable Safety Relay User Manual User Manual

Page 101

Advertising
background image

Rockwell Automation Publication 440C-UM001C-EN-P - November 2014

101

Modbus Communication

Chapter 14

You should configure a second set of local variables. In this example, they are
labeled ResetCfg, ResetTrgt, and ResetAddr.

ResetCfg must be configured as a MODBUSLOCPARA data type.
ResetTrgt must be configured as a MODBUSTARPARA data type.
ResetAddr must be configured as a MODBUSLOCADDR data type.

ResetTrgt.Addr - Enter a value of 1, which is Modbus mapping of
the CR30.

ResetTrgt.Node - Enter a value of 1. The CR30 is fixed at Node 1.

ResetCfg.Channel - Select the serial port location. Enter a 2 if the
embedded serial port is used. Enter a 5 to use the serial port in the fist plug-
in slot.

ResetCfg.TriggerType - Enter a 1 to have the block execute every time that
the ladder is scanned

LocalCfg.Cmd - Enter a 5 to instruct the block to write to a 'coil' (that is,
turn on an input of the CR30).

ResetCfg.ElementCnt - Enter a 1 to write only 1 bit.

ResetAddr - The results are placed in LocalAddr. There is no need to make
changes.

Figure 120 - Reset Local Variables

Advertising