beautypg.com

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

Page 103

background image

Chapter 5

Using the RS-232 Ports

5–33

You cannot use these commands when the CVIM module is in the SETUP
mode.

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

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

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 CVIM module will respond with a DLE NAK
and the command will not be executed.

If the BCC is valid, the CVIM module will respond with a DLE ACK. Then
the CVIM module will validate the command structure. If the command is
valid, the CVIM module will execute the command. If the command
structure is invalid, the 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

Lock Command

Read Output Status