B.4. AR memory area
Purpose of this memory area is to provide information on PLC controller state, malfunctions and some system data. Memory locations of this area keep their states after the power has been shut down.
Word(s) |
Bit(s) |
Function |
AR00 and AR01 |
00 - 15 |
Not used |
AR02 |
00 |
Status flag of the first I/O unit for expanding I/O lines (I/O units status flag) |
|
01 |
Status flag of the second I/O unit for expanding I/O lines (I/O units status flag) |
|
02 |
Status flag of the third I/O unit for expanding I/O lines (I/O units status flag) |
|
03 - 07 |
Not used |
|
12 - 15 |
Number of connected I/O units |
AR03 - AR07 |
00 - 15 |
Not used |
AR08 |
00 - 07 |
Not used |
|
08 - 11 |
Peripheral device error code |
|
12 |
Flag of peripheral device error |
|
13 |
Peripheral Device Transmission Enabled Flag |
|
14 - 15 |
Not used |
AR09 |
00 - 15 |
Not used |
AR10 |
00 - 15 |
Power-off counter. Contains 4-digit BCD value |
AR11 |
00 - 07 |
High-speed Counter Range Comparison Flags |
|
08 - 14 |
Not used |
|
15 |
Pulse Output Status. ON: stopped; OFF: Impulse at output |
AR12 |
00 - 15 |
Not used |
AR13 |
00 |
Power-up PC Setup Error Flag. Goes ON when error occurs in area DM 6600 - DM 6614 |
|
01 |
Start-up PC Setup Error Flag. Goes ON when error occurs in area DM 6615 - DM 6644 |
|
02 |
RUN PC Setup Error Flag. Goes ON when error occurs in area DM 6645 - DM 6655 |
|
03 - 04 |
Not used |
|
05 |
Long Cycle Time Flag. Goes ON if real cycle length exceeds length set in DM 6619 |
|
06 - 07 |
Not used |
|
08 |
Memory Area Specification Error Flag. Goes ON when non-existing address is specified in the program |
|
09 |
Flash Memory Error Flag |
|
10 |
Read-only DM Error Flag. Goes ON when checksum error occurs in DM 6144 - DM 6599 range |
|
11 |
PC Setup Error Flag. Goes ON when checksum error occurs in PC Setup area |
|
12 |
Program Error Flag. Goes ON when checksum error occurs in program memory (UM) or inappropriate instruction is executed |
|
13 |
Expansion Instruction Error Flag |
|
14 - 15 |
Not used |
AR14 |
00 - 15 |
Maximum Cycle Time. 4 BCD digits. Cleared at the beginning of the operation |
AR15 |
00 - 15 |
Current Cycle Time. 4 BCD digits. Not cleared when the operation ends |
Note:
1. IR and LR bits when not used for their function may be used as working bits.
2. Contents of HR area, LR area, counter, and DM area for reading/writing are kept by battery of central processing unit. In case that the battery is removed or malfunction occurs, this data will be lost.
3. When accessing the current value of PV, TC numbers used for data have form of word. When accessing Completing flags, they are used as data bits.
4. Data stored from DM6144 to DM6655 cannot be changed from within the program, but can be changed by peripheral device.
5. Program and data from DM 6144 to DM 6655 are stored in the flash memory.