SmartAXIS Touch User's Manual 27-5
1 Bit Devices
27
Internal Devices
■ Special Internal Relay (M)
Special internal relays (M) are bit devices used internally on the Touch. Each bit has been assigned a special function.
Although the device code for internal relays (M0000 to M1277) and special internal relays (M8000 to M8177)
is the same ("M"), the device characteristics are different. Special functions are assigned to each bit of the
special internal relay.
Do not change the status of reserved special internal relays, otherwise the Touch may not operate
correctly.
Device
Address
Description
CPU
Stopped
Power
OFF
Read/
Write
Ladder
FBD
M8000
Start Control
M8000 controls the state of the ladder program or FBD
program (RUN/STOP). When M8000 is turned on, the ladder
program or FBD program is executed, and when turned off,
the ladder program or FBD program stops. Stop input and
reset input have precedence over M8000 (start control).
M8000 maintains its status when the Touch is powered down.
When the data to be maintained during power failure is broken
after the Touch has been off for a period longer than the
battery backup duration, the Touch restarts ladder program
operation or FBD program operation or not as selected in
Configuration, Run/Stop Control, Run/Stop Selection
at Memory Backup Error.
For details, refer to Chapter 3 “4.4 Run/Stop Selection at
Memory Backup Error” on page 3-51.
Maintained
Maintained
Write YES YES
M8001
1-sec Clock Reset
While M8001 is on, M8121 (1-sec clock) is turned off.
Cleared Cleared Write YES YES
M8002
All Outputs OFF
When M8002 is turned on, all outputs go off until M8002 is
turned off. Self-maintained circuits using outputs also go off
and are not restored when M8002 is turned off.
Cleared Cleared Write YES YES
M8003
Carry (Cy) and Borrow (Bw)
When a carry or borrow results from executing an addition or
subtraction instruction, M8003 turns on. M8003 is also used
for the bit shift and rotate instructions. For the causes of carry
(CY) and borrow (BW), they vary based on the selected
programming language. For details, refer to following.
•Ladder program
F
Refer to Chapter 4 "Instructions Reference" – "Carry and
Borrow" in the "SmartAXIS Ladder Programming Manual".
•FBD program
F
Refer to Chapter 4 "FB Reference" – "Carry and Borrow" in
the " SmartAXIS FBD Programming Manual".
Cleared Cleared Read YES YES
M8004
Program Execution Error
When an error occurs while executing a ladder program or
FBD program, M8004 turns on.
For details, refer to Chapter 30 “2.2 Program Execution Error”
on page 30-5.
Cleared Cleared Read YES YES
M8005
Remote I/O Slave Communication Error
Special internal relays used by remote
I/O.
For details, refer to Chapter 12
“Remote I/O Master” on page 12-47.
Remote I/O Slave 1
Communication Error
Operating Cleared Read YES YES
M8006
Remote I/O Slave 2
Communication Error
Operating Cleared Read YES YES
M8007
Remote I/O Slave 3
Communication Error
Operating Cleared Read YES YES
M8010
In Daylight Saving Time Period
When the daylight saving time is enabled, M8010 is turned on
while in the daylight saving time period. When the daylight
saving time is disabled, M8010 is always off.
Operating Cleared Read YES YES
M8011,
8012
Reserved
M8013
Calendar/Clock Data Write/Adjust Error Flag
When an error occurs while calendar/clock data is written or
clock data is adjusted, M8013 turns on. If calendar/clock data
is written or clock data is adjusted successfully, M8013 turns
off.
Operating Cleared Read YES YES