Using the remote i/o link using the rs–232 ports – Rockwell Automation 5370 Color CVIM Communications Manual User Manual
Page 4

Color CVIM Module
Communications Manual
Table of Contents
ii
Chapter 4
(continued)
Color CVIM Module Configuration Instructions
4–7
. . . . . . . . . . . . . . . . .
Accessing Discrete Bit Information
4–8
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Note to PLC–2 Users:
4–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for Accessing/Setting Discrete Bit Data
4–12
. . . . . . . . .
Example Program For Accessing/Setting Discrete Bit Data (cont’d)
4–13
. .
Example Program For Accessing/Setting Discrete Bit Data (Cont’d)
4–14
.
Accessing Results and Configuration Information
4–15
. . . . . . . . . . . . . . . .
Transferring Results Blocks
4–15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring Results Block 6 and Statistics Block Formats
4–17
. . . . . . . . .
Converting Results Data
4–18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transferring Configuration Blocks
4–20
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for Accessing Results Data
4–21
. . . . . . . . . . . . . . . . . . .
Example Program for Accessing Results Data, Cont’d
4–22
. . . . . . . . . . . . .
Example Program for Accessing Results Data, Cont’d
4–23
. . . . . . . . . . . . .
Example Program For Accessing Configuration Data
4–24
. . . . . . . . . . . . .
Example 6008–SI Program
4–27
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example 6008–SI Program (cont’d)
4–28
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5
Chapter Objectives
5–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RS–232 Communications
5–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII and DF1 Protocols
5–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Equipment Connections
5–3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Functions can be performed over the RS–232 Interfaces?
5–4
. . . . .
Color CVIM Module Configuration Instructions
5–5
. . . . . . . . . . . . . . . . .
ASCII Protocol
5–6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview
5–6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII Character Set
5–7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Structure
5–7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
XON/OFF Flow Control
5–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Deactivate Forces
5–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Echoing Data
5–9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enable/Disable Outputs
5–9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Forcing Local I/O
5–10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading Configurations
5–11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lock Command
5–12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unlock Command
5–13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Output Status
5–13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Configuration Blocks
5–14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Inspection Results
5–16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Save Configuration
5–19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select Image Displayed
5–21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Configurable Results
5–22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Remote I/O Link
Using the RS–232 Ports