Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 18 of 60

SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual: SECTION 3 Memory Areas, pages 153 to 161

Pages 153 to 161 of 520, from SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual

The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Omron CQM1-CPU21

Page 153

SECTION 3 Memory Areas This section describes the structure of the PC memory areas, and explains how to use them. It also describes the CQM1 Memory Cassette operations used to transfer data between the CQM1 CPU Unit and a Memory Cassette.

3-1

3-2

3-3

3-4 3-5

CQM1 Memory Area Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-1 Memory Area Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-2 IR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-3 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-4 TR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-5 HR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-6 AR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-7 LR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-8 Timer/Counter Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-9 DM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-10 UM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPM1/CPM1A Memory Area Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-1 Memory Area Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-2 IR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-3 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-4 TR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-5 HR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-6 AR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-7 LR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-8 Timer/Counter Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2-9 DM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SRM1 Memory Area Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-1 Memory Area Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-2 IR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-3 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-4 TR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-5 HR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-6 AR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-7 LR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-8 Timer/Counter Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-9 DM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SRM1 Flash Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using Memory Cassettes (CQM1 Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5-1 Memory Cassettes and Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5-2 Memory Cassette Capacity and UM Area Size . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5-3 Writing to the Memory Cassette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5-4 Reading from the Memory Cassette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5-5 Comparing Memory Cassette Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

134 134 135 137 137 137 138 138 138 139 139 139 139 140 141 142 142 142 142 142 142 143 143 144 144 144 145 145 145 145 145 145 146 146 147 148 148 149

133

Page 154

Section

Using Memory Cassettes (CQM1 Only)

3-1

3-5

CQM1 Memory Area Functions

3-1-1 Memory Area Structure The following memory areas can be used with the CQM1. Data area IR area1 Input area

Size 128, or 256 bits

Output area

MACRO operand area1

Words

Bits

IR 000 to IR 015

IR 00000 to IR 01515

IR 100 to IR 115

IR 10000 to IR 11515

IR 01600 to IR 09515 IR 11600 to IR 19515 IR 21600 to IR 21915 IR 22400 to IR 22915 IR 09600 to IR 09915

Work areas

2,720 bits min.2

Input area

64 bits

IR 016 to IR 095 IR 116 to IR 195 IR 216 to IR 219 IR 224 to IR 229 IR 096 to IR 099

Output area

64 bits

IR 196 to IR 199

IR 19600 to IR 19915

64 bits

IR 220 to IR 223

IR 22000 to IR 22315

Analog SV area1

Function CQM1-CPU11/21-E: Up to 8 words (128 bits) can be used for I/O bits. Up to 7 Units can be connected. Up to 16 words (256 bits) can be used for I/O bits. Up to 11 Units can be connected. Work bits do not have any specific function, and they can be freely used within the program.

Used when the MACRO instruction, MCRO(99), is used. When the MACRO instruction is not used, these bits may be used as work bits. CQM1-CPU42-EV1: Used to store the analog set values. (Cannot be used as work bits.) Can be used as work bits in other CPU Units.

High-speed Counter 0 PV1 Port 1 and 2 Pulse Output PVs1

32 bits

IR 230 to IR 231

IR 23000 to IR 23115

64 bits

IR 236 to IR 239

IR 23600 to IR 23915

Used to store the present values of highspeed counter 0. CQM1-CPU43-EV1: Used to store the present values of pulse outputs for ports 1 and 2. (Cannot be used as work bits.) CQM1-CPU44-EV1: Used by the system. (Cannot be used as work bits.)

High-speed Counter 1 and 2 PVs1

64 bits

IR 232 to IR 235

IR 23200 to IR 23515

Can be used as work bits in other CPU Units. CQM1-CPU43/44-EV1: Used to store the present values of highspeed counters 1 and 2 for ports 1 and 2. (Cannot be used as work bits.) Can be used as work bits in other CPU Units.

Expansion Areas1 SR area

320 bits 184 bits

IR 200 to IR 215 IR 240 to IR 243 SR 244 to SR 255

IR 20000 to IR 21515 IR 24000 to IR 24315 SR 24400 to SR 25507

These bits are expected to be used in planned function expansion. These bits serve specific functions such as flags and control bits. Can be used as work bits.

TR area

8 bits

---

TR 0 to TR 7

HR area

1,600 bits 448 bits 1,024 bits 512 bits

HR 00 to HR 99

HR 0000 to HR 9915

AR 00 to AR 27

AR 0000 to AR 2715

LR 00 to LR 63

LR 0000 to LR 6315

AR area LR area1 Timer/Counter area3

134

TC 000 to TC 511 (timer/counter numbers)

These bits are used to temporarily store ON/OFF status at program branches. These bits store data and retain their ON/ OFF status when power is turned off. These bits serve specific functions such as flags and control bits. Used for 1:1 data link through the RS-232 port. The same numbers are used for both timers and counters. TC 000 to TC 002 are used for interval timers.

Page 155

Section

Using Memory Cassettes (CQM1 Only) Data area DM area Read/write

Size

Words

1,024 words

DM 0000 to DM 1023

---

DM area data can be accessed in word units only. Word values are retained when the power is turned off.

5,120 words

DM 1024 to DM 6143

---

Available in CPU Units only.4

425 words Error history 31 area5 words 5 PC Setup 56 words User program area 3,200 (UM area) or 7,200 words

DM 6144 to DM 6568 DM 6569 to DM 6599 DM 6600 to DM 6655 ---

---

Cannot be overwritten from program.

---

Used to store the time of occurrence and error code of errors that occur. Used to store various parameters that control PC operation. Used to store the program. Retained when the power is turned off.

Read-only5

Note

Bits

3-5

---

Function

CQM1-CPU11/21-E: 3,200 words 7,200 words

1. IR and LR bits that are not used for their allocated functions can be used as work bits. 2. At least 2,720 bits can be used as work bits. The total number of bits that can be used depends on the configuration of the PC system. 3. When accessing a PV, TC numbers are used as word data; when accessing Completion Flags, they are used as bit data. 4. Although the CQM1-CPU11-E and CQM1-CPU21-E do not support DM 1024 through DM 6143, an error will not occur if they are addressed. Any attempt to write to these words will have no effect and any reads will produce all zeros. 5. Data in DM 6144 to DM 6655 cannot be overwritten from the program.

3-1-2 IR Area The functions of the IR area are explained below. Input and Output Area

IR area bits are allocated to terminals on Input Units and Output Units. They reflect the ON/OFF status of input and output signals. Input bits begin at IR 00000, and output bits begin at IR 10000. With the CQM1, only IR 00000 through IR 01515 can be used as input bits and only IR 10000 through IR 11515 can be used as output bits. For information on allocating input and output bits, refer to page 139. Note Input bits cannot be used in output instructions. Do not use the same output bit in more than one OUT and/or OUT NOT instruction, or the program will not execute properly.

Work Areas

With the CQM1-CPU11/21-E and CQM1-CPU41-EV1 CPU Units, any of the bits between IR 001 and IR 243 not used for specific functions can be used as work bits. There are a few exceptions with the CQM1-CPU42/43/44-EV1 CPU Units, as shown in the following table. CPU Unit

Bits Unavailable as Work Bits

CQM1-CPU42-EV1

IR 22000 to IR 22315

CQM1-CPU43/44-EV1

IR 23200 to IR 23915

The work bits can be used freely within the program. They can only be used within the program, however, and not for direct external I/O. Work bits are reset (i.e., turned OFF) when the CQM1 power supply is turned off or when operation begins or stops.

135

Page 156

Section

Using Memory Cassettes (CQM1 Only)

3-5

The bits in the ranges shown below have specific functions, but can still be used as work bits when their specific functions are not being used. Range

Function

IR 001 to IR 015

When allocated to Input Units, these bits serve as input bits.

IR 096 to IR 099

When the MACRO instruction is used, these bits serve as operand input bits. When allocated to Output Units, these bits serve as output bits.

IR 100 to IR 115 IR 196 to IR 199 IR 220 to IR 223 IR 230 to IR 231 IR 232 to IR 235

IR 236 to IR 239

When the MACRO instruction is used, these bits serve as operand output bits. In the CQM1-CPU42-EV1, these bits serve to store the analog SV. They can be used as work bits in other CPU Units. When high-speed counter 0 is used, these bits are used to store its present value. In the CQM1-CPU43/44-EV1, these bits are used to store the present values for high-speed counters 1 and 2. They can be used as work bits in other CPU Units. In the CQM1-CPU43-EV1, these bits are used to store the present values for pulse outputs from ports 1 and 2. In the CQM1-CPU44-EV1, they are used by the system. They can be used as work bits in other CPU Units.

IR 200 to IR 215 and IR 240 to IR 243 will be used in future functions, but they can be used as work bits for the time being. LR 00 to LR 63 are used as link bits, but they can also be used as work bits when not linked to another CQM1. I/O Bit Allocation

I/O words are allocated in order from the left, beginning with IR 001 for the Input Unit and IR100 for the Output Unit. The CPU Unit’s input points are allocated to IR 000. Even if the Input Unit and Output Unit are mounted at random the input words and output words are in separate portions of the IR area. One word is allocated even for 8-point I/O Units. Bit usage for 8-point I/O Units are shown in the following table. Unit

Bits 0 to 7

Bits 8 to 15

Input Unit

Input bits

Always OFF (0)

Output Unit

Output bits

Work bits

The number of I/O bits that can be allocated depends on the CQM1 CPU Unit being used, as shown in the following table. CPU Unit model

Number of I/O bits

CQM1-CPU11/21-E

Up to 128 bits (8 words) can be used for I/O bits.

Up to 265 bits (16 words) can be used for I/O bits.

As many as 256 I/O bits (16 words) can be allocated for the CQM1. A 16-point I/O Unit is allocated two words and must be counted as 16 points in calculating the total. Note The SYSMAC-CPT will display or print only 12 I/O words in the I/O table display for the CQM1, i.e., IR 000 to IR 011. IR 012 to IR 015 will not be displayed for the CPU Unit’s I/O table, even though it has an I/O capacity of 256 pts (16 words). You will be able to input IR 012 to IR 015 for the CPU Unit and the program will execute correctly for these bits, but “I” and “Q” will not be displayed to indicate input and output words/bits.

136

Page 157

Section

Using Memory Cassettes (CQM1 Only)

3-5

Word Allocation Example

PS

CPU

I O O I I N U U N N T T 16 8 16 16 16

O U T 8

O U T 8

PS: Power Supply Unit CPU: CPU Unit IN: Input Unit OUT: Output Unit

Cannot be used. Work bits 15 8 7 0 IR 000 IR 001 IR 002

15 8 7 0

IR 100 IR 101 IR 102 IR 103

All bits in words beyond the last input word and output word allocated can be used as work bits. In order to make the word allocation easier to understand, and to help eliminate problems with noise, it is recommended that all Input Units be mounted directly following the CPU Unit. For the above example, the arrangement would be as shown below.

PS

CPU

I I O O I N N U U N T T 16 8 16 16 16

O U T 8

O U T 8

PS: Power Supply Unit CPU: CPU Unit IN: Input Unit OUT: Output Unit

The number of allocated input words is stored in BCD in AR 2200 to AR 2207; the number of allocated output words in BCD in AR 2208 to AR 2215. The CQM1 PCs do not use an I/O table. Note Up to 11 I/O Units can be mounted, regardless of the CPU Unit.

3-1-3 SR Area These bits mainly serve as flags related to CQM1 operation. For details on the various bit functions, refer to relevant sections in this manual or to Appendix C Memory Areas. SR 244 to SR 247 can also be used as work bits, when input interrupts are not used in Counter Mode.

3-1-4 TR Area 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 program branches. They are used only for mnemonic code. When programming directly with ladder diagrams using the Ladder Support Software (LSS) or the SYSMAC Support Software (SSS), TR bits are automatically processed for you. The same TR bits cannot be used more than once within the same instruction block, but can be used again in different instruction blocks. The ON/OFF status of TR bits cannot be monitored from a Peripheral Device. Examples showing the use of TR bits in programming are provided on page 169.

3-1-5 HR Area These bits retain their ON/OFF status even after the CQM1 power supply has been turned off or when operation begins or stops. They are used in the same way as work bits.

137

Page 158

Section

Using Memory Cassettes (CQM1 Only) ! Caution

3-5

Never use an input bit in a NC condition on the reset (R) for KEEP(11) when the input device uses an AC power supply (see diagram below). The delay in shutting down the PC’s DC power supply relative to the AC power supply to the input device can cause the designate bit of KEEP(11) to be reset.

A Input Unit

AC

B

A

Set

KEEP HR0000

Reset

3-1-6 AR Area These bits mainly serve as flags related to CQM1 operation. For details on the various bit functions, refer to relevant sections in this manual or to Appendix C Memory Areas. With the exception of AR 23 (Power-off Counter), the status of AR words and bits is refreshed each cycle. (AR 23 is refreshed only for power interruptions.)

3-1-7 LR Area When the CQM1 is linked one to one with another CQM1, these bits are used to share data. For details, refer to page 100. LR bits can be used as work bits when not used for data links.

3-1-8 Timer/Counter Area This area is used to manage timers and counters created with TIM, TIMH(15), CNT, and CNTR(12). The same numbers are used for both timers and counters and each number can be used only once in the user program. Do not use the same TC number twice even for different instructions. TC number are used to create timers and counters, as well as to access Completion Flags and present values (PVs). If a TC number is designated for word data, it will access the present value (PV); if it is used for bit data, it access the Completion Flag for the timer/counter. The Completion Flag turns ON when the PV of the timer/counter that is being used goes to 0. Refer to instructions beginning on page 208 for details on timers and counters. Note

1. TC numbers 000 through 015 and interrupt processing should be used for TIMH(15) whenever the cycle time is longer than 10 ms. Using other timer/ counter numbers or not using interrupt processing will lead to inaccuracy in the high-speed timers. Interrupt processing can be set in DM 6629 of the PC Setup. 2. When the input condition turns OFF for TIM or TIMH(15), the PV is reset and returns to the set value. The PV is also reset at the beginning of program execution or when the interlock condition goes OFF in a interlocked program section (IL–ILC). The PV for CNT or CNTR(12) is not reset like one for the timer instruction, but rather is reset only when the reset input goes ON.

138

Page 159

Section

Using Memory Cassettes (CQM1 Only)

3-5

3-1-9 DM Area Data is accessed in word units. As shown below, the DM area contains both an area that can be freely used and areas with specific functions. DM0000 This area has no specific functions and can be used freely. Both reading and writing are possible from the program.

DM1024 (see note 1) DM6144 Fixed DM (see note 2)

This area cannot be written from the program. It is used for storing information that is not to be changed. Writing can be executed by means of peripheral devices only.

Error Log

This area stores the error log. The user can only read this area, and cannot write into it.

PC Setup

This area stores information related to CQM1 operation. The settings are made by means of peripheral devices.

DM6569 DM6600 DM6655

(see note 2)

Note

1. The CQM1-CPU11-E and CQM1-CPU21-E do not support DM 1024 through DM 6143. 2. Turning ON pin 1 of the DIP switch on the CPU Unit will prevent writing even by means of peripheral devices. Fixed DM contents, the PC Setup, the user program, and the instructions table can all be saved to and loaded from a Memory Cassette as a single unit. Refer to page 146 for details.

! Caution

Although the CQM1-CPU11-E and CQM1-CPU21-E do not support DM 1024 through DM 6143, an error will not occur if they are addressed. Any attempt to write to these words will have no effect and any reads will produce all zeros.

3-1-10 UM Area The UM area stores the user’s program. UM area contents can be read and written only as program data, and not as words. The following table shows the size of the UM area in the CQM1 CPU Units. CPU Unit Model

3-2

UM area size

CQM1-CPU11/21-E

3.2 KW

7.2 KW

CPM1/CPM1A Memory Area Functions

3-2-1 Memory Area Structure The following memory areas can be used with the CPM1/CPM1A. Data area IR area1 Input area Output area Work area SR area TR area HR area2

Words IR 000 to IR 009 (10 words) IR 010 to IR 019 (10 words) IR 200 to IR 231 (32 words) SR 232 to SR 255 (24 words) --HR 00 to HR 19 (20 words)

Bits IR 00000 to IR 00915 (160 bits) IR 01000 to IR 01915 (160 bits) IR 20000 to IR 23115 (512 bits) SR 23200 to SR 25515 (384 bits) TR 0 to TR 7 (8 bits) HR 0000 to HR 1915 (320 bits)

Function These bits can be allocated to the external I/O terminals.

Work bits can be freely used within the program. These bits serve specific functions such as flags and control bits. These bits are used to temporarily store ON/OFF status at program branches. These bits store data and retain their ON/ OFF status when power is turned off.

139

Page 160

Section

Using Memory Cassettes (CQM1 Only) Data area AR area2 LR area1 Timer/Counter area2 DM area Read/write2

Words

AR 00 to AR 15 AR 0000 to AR 1515 (16 words) (256 bits) LR 00 to LR 15 LR 0000 to LR 1515 (16 words) (256 bits) TC 000 to TC 127 (timer/counter numbers)3 DM 0000 to DM 0999 --DM 1022 to DM 1023 (1,002 words)

Error log

DM 1000 to DM 1021 --(22 words)

Read-only4

DM 6144 to DM 6599 --(456 words) DM 6600 to DM 6655 --(56 words)

PC Setup4

Bits

Note

3-5

Function These bits serve specific functions such as flags and control bits. Used for a 1:1 data link with another PC. The same numbers are used for both timers and counters. DM area data can be accessed in word units only. Word values are retained when the power is turned off. Used to store the time of occurrence and error code of errors that occur. These words can be used as ordinary read/write DM when the error log function isn’t being used. Cannot be overwritten from program. Used to store various parameters that control PC operation.

1. IR and LR bits that are not used for their allocated functions can be used as work bits. 2. The contents of the HR area, LR area, Counter area, and read/write DM area are backed up by a capacitor. The backup time varies with the ambient temperature, but at the capacitor will back up memory for 20 days. If the power supply is off longer than the backup time, memory contents will be cleared and AR1314 will turn ON. (This flag turns ON when data can no longer be retained by the built-in capacitor.) Refer to 2-1-2 Characteristics in the CPM1 and CPM1A Operation Manual for a graph showing the backup time vs. temperature. 3. When accessing a PV, TC numbers are used as word data; when accessing Completion Flags, they are used as bit data. 4. Data in DM 6144 to DM 6655 cannot be overwritten from the program, but they can be changed from a Peripheral Device.

3-2-2 IR Area The functions of the IR area are explained below. I/O Bits

140

IR area bits from IR 00000 to IR 01915 are allocated to terminals on the CPU Unit and I/O Units. They reflect the ON/OFF status of input and output signals. Input bits begin at IR 00000, and output bits begin at IR 01000.

Page 161

Section

Using Memory Cassettes (CQM1 Only)

3-5

The following table shows which IR bits are allocated to the I/O terminals on the CPM1 CPU Units and CPM1-20EDR I/O Unit. CPM1 CPU Unit

-V1

I/O

CPU Unit Terminals

I/O Unit Terminals

Inputs Outputs Inputs Outputs Inputs

6 points: 00000 to 00005 4 points: 01000 to 01003 12 points: 00000 to 00011 8 points: 01000 to 01007 18 points: 00000 to 00011, 00100 to 00105

12 points: 00100 to 00111 8 points: 01100 to 01107 12 points: 00100 to 00111 8 points: 01100 to 01107 12 points: 00200 to 00211

Outputs 12 points: 01000 to 01007, 01100 to 01103

8 points: 01200 to 01207

Inputs

18 points: 00000 to 00011, 00100 to 00105

36 points: 00200 to 00211 00300 to 00311 00400 to 00411

Outputs 12 points: 01000 to 01007, 01100 to 01103

24 points:01200 to 01207 01300 to 01407 01400 to 01407

The following table shows which IR bits are allocated to the I/O terminals on the CPM1A’s CPU Units and Expansion I/O Unit. CPU Unit terminals Number of I/O terminals Inputs Outputs on the CPU Unit 10 6 points: 4 points: 00000 to 00005 20

30

40

Inputs

Outputs

Inputs

Outputs

Inputs

Outputs

---

---

---

---

---

---

01000 to 01003

12 points: 8 points: 00000 to 00011

Expansion I/O Unit Terminals

---

---

18 points: 12 points: 12 points: 8 points: 00000 to 00011

01000 to 01007

00100 to 00105

01100 to 01103

00200 to 00211

---

00000 to 00011

01000 to 01007

00100 to 00111

01100 to 01107

00200 to 00211

12 points: 8 points:

01200 to 00300 to 01207 00311

24 points: 16 points: 12 points: 8 points:

Work Bits

---

---

---

01000 to 01007

12 points: 8 points:

01200 to 00300 to 01207 00311

12 points: 8 points:

01300 to 00400 to 01307 00411

01400 to 01407

12 points: 8 points:

01300 to 00400 to 01307 00411

01400 to 01407

Power supply

Model number

AC

DC

AC

DC

AC

DC

AC

DC

The work bits can be used freely within the program. They can only be used within the program, however, and not for direct external I/O.

3-2-3 SR Area These bits mainly serve as flags related to CPM1/CPM1A operation or contain present and set values for various functions. For details on the various bit functions, refer to relevant sections in this manual or to Appendix C Memory Areas. SR 244 to SR 247 can also be used as work bits, when input interrupts are not used in Counter Mode.

141