beautypg.com

Enable/disable outputs, Forcing local i/o – Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 78

background image

Chapter 5

Using the RS–232 Ports

5–8

of 1 is assumed.

d

is the data that is to be echoed. The command is valid at

any time.

For example:

>E2,HELLO [CR]

This example will cause the CVIM module to return the string:

[CR] [LF]
HELLO [CR] [LF]
HELLO [CR] [LF]

If you do not have the proper command structure the CVIM module will
return:

?[CR] [LF]

Use this command to enable or disable outputs on the Local I/O Board
(Catalog No. 1771–JMB). Use the following commands:

> EO [CR]

This command enables the outputs.

> DO [CR]

This command disables the outputs.

After executing the command, the CVIM module will return: [CR] [LF]. No
data is returned. If you do not have the proper command structure, the CVIM
module will return: ?[CR][LF].

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 non-consecutive)

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.

Echoing Data (cont’d)

Enable/Disable Outputs

Forcing Local I/O