Rockwell Automation 5370 CVIM Communications Manual User Manual
Page 4

CVIM Module
Communications Manual
Table of Contents
ii
Chapter 4
Chapter Objectives
4–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Remote I/O Communications
4–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Functions Can Be Performed Over the Remote I/O Network?
4–6
. .
Obtaining Inspection Result Information
4–7
. . . . . . . . . . . . . . . . . . . . . . .
CVIM Module Configuration Instructions
4–7
. . . . . . . . . . . . . . . . . . . . . .
Accessing Discrete Bit Information
4–8
. . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for Accessing/Setting Discrete Bit Data
4–11
. . . . . . .
Accessing Results and Configuration Information
4–14
. . . . . . . . . . . . . . . .
Transferring Results Blocks
4–15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring Results Block 4 and Statistics Block Formats
4–16
. . . . . . . . .
Converting Results Data
4–17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transferring Configuration Blocks
4–19
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transferring Template Blocks
4–20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Program for Accessing Results Data
4–21
. . . . . . . . . . . . . . . . . . .
Example Program for Accessing Configuration Data
4–25
. . . . . . . . . . . . . .
Example 6008-SI Program
4–29
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5
Chapter Objectives
5–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RS–232 Communications
5–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII and DF1 Protocols
5–1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Equipment Connections
5–2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Functions Can Be Performed Over the RS–232 Interfaces?
5–3
. . . .
CVIM Module Configuration Instructions
5–4
. . . . . . . . . . . . . . . . . . . . . .
ASCII Protocol
5–5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview
5–5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII Character Set
5–5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Structure
5–6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
XON/XOFF Flow Control
5–7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Deactivated Forces
5–7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Echoing Data
5–7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enable/Disable Outputs
5–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Forcing Local I/O
5–8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading Configurations
5–9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lock Command
5–9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Output Status
5–10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Configuration Blocks
5–10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read Inspection Results
5–12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Save Configuration
5–14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Select Image Displayed
5–15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set Configurable Results
5–16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set/Read Configurable Statistics
5–17
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Remote I/O Link
(Node Adapter)
Using the RS–232 Ports