No.
Name
SD302
LZ Device Size
SD304
R Device Size [Lower]
SD305
R Device Size [Upper]
System clock
The special registers for system clock are shown below.
R: Read only, R/W: Read/Write
No.
Name
SD412
One second counter
SD414
2n second clock setting
SD415
2nms second clock setting
SD420
Scan counter
Scan information
The special registers for scan information are shown below.
R: Read only, R/W: Read/Write
No.
Name
SD500
Execution program number
SD518
Initial scan time (ms)
SD519
Initial scan time (μs)
SD520
Current scan time (ms)
SD521
Current scan time (μs)
SD522
Minimum scan time (ms)
SD523
Minimum scan time(μs)
SD524
Maximum scan time (ms)
SD525
Maximum scan time (μs)
Description
This register stores the number of LZ device points used.
This register stores the number of R device points used as 32-bit
value.
Description
• This register is incremented by 1 for each second after the
CPU module is set to RUN.
• A counting cycle from 0 to 32767 to -32768 to 0 is repeated.
• Stores value n of 2n second clock (Default is 30)
• Setting can be made between 1 and 32767.
• Stores value n of 2n ms clock (Default is 30)
• Setting can be made between 1 and 32767.
• This register is incremented by 1 each scan after the CPU
module is set to RUN. (Not incremented for each scan of an
initial execution type program.)
• A counting cycle from 0 to 32767 to -32768 to 0 is repeated.
Description
Program number of program currently being executed is stored.
• The initial scan time is stored into SD518 and SD519 (it is
measured in increments of μs).
SD518: stores a value in the ms place (storage range: 0 to
65535)
SD519: stores a value in the μs place (storage range: 0 to 999)
• This register is cleared to 0 when the mode transfers from
STOP to RUN mode.
• The current scan time is stored into SD520 and SD521 (it is
measured in increments of μs).
SD520: stores a value in the ms place (storage range: 0 to
65535)
SD521: stores a value in the μs place (storage range: 0 to 999)
Example: If the current scan time is 23.6ms, the following values
are stored:
SD520 = 23
SD521 = 600
• This register is cleared to 0 when the mode transfers from
STOP to RUN mode.
• The minimum value of the scan time other than that of the initial
execution program is stored into SD522 and SD523 (it is
measured in increments of μs).
SD522: stores a value in the ms place (storage range: 0 to
65535)
SD523: stores a value in the μs place (storage range: 0 to 999)
• This register is cleared to 0 when the mode transfers from
STOP to RUN mode.
• The maximum value of the scan time other than that of the
initial execution program is stored into SD524 and SD525 (it is
measured in increments of μs).
SD524: stores a value in the ms place (storage range: 0 to
65535)
SD525: stores a value in the μs place (storage range: 0 to 999)
• This register is cleared to 0 when the mode transfers from
STOP to RUN mode.
R/W
R
R
R/W
R
R/W
R/W
R
R/W
R
R
R
R
R
R
R
R
R
APPX
Appendix 2 Special Register List
A
353