The text of a manual · part 53 of 60
SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual: Appendix C Memory Areas, pages 468 to 476
Pages 468 to 476 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 468
Appendix C Memory Areas CQM1 Memory Areas 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 01200 to IR 09515 IR 11200 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 012 to IR 095 IR 112 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
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
TR area
8 bits
---
TR 0 to TR 7
HR area
1,600 bits 448 bits
HR 00 to HR 99
HR 0000 to HR 9915
AR 00 to AR 27
AR 0000 to AR 2715
SR area
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.
AR area
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.
451
Page 469
Appendix C
Memory Areas Data area
Size
Words
Bits
Function
1,024 bits 512 bits
LR 00 to LR 63
LR 0000 to LR 6315
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.
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 Read-only5 425 words Error history 31 area5 words 5 PC Setup 56 words User program area 3,200 (UM area) or 7,200 words
DM 1024 to DM 6143 DM 6144 to DM 6568 DM 6569 to DM 6599 DM 6600 to DM 6655 ---
---
Available in only.4
---
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.
LR area1 Timer/Counter area3
DM area Read/write
TC 000 to TC 511 (timer/counter numbers)
---
CQM1-CPU11/21-E: 3,200 words 7,200 words
Note 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.
SR Area These bits mainly serve as flags related to CQM1 operation. The following table provides details on the various bit functions. Word
Bit(s)
Function
SR 244
00 to 15
Input Interrupt 0 Counter Mode SV SV when input interrupt 0 is used in counter mode (4 digits hexadecimal, 0000 to FFFF). (Can be used as work bits when input interrupt 0 is not used in counter mode.)
SR 245
00 to 15
Input Interrupt 1 Counter Mode SV SV when input interrupt 1 is used in counter mode (4 digits hexadecimal, 0000 to FFFF). (Can be used as work bits when input interrupt 1 is not used in counter mode.)
SR 246
00 to 15
Input Interrupt 2 Counter Mode SV SV when input interrupt 2 is used in counter mode (4 digits hexadecimal, 0000 to FFFF). (Can be used as work bits when input interrupt 2 is not used in counter mode.)
SR 247
00 to 15
Input Interrupt 3 Counter Mode SV SV when input interrupt 3 is used in counter mode (4 digits hexadecimal, 0000 to FFFF). (Can be used as work bits when input interrupt 3 is not used in counter mode.)
SR 248
00 to 15
SR 249
00 to 15
SR 250
00 to 15
SR 251
00 to 15
Input Interrupt 0 Counter Mode PV Minus One Counter PV-1 when input interrupt 0 is used in counter mode (4 digits hexadecimal). Input Interrupt 1 Counter Mode PV Minus One Counter PV-1 when input interrupt 1 is used in counter mode (4 digits hexadecimal). Input Interrupt 2 Counter Mode PV Minus One Counter PV-1 when input interrupt 2 is used in counter mode (4 digits hexadecimal). Input Interrupt 3 Counter Mode PV Minus One Counter PV-1 when input interrupt 3 is used in counter mode (4 digits hexadecimal).
452
Page 42
42
Page 470
Appendix C
Memory Areas Word SR 252
Bit(s) 00 01
01
03 to 07 08
09 10
High-speed Counter 0 Reset Bit CQM1-CPU43-EV1: High-speed Counter 1 Reset Bit Turn ON to reset PV of high-speed counter 1 (port 1). CQM1-CPU44-EV1: Absolute High-speed Counter 1 Origin Compensation Bit Turn ON to set origin compensation for absolute high-speed counter 1 (port 1). Automatically turns OFF when compensation value is set in DM 6611. CQM1-CPU43-EV1: High-speed Counter 2 Reset Bit Turn ON to reset PV of high-speed counter 2 (port 2). CQM1-CPU44-EV1: Absolute High-speed Counter 2 Origin Compensation Bit Turn ON to set origin compensation for absolute high-speed counter 2 (port 2). Automatically turns OFF when compensation value is set in DM 6612. Not used. Peripheral Port Reset Bit Turn ON to reset peripheral port. (Not valid when peripheral device is connected.) Automatically turns OFF when reset is complete. RS-232C Port Reset Bit Turn ON to reset RS-232C port. Automatically turns OFF when reset is complete. PC Setup Reset Bit Turn ON to initialize PC Setup (DM 6600 through DM 6655). Automatically turns OFF again when reset is complete. Only effective if the PC is in PROGRAM mode.
Page 48 134
134
92
3
11
Forced Status Hold Bit OFF: Bits that are forced set/reset are cleared when switching from PROGRAM mode to MONITOR mode. ON: The status of bits that are forced set/reset are maintained when switching from PROGRAM mode to MONITOR mode.
17
12
I/O Hold Bit OFF: IR and LR bits are reset when starting or stopping operation. ON: IR and LR bit status is maintained when starting or stopping operation.
17
13 14
Not used. Error Log Reset Bit Turn ON to clear error log. Automatically turns OFF again when operation is complete. Output OFF Bit OFF: Normal output status. ON: All outputs turned OFF.
15
SR 253
Function
00 to 07
08 09
10 to 12 13 14 15
431 455
FAL Error Code 205 The error code (a 2-digit number) is stored here when an error occurs. The FAL number is stored here when FAL(06) or FALS(07) is executed. This word is reset (to 00) by executing a FAL 00 instruction or by clearing the error from a Peripheral Device. Low Battery Flag 428 Turns ON when a CPU Unit battery voltage drops. Cycle Time Overrun Flag 428 Turns ON when a cycle time overrun occurs (i.e., when the cycle time exceeds 100 ms). Not used. Always ON Flag Always OFF Flag First Cycle Flag Turns ON for 1 cycle at the start of operation.
-------
453
Page 471
Appendix C
Memory Areas Word SR 254
Bit(s)
Function
Page
00 01 02 to 03 04
1-minute clock pulse (30 seconds ON; 30 seconds OFF) 0.02-second clock pulse (0.01 second ON; 0.01 second OFF) Not used.
05
Underflow (UF) Flag Turns ON when the result of a calculation is below the lower limit of signed binary data.
289
06
Differential Monitor Complete Flag Turns ON when differential monitoring is complete. STEP(08) Execution Flag Turns ON for 1 cycle only at the start of process based on STEP(08). HKY(––) Execution Flag Turns ON during execution of HKY(––). 7SEG(88) Execution Flag Turns ON during execution of 7SEG(88). DSW(87) Execution Flag Turns ON during execution of DSW(87). Not used. CQM1-CPU43-EV1: Pulse I/O Error Flag (FALS: 9C) Turns ON when there is an error in a pulse I/O function using port 1 or 2.
134
07 08 09 10 11 to 14 15
-----
289 Overflow (OF) Flag Turns ON when the result of a calculation is above the upper limit of signed binary data.
206 347 345 346
427
CQM1-CPU44-EV1: Absolute High-speed Counter Error Flag (FALS: 9C) Turns ON when there is an error in an absolute high-speed counter using port 1 or 2. SR 255
00 01 02 03 04 05 06
07 08 to 15
0.1-second clock pulse (0.05 second ON; 0.05 second OFF) 0.2-second clock pulse (0.1 second ON; 0.1 second OFF) 1.0-second clock pulse (0.5 second ON; 0.5 second OFF) Instruction Execution Error (ER) Flag Turns ON when an error occurs during execution of an instruction. Carry (CY) Flag Turns ON when there is a carry in the results of an instruction execution. Greater Than (GR) Flag Turns ON when the result of a comparison operation is “greater.” Equals (EQ) Flag Turns ON when the result of a comparison operation is “equal,” or when the result of an instruction execution is 0.
---------
Less Than (LE) Flag Turns ON when the result of a comparison operation is “less.” Not used.
---
-------
Note Writing is not possible for the following words: SR 248 through SR 251, and SR 253 through SR255.
Explanation of SR Bits SR 25211 (Forced Status Hold Bit) When the forced set/reset status is cleared, the bits that were forced will be turned ON or OFF as follows: Forced set cleared: Forced reset cleared:
Bit turned ON Bit turned OFF
All force-set or force-reset bits will be cleared when the PC is switched to RUN mode (see note). This bit is turned ON and OFF from a peripheral device. A setting can be made in the PC Setup (DM 6601) to cause the status of this Bit to be retained even when powering up. Note DM 6601 in the PC Setup can be set to maintain the previous status of the Forced Status Hold Bit when power is turned on. This setting can be used to prevent forced status from being cleared even when power is turned on.
454
Page 472
Appendix C
Memory Areas
SR 25212 (I/O Hold Bit) This bit is turned ON and OFF from a peripheral device. A setting can be made in the PC Setup (DM 6601) to cause the status of this Bit to be retained even when powering up. SR 25215 (Output OFF Bit) When this bit it turned ON, all outputs will be turned OFF and the CPU Unit’s OUT INH indicator will light. Outputs will remain OFF even if output bits are turned ON by the program until this Bit is turned OFF again. SR 25308 (Battery Low Flag) and SR 25309 (Cycle Time Overrun Flag) A setting can be made in the PC Setup (DM 6655) so that these errors will not be generated.
AR Area These bits mainly serve as flags related to CQM1 operation. The following table provides details on the various bit functions. 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.) Word
Bit(s)
Function
Page
AR 00 to AR 03 AR 04
---
Not used.
08 to 15
CQM1-CPU43/44-EV1: Pulse I/O or Absolute High-speed Counter Status Code: 00: Normal 01, 02: Hardware error 03: PC Setup error 04: PC stopped during pulse output
59
AR 05
00 to 07
CQM1-CPU43/44-EV1: High-speed Counter 1 Range Comparison Flags 00 ON: Counter PV is within comparison range 1 01 ON: Counter PV is within comparison range 2 02 ON: Counter PV is within comparison range 3 03 ON: Counter PV is within comparison range 4 04 ON: Counter PV is within comparison range 5 05 ON: Counter PV is within comparison range 6 06 ON: Counter PV is within comparison range 7 07 ON: Counter PV is within comparison range 8 CQM1-CPU43/44-EV1: High-speed Counter 1 Comparison Flag OFF: Stopped ON: Comparing
59
09
CQM1-CPU43/44-EV1: High-speed Counter 1 Overflow/Underflow Flag OFF: Normal ON: Overflow or underflow occurred.
59
10 to 11 12 to 15
Not used. CQM1-CPU43-EV1: Port 1 Pulse Output Flags 12 ON: Deceleration specified. (OFF: Not specified.) 13 ON: Number of pulses specified. (OFF: Not specified.) 14 ON: Pulse output completed. (OFF: Not completed.) 15 ON: Pulse output in progress. (OFF: No pulse output.)
AR 06
00 to 15
AR 07
00 to 11 12
CQM1-CPU43/44-EV1: High-speed Counter 2/Port 2 Pulse Output Flags Identical to the High-speed Counter 1/Port 1 Pulse Output Flags in AR 05. Not used. DIP Switch Pin 6 Flag OFF: CPU Unit’s DIP switch pin no. 6 is OFF. ON: CPU Unit’s DIP switch pin no. 6 is ON.
13 to 15
Not used.
08
59
333
59
---
455
Page 473
Appendix C
Memory Areas Word AR 08
Bit(s)
Function
00 to 03
RS-232C Communications Error Code (1-digit number) The code will be “F” when a computer running LSS/SSS is connected to the Peripheral Port.
04
RS-232C Error Flag Turns ON when an RS-232C communications error occurs. RS-232C Transmission Enabled Flag Valid only when host link, RS-232C communications are used. RS-232C Reception Completed Flag Valid only when RS-232C communications are used. RS-232C Reception Overflow Flag Valid only when RS-232C communications are used.) Peripheral Device Error Code (1-digit number) The code will be “F” when a computer running LSS/SSS is connected to the Peripheral Port.
05 06 07 08 to 11
12 13 14 15 AR 09
00 to 15
AR 10
00 to 15
AR 11
00 to 07
08 to 14 15
AR 12 AR 13
00 to 15
Not used.
00
Memory Cassette Installed Flag Turns ON if the Memory Cassette is installed at the time of powering up. Clock Available Flag Turns ON if a Memory Cassette equipped with a clock is installed. Memory Cassette Write-protected Flag ON when an EEPROM Memory Cassette if mounted and write protected or when an EPROM Memory cassette is mounted.
01 02
456
Peripheral Device Error Flag Turns ON when a peripheral device communications error occurs. Peripheral Device Transmission Enabled Flag Valid only when host link, RS-232C communications are used. Peripheral Device Reception Completed Flag Valid only when RS-232C communications are used. Peripheral Device Reception Overflow Flag Valid only when RS-232C communications are used. RS-232C Reception Counter 4 digits BCD; valid only when RS-232C communications are used. Peripheral Device Reception Counter 4 digits BCD; valid only when RS-232C communications are used. High-speed Counter 0 Range Comparison Flags 00 ON: Counter PV is within comparison range 1 01 ON: Counter PV is within comparison range 2 02 ON: Counter PV is within comparison range 3 03 ON: Counter PV is within comparison range 4 04 ON: Counter PV is within comparison range 5 05 ON: Counter PV is within comparison range 6 06 ON: Counter PV is within comparison range 7 07 ON: Counter PV is within comparison range 8 Not used. Pulse Output Status for Pulse Output Bit Specification 0: Stopped; 1: Output (This bit is supported only for CPU Units produced in or after April 1995 (Lot No.: **45)).
03 04 to 07
Not used. Memory Cassette Code (1-digit number) 0: No Memory Cassette installed. 1: EEPROM, 4K-word Memory Cassette installed. 2: EEPROM, 8K-word Memory Cassette installed. 4: EPROM-type Memory Cassette installed.
08 to 15
Not used.
Page 92
99
99 99 51
---
----134
---
Page 474
Appendix C
Memory Areas Word AR 14
Bit(s)
CPU Unit to Memory Cassette Transfer Bit Turn ON for transfer from the CPU Unit to the Memory Cassette. Automatically turns OFF again when operation is complete. (See note.)
148
01
Memory Cassette to CPU Unit Transfer Bit Turn ON for transfer from the Memory Cassette to the CPU Unit. Automatically turns OFF again when operation is complete. (See note.)
149
02
Memory Cassette Compare Flag ON when the contents of the PC and the Memory Cassette are being compared. Turns OFF automatically when comparison has completed. (See note.)
149
03
Memory Cassette Comparison Results Flag ON: Difference found or comparison not possible OFF: Contents compared and found to be the same.
149
04 to 11 12
Not used. PROGRAM Mode Transfer Error Flag Turns ON when transfer could not be executed due to being in PROGRAM mode. Write-protect Error Flag Turns ON when transfer could not be executed due to write-protection. Insufficient Capacity Flag Turns ON when transfer could not be executed due to insufficient capacity at the transfer destination.
14
AR 16
Page
00
13
AR 15
Function
148 427 427
15
No Program Flag Turns ON when transfer could not be executed due to there being no program in the Memory Cassette.
427
00 to 07
Memory Cassette Program Code Code (2-digit number) indicates the size of the program stored in the Memory Cassette. 00: There is no program, or no Memory Cassette is installed. 04: The program is less than 3.2K words long. 08: The program is less than 7.2K words long.
---
08 to15
CPU Unit Program Code Code (2-digit number) indicates the size of the program stored in the CPU Unit. 04: The program is less than 3.2K words long. 08: The program is less than 7.2K words long. Not used. PC Setup Initialized Flag Turns ON when a checksum error occurs in the PC Setup area and all settings are initialized back to the default settings.
---
12
Program Invalid Flag Turns ON when a checksum error occurs in the UM area, or when an improper instruction is executed.
429
13
Instructions Table Initialized Flag Turns ON when a checksum error occurs in the instructions table and all settings are initialized back to the default settings.
429
14
Memory Cassette Added Flag 429 Turns ON if the Memory Cassette is installed while the power is on. Memory Cassette Transfer Error Flag 429 Turns ON if a transfer cannot be successfully executed when DIP switch pin no. 2 is set to ON (i.e., set to automatically transfer the contents of the Memory Cassette at powerup.)
00 to 10 11
15
429
Note With the LSS/SSS, clear the forced-set status to turn OFF these bits, which will not change even after the operation is complete. (If the Programming Console is being used, these bits will automatically turn OFF.)
457
Page 475
Appendix C
Memory Areas Word AR 17
Bit(s) 00 to 07 08 to 15
AR 18
00 to 07 08 to 15
AR 19
00 to 07 08 to 15
AR 20
00 to 07 08 to 15
AR 21
00 to 07 08 to 12 13 14 15
AR 22
00 to 07 08 to 15
Function
Page 134
“Minutes” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Hour” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Seconds” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Minutes” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Hour” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Date” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Month” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Year” portion of the present time, in 2 digits BCD (Valid only when a Memory Cassette with the clock function is installed.) “Day of week” portion of the present time, in 2 digits BCD [00: Sunday to 06: Saturday] (Valid only when a Memory Cassette with the clock function is installed.) Not used. 134 30-second Adjustment Bit Valid only when a Memory Cassette with the clock function is installed. Clock Stop Bit Valid only when a Memory Cassette with the clock function is installed. Clock Set Bit Valid only when a Memory Cassette with the clock function is installed. 137 Input Words Number of words for input bits (2 digits BCD) Output Words Number of words for output bits (2 digits BCD) Power-off Counter (4 digits BCD) --This is the count of the number of times that the power has been turned off. To clear the count, write “0000” from a peripheral device.
AR 23
00 to 15
AR 24
00
Power-up PC Setup Error Flag 3 Turns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup area that is read at power-up).
01
Start-up PC Setup Error Flag 428 Turns ON when there is an error in DM 6615 to DM 6644 (the part of the PC Setup area that is read at the beginning of operation).
02
RUN PC Setup Error Flag 3 Turns ON when there is an error in DM 6645 to DM 6655 (the part of the PC Setup area that is always read).
03, 04 05
Not used. Long Cycle Time Flag Turns ON if the actual cycle time is longer than the cycle time set in DM 6619. Not used. Code (2 digits hexadecimal) showing the word number of a detected I/O bus error 00 to 07: Correspond to input words 000 to 007. 80 to 87: Correspond to output words 100 to 107. FF: End cover cannot be confirmed. Not used. FPD(––) Teaching Bit Not used.
06, 07 08 to 15
AR 25
458
00 to 07 08 09 to 15
---
---
322
Page 476
Appendix C
Memory Areas Word AR 26
Bit(s) 00 to 15
Function Maximum Cycle Time (4 digits BCD) The longest cycle time since the beginning of operation is stored. It is cleared at the beginning, and not at the end, of operation.
Page 21
The unit can be any of the following, depending on the setting of the 9F monitoring time (DM 6618). Default: 0.1 ms; “10 ms” setting: 0.1 ms; “100 ms” setting: 1 ms; “1 s” setting: 10 ms AR 27
00 to 15
Current Cycle Time (4 digits BCD) The most recent cycle time during operation is stored. The Current Cycle Time is not cleared when operation stops. The unit can be any of the following, depending on the setting of the 9F monitoring time (DM 6618). Default: 0.1 ms; “10 ms” setting: 0.1 ms; “100 ms” setting: 1 ms; “1 s” setting: 10 ms
CPM1/CPM1A Memory Areas 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 AR area2 LR area1 Timer/Counter area2 DM area Read/write2
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) ---
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 00 to HR 19 HR 0000 to HR 1915 (20 words) (320 bits) 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 log2
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
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. 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 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.
Note 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, Counter area, and read/write DM area are backed up by a capacitor. At the capacitor will back up memory for 20 days. Refer to 2-1-2 Characteristics in the CPM1 or 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.
459