Rockwell Automation Current Input Module User Manual
Page 39

4Ć21
The sample program uses the following memory locations:
Bit 00.00
= Bit to be set by the user when achannel is to be
configured.
Bit 1700.00
= Bit used to detect the rising edge of Bit 00.00.
Register 10 = Register contains the coils corresponding to the
status of the current input High High alarms
Register 11 = Register contains the coils corresponding to the
status of the current input High alarms
Register 12 = Register contains the coils corresponding to the
status of the current input Low alarms
Register 13 = Register contains the coils corresponding to the
status of the current input Low Low alarms
Register 1600 = Internal coils
Register 1601 = Internal coils
Register 1610 = The register's bits are used to indicate the current
state of operation.
Bit .00 represents state 0 which writes the READY
command to the Current Input module and then
reads the module's configuration status. If the
complete bit of the configuration status register is
equal to zero, advance to state 1.
Bit .01 represents state 1 which reads channel
configuration data from the AutoMate's memory
and writes it out to the Current Input module.
State 1 then reads the Current Input module's
configuration status. If the configuration is
complete and there are no errors, go to state 2.
Bit .02 represents state 2. This state directs the
program to continue with the configuration of the
next channel (state 0), provided no errors have
been detected.
Bit .16 is set when an error is detected and the
configure operation is aborted.
Bit .17 is set when all three of the current input
channels have been configured.
Register 1611 = Register is loaded by the REMIN instruction which
contains the contents of the Configuration Status
Register (Register 22).
Register 3000 = Register contains the pointer to the data that is
to be written to the Current Input module.
Register 3001 = Register contains the current input channel
number that is being configured.
Register 3002 = Register contains the current input channel's
Maximum Scaling Value. This value is provided by
the data table in the 5000Ćseries registers.
Register 3003 = Register contains the current input channel's
Minimum Scaling Value. This value is provided by
the data table in the 5000Ćseries registers.
Register 3004 = Register contains the current input channel's
Number of Samples. This value is provided by the
data table in the 5000Ćseries registers.