Functions - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Memory Area Functions

5-1-2 Functions

IR Area
Work Bits
SR Area
TR Area
The functions of the IR area are explained below.
With CPM1, CPM1A, CPM2A, and CPM2C PCs, IR area bits from IR 00000 to
IR 01915 are allocated to terminals on the CPU Unit and Expansion I/O Units.
With the SRM1(-V2), IR area bits from IR 00000 to IR 00715 and IR 01000 to IR
01715 are allocated to CompoBus/S Slaves. They reflect the ON/OFF status of
input and output signals. Input bits begin at IR 00000, and output bits begin at
IR 01000.
IR words that are not allocated to inputs or outputs can be used as work words. In
addition, unused bits in IR words allocated to outputs can be used as work bits.
The work bits can be used freely within the program. They can only be used with-
in the program, however, and not for direct external I/O.
Note
1. The input bits shown in the following tables can operate as normal inputs or
they can be assigned special functions in the PC Setup.
Special functions for input bits IR 00000 through IR 00002 are set in
DM 6642:
Bit
address
dd
Used as normal
IR 00000
inputs
inputs.
IR 00001
IR 00002
Special functions for input bits IR 00003 through IR 00006 are set in
DM 6628:
Bit
Bits in
address
dd
DM 6628
DM 6628
IR 00003
00 to 03
IR 00004
04 to 07
IR 00005* 08 to 11
IR 00006* 12 to 15
Note *Input 00006 does not exist and input 00005 must be used as a nor-
mal input in CPM2C CPU Units with 10 I/O points.
2. Output bits IR 01000 and IR 01001 can operate as normal inputs or they can
be used for pulse outputs with PULS(65), SYNC(––), or PWM(––). (Use a
CPU Unit with transistor outputs for the pulse output functions.)
Instruction
PULS(65)
SYNC(––)
PWM(––)
These bits mainly serve as flags to PC operation or contain present and set val-
ues for various functions. For details on the various bit functions, refer to relevant
sections in this manual or to Appendix C Memory Areas.
Some SR area words can be used as work words when they are not used for
their assigned purpose.
When a complex ladder diagram cannot be programmed in mnemonic code just
as it is, these bits are used to temporarily store ON/OFF execution conditions at
PC Setup setting (DM 6642 bits 08 to15)
00
01
Used as high-speed
counter inputs
counter inputs.
PC Setup setting (in DM 6628)
0
Used as normal
inputs.
i
With SPED(64):
Single-phase pulse output without acceleration or deceleration
With ACC(––):
Single-phase pulse output with trapezoidal acceleration and
deceleration
Synchronized pulse control output
Variable duty-ratio pulse output
Section
02, 03, or 04
Used as inputs for
synchronized pulse
synchronized pulse
control.
Used as a normal input.
1
Used as
Used as
interrupt inputs
i
i
quick-response
i k
(including
(including
inputs.
inputs
counter mode).
counter mode).
Function
5-1
2
311

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents