Lock command, Read output status – Rockwell Automation 5370 Color CVIM Communications Manual User Manual

Page 110

Advertising
background image

Chapter 5
Using the RS–232 Ports

5–42

Use the lock command to disable the setup menu box so that the SETUP
mode cannot be entered. This function can only be executed once per
command. There is no object associated with this command. The command
has the following structure:

If the BCC is not valid, the Color CVIM module will respond with a DLE
NAK and the command will not be executed.

If the BCC is valid, the Color CVIM module will respond with a DLE ACK.
Then the Color CVIM module will validate the command structure. If the
command is valid, the Color CVIM module will execute the command. If the
command structure is invalid, the Color CVIM module will not execute the
command or respond.

Use the read command to read the status of the 14 discrete outputs on the
local I/O board The command has the following structure:

This function can be executed more than once per command by specifying an
n times value.

The flags specify outputs 1 through 14:

Set individual bits to select outputs 1
through 14

For Example:

Lock Command

Read Output Status

Advertising