beautypg.com

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

Page 93

background image

Chapter 5
Using the RS–232 Ports

5–25

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

>T, [CR]

Triggers an inspection.

This function can only be executed once per command.

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

After executing a command, the Color CVIM module will return: [CR][LF].
No data is returned. If you do not have the proper command structure, the
Color 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 213

(individual blocks)

X – Y

(range of blocks X through Y)

1–213

(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

Write Configuration (W)
Write Configuration (WC)