
BA Intellidrive User’s Manual
Communication and Commands
Version 1.4
Aerotech, Inc.
3-17
3.4.11. Print Program “file” to Port
Command Syntax:
PP filename <LF>
This command returns an ASCII output of the specified file. The file name is output
first. Line numbers are also added at the beginning of each line. This command is
useful when using a terminal emulator to check a file’s content.
3.4.12. Print Status
Command Syntax:
PS <LF>
The PS command returns a 32-bit number that contains all of the status bits of the BAI.
The first byte (8 bits) contains the data found in the serial poll status (Section 3.4.14.).
These bits allow the user to interrogate the unit to determine the source of an error. The
bit definitions can be found in Table 3-5. This data can also be found reading REG:2.
Table 3-5.
Bit Definitions for the PS Print Status Command
Bit Number
If Bit = 1
0-7
Status
8-10
Opto Input Status
11
External enable signal asserted
12-14
Opto output status
15
Fault out active
16
Invalid Hall state (brushless motors only)
17
RMS fault
18
Position error fault
19
Velocity error fault
20
Amplifier fault
21
Encoder fault
22
Flash memory fault
23
Estop fault
24
Thermistor fault
25
Hall A
26
Hall B
27
Hall C
28
CCW limit encountered
29
CW limit encountered
30
Home Marker active
31
Amp active
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com