beautypg.com

Trigger operation, Unlock command, Write configuration (w) write configuration (wc) – Rockwell Automation 5370 CVIM Communications Manual User Manual

Page 89

background image

Chapter 5

Using the RS-232 Ports

5–19

Use the trigger operation command to initiate an inspection by the CVIM
module. Use the following commands:

>T, TS1[CR]

Triggers an inspection with toolset 1.

>T, TS2[CR]

Triggers an inspection with toolset 2.

This function can only be executed once per command.

Note: When using this command you should make sure that the CVIM
module is configured for a “hosted trigger source”.

After executing a 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 unlock command to enable the setup menu box so that a user can
access the SETUP mode using the light pen. Use the following command:

>U[CR]

This function can only be executed once per command. There is no object
associated with this command. After executing a 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 write command to write data to configuration memory (download
configuration). Use the following commands:

>W,CBn[CR] d

or

>WC,CBn[CR] d

Where n =

1 to 136

(individual blocks)

X – Y

(range of blocks X through Y)

*

(all of the blocks)

d = the data that is being written. The format of the data is in an ASCII
representation of the specified block(s) in bytes. Each byte is represented by
two hexadecimal characters (00 through FF) followed by a space.

Note: The WC write command functions like the W write command but
allows listing of configuration blocks.

Trigger Operation

Unlock Command

Write Configuration (W)
Write Configuration (WC)