Publication 1763-RM001C-EN-P - October 2009
System Status File
467
Status File Details
Arithmetic Flags
The arithmetic flags are assessed by the processor following the execution
of any math, logical, or move instruction. The state of these bits remains
in effect until the next math, logical, or move instruction in the program is
executed.
Carry Flag
This bit is set (1) if a mathematical carry or borrow is generated.
Otherwise the bit remains cleared (0). When a STI, High-Speed Counter,
Event Interrupt, or User Fault Routine interrupts normal execution of your
program, the original value of S:0/0 is restored when execution resumes.
OverFlow Flag
This bit is set (1) when the result of a mathematical operation does not fit
in the destination. Otherwise the bit remains cleared (0). Whenever this
bit is set (1), the overflow trap bit S:5/0 is also set (1). When an STI,
High-Speed Counter, Event Interrupt, or User Fault Routine interrupts
normal execution of your program, the original value of S:0/1 is restored
when execution resumes.
Zero Flag
This bit is set (1) when the result of a mathematical operation or data
handling instruction is zero. Otherwise the bit remains cleared (0). When
an STI, High-Speed Counter, Event Interrupt, or User Fault Routine
interrupts normal execution of your program, the original value of S:0/2 is
restored when execution resumes.
Address
Data Format
Range
Type
User Program Access
S:0/0
binary
0 or 1
status
read/write
Address
Data Format
Range
Type
User Program Access
S:0/1
binary
0 or 1
status
read/write
Address
Data Format
Range
Type
User Program Access
S:0/2
binary
0 or 1
status
read/write
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive