Forcing local i/o – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 78

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–10

Use the force command to turn the local I/O outputs either on or off. This
function can only be executed once per command. Use one of the following
commands:

> F,On,1 [CR]

Forces output(s) on.

> F,On,0 [CR]

Forces output(s) off.

Where n is the output being forced on or off, outputs 1 through 14.

n = 1 to 14

(individual outputs, can be nonconsecutive)

X – Y

(range of outputs X through Y)

*

(all of the outputs)

For example:

> F,O*,1 [CR]

This example will force all outputs on.

Another example:

> F,O3–9,0 [CR]

This example forces outputs 3 through 9 off.

For example:

> F,O4–6,1 [CR]

Forces outputs 4–6 on.

> F,O8,1 [CR]

Forces output 8 on.

>F,O1–4,0 [CR]

Forces ouputs 1–4 off.

Notice that output #4 was forced on and then forced off. The force off takes
precedence over the force on.

After executing a command, the Color CVIM module will return: [CR][LF].
If you do not have the proper command structure the Color CVIM module
will return: ?[CR][LF]. The outputs will remain in their forced states until a
Deactivate Forces command is sent.

Forcing Local I/O

Advertising