xi
About this Manual:
This manual describes programming of the CQM1, CPM1, CPM1A, and SRM1 Programmable Con-
trollers, including memory structure, memory contents, ladder-diagram instructions, etc., and includes
the sections described below. Refer to the CQM1 Operation Manual, CPM1 Operation Manual,
CPM1A Operation Manual, and SRM1 Master Control Units Operation Manual for hardware informa-
tion and Programming Console operating procedures. Refer to the SSS Operation Manual: C-series
PCs for SSS operating procedures.
Note The SRM1 is a specialized programmable controller and is normally called a CompoBus/S
Master Control Unit. The SRM1, however, is programmed in the same way as the other Pro-
grammable Controllers and it is treated and referred to as a PC in this manual.
Please read this manual carefully and be sure you understand the information provided before
attempting to program and operate the CQM1, CPM1, CPM1A or SRM1.
Section 1 explains the PC Setup and related PC functions, including interrupt processing and commu-
nications. The PC Setup can be used to control the operating parameters of the PC.
Section 2 provides an introduction to new PC features, including the new instructions available
through expansion instructions and a new monitoring feature call differential monitoring.
Section 3 describes the structure of the PC’s memory areas, and explains how to use them. It also
describes Memory Cassette operations used to transfer data between the CQM1 and a Memory Cas-
sette.
Section 4 explains the basic steps and concepts involved in writing a basic ladder diagram program. It
introduces the instructions that are used to build the basic structure of the ladder diagram and control
its execution.
Section 5 individually describes the ladder-diagram programming instructions that can be used with
the PC.
Section 6 explains the methods and procedures for using host link commands, which can be used for
host link communications via the PC ports.
Section 7 explains the internal processing of the PCs, and the time required for processing and execu-
tion. Refer to this section to gain an understanding of the precise timing of PC operation.
Section 8 describes how to diagnose and correct the hardware and software errors that can occur dur-
ing PC operation.
The following appendices are also provided: A Programming Instructions, B Error and Arithmetic
Flag Operation, C Memory Areas, D Using the Clock Function, E I/O Assignment Sheet,
F Program Coding Sheet, G List of FAL Numbers, H Extended ASCII, and I CPM1A and CPM1
Memory Area Comparison.
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section
in its entirety and be sure you understand the information provided in the section and
related sections before attempting any of the procedures or operations given.