A-111
Appendices
CJ2 CPU Unit Software User’s Manual
A-3 Auxiliary Area
App
A-3 Auxiliary Area
A000 to A447: Read-only Area, A448 to A1000: Read/Write Area
A-3-1 Read-only Area (Set by System)
Address
Name Function
Status
after mode
change
Status at
startup
Write timing/
Related flags, set-
tings
Words Bits
A0 --- 10-ms Incre-
menting Free
Running Timer
This word contains the system timer used after the power is
turned ON.
A0 is set to 0000 hex when the power is turned ON and this value
is automatically incremented by 1 every 10 ms. The value returns
to 0000 hex after reaching FFFF hex (655,350 ms), and then con-
tinues to be automatically incremented by 1 every 10 ms.
The timer will continue to be incremented when the operating
mode is switched to RUN mode.
Example: The interval can be counted between processing A and
processing B without requiring timer instructions. This is achieved
by calculating the difference between the value in A000 for pro-
cessing A and the value in A000 for processing B. The interval is
counted in 10 ms units.
Retained Cleared Every 10 ms after
power is turned ON
A1 --- 100-ms Incre-
menting Free
Running Timer
This word contains the system timer used after the power is
turned ON.
A1 is set to 0000 hex when the power is turned ON and this value
is automatically incremented by 1 every 100 ms. The value
returns to 0000 hex after reaching FFFF hex (6,553,500 ms), and
then continues to be automatically incremented by 1 every
100 ms.
The timer will continue to be incremented when the operating
mode is switched to RUN mode.
Retained Cleared Every 100 ms after
power is turned ON
A2 --- 1-s Incrementing
Free Running
Timer
This word contains a system timer used after the power is turned
ON.
A2 is set to 0000 hex when the power is turned ON and this value
is automatically incremented by 1 every 1 s. The value returns to
0000 hex after reaching FFFF hex (65,535 s), and then continues
to be automatically incremented by 1 every 1 s.
The timer will continue to be incremented when the operating
mode is switched to RUN mode.
Retained Cleared Every 1 s after
power is turned ON
A50 A50.00 to
A50.07
Basic I/O Unit
Information,
Rack 0 Slot 0
A bit will turn ON to indicate when the load short-circuit protection
function alarm output has been given.
Only the 4 most LSB are used for the CJ1W-OD202 (2 points per
bit), only the LSB is used for the CJ1W-OD212, OD204, MD232
and only the two most LSB are used for the CJ1W-OD232.
ON: Short circuited
OFF: Normal
--- --- Refreshed each
cycle.
A50.08 to
A50.15
Basic I/O Unit
Information,
Rack 0 Slot 1
--- ---
A51 to
A69
A51.00 to
A69.15
Basic I/O Unit
Information,
Racks 0 Slot 2 to
Rack 3 Slot 9
--- ---
A90 to
A93
--- User Program
Date
These words contain in BCD the date and time that the user pro-
gram was last overwritten.
A90.00 to A90.07: Seconds (00 to 59)
A90.08 to A90.15: Minutes (00 to 59)
A91.00 to A91.07: Hour (00 to 23)
A91.08 to A91.15: Day of month (01 to 31)
A92.00 to A92.07: Month (01 to 12)
A92.08 to A92.15: Year (00 to 99)
A93.08 to A93.07: Day of the week
(00: Sunday, 01: Monday, 02: Tuesday, 03: Wednesday, 04: Thurs-
day, 05: Friday, 06: Saturday)
Retained Retained ---
A94 to
A97
--- Parameter Date These words contain in BCD the date and time that the parame-
ters were last overwritten.
The format is the same as above
Retained Retained ---