5 - using the rs-232 ports, Chapter objectives, Rs–232 communications – Rockwell Automation 5370 Color CVIM Communications Manual User Manual
Page 69: Using the rs–232 ports

5
Chapter
5–1
Using the RS–232 Ports
In this chapter we describe how to:
•
Connect RS–232 device(s) to the Color CVIM module.
•
Obtain results data using ASCII or DF1 protocols.
•
Upload and download configurations.
In addition, this chapter provides example programs.
Using the RS–232 interface you can link a variety of devices to the Color
CVIM module:
•
Computers
•
Operator Interfaces such as Allen–Bradley Industrial Computers and
Terminals with serial ports.
•
I/O modules such as the Flexible Interface Module (Catalog No.
2760–RB) or ASCII module (Catalog No. 1771–DA).
All commands are simple ASCII and/or Hexadecimal strings. Refer to
Appendix E for an ASCII conversion chart. These commands can be
generated using a variety of programming languages (C, Fortran, BASIC).
This chapter provides a sample ASCII program (written in BASIC) and a
sample DF1 program (written in C).
Chapter Objectives
RS–232 Communications