Rockwell Automation Current Input Module User Manual

Page 33

Advertising
background image

4Ć15

Use the following procedure to configure a channel:
Step 1.

Set bits 12 to 15 of register 31 equal to zero. This resets

bit 15 of register 22 and places the module in the READY

state. When the READY state is enabled, the module is

ready to process a configuration command. Monitor bit 15

until it is equal to zero before continuing with Step 2.

Step 2.

Select the channel to be configured by placing the

appropriate number in the Channel Number Register

(Register 23). This value is a 15Ćbit signed integer. See

section 4.1.9 for more information.

Step 3.

Define the channel's Maximum Scaling Value by placing

the desired value in the Maximum Scaling Value Register

(Register 24). This value is a 15Ćbit signed integer. See

section 4.1.10 for more information.

Step 4.

Define the channel's Minimum Scaling Value by placing

the desired value in the Minimum Scaling Value Register

(Register 25). This value is a 15Ćbit signed integer. See

section 4.1.11 for more information.

Step 5.

Define the number of input data samples that are to be

averaged together for the input running average value.

Place the desired number in the Number of Samples

Register (Register 26). This value is a 15Ćbit signed integer.

See section 4.1.12 for more information.

Step 6.

Define the channel's High High alarm limit by placing the

desired value in the High High Alarm Register (Register

27). This alarm value is a 15Ćbit signed integer. See section

4.1.13 for more information.

Step 7.

Define the channel's High alarm limit by placing the

desired value in the High Alarm Register (Register 28).

This alarm value is a 15Ćbit signed integer. See section

4.1.14 for more information.

Step 8.

Define the channel's Low alarm limit by placing the

desired value in the Low Alarm Register (Register 29). This

alarm value is a 15Ćbit signed integer. See section 4.1.15

for more information.

Step 9.

Define the channel's Low Low alarm limit by placing the

desired value in the Low Low Alarm Register (Register 30).

This alarm value is a 15Ćbit signed integer. See section

4.1.16 for more information.

Step 10. Enter the required information in the Configuration

Command Register (Register 31). See section 4.1.17 for

more information. Set the Configuration Command Code

(bits 12 to 15) equal to three. This code transfers (writes)

the channel's parameters into memory.

Step 11. When the module finishes processing the write

configuration operation, it will set bit 15 of register 22

equal to one. Monitor bit 15 until it is set to one.

Step 12. Monitor bit 14 of register 22. If this bit is equal to zero the

module is ready to configure another channel. To

configure another channel repeat the procedure

beginning with step 1. If bit 14 is equal to one, check the

error code in register 22.

Advertising