Instruction Manual

Execution Commands Runtime Status and Version Commands 297
Publication 1398-PM601A-EN-P October 2000
HOST MODE
Runtime Status and Version Commands
S
Returns a word (16 bits) bit map of present status information.
SI
Returns a byte (8 bits) bit map of present interrupt and home switch status.
DBG
Returns information on the next program line to execute in the following format:
program#, line#, text
The text field may be empty if no source program is available for the program (although the quotes will
Bit Description (1=True)
0 Program Active
1 In Home Position
2Home Completed
3 In Position
4 Drive Ready (See RRLY)
5 Drive Enabled (See ERLY)
6 Forward Travel Limit
7 Reverse Travel Limit
8 Paused (See PAUSE)
9 In Peak Current (See PICMD)
10 I/O PLC Logic Disabled (See XPLC)
11 Error Active (See ENUM)
12 Warning Active (See WNUM)
13 New Debug Information Available (See DBG)
14 Ready for Single Step (See STEP, SS)
15 Executing Tune Cycle
Bit Description (1=True)
0 INT1 Interrupt received (See FI1)
1 INT2 Interrupt received (See FI2)
2 Encoder 1 Index Interrupt received (See FIDX1)
3 Encoder 2 Index Interrupt received (See FIDX2)
4 (reserved)
5 (reserved)
6 (reserved)
7 Home Switch Active