Gilson 215 Robotics User Manual


 
C-5
Appendix C
GSIOC Commands
Exyz B Sets X, Y, and Z motor status:
x - 0 for disable X motor.
y - 0 for disable Y motor.
z - 0 for disable or 1 for enable Z motor.
For example, the following command disables the motors:
E000.
Fn B Relaxes the probes where “n” is the probe selection (a, b, c,
or d).
H B Moves XYZ to home position, homes all four Z-drives, and
sets the X-pitch to 18 mm.
I I Reads status of input contacts and front panel Start and
Stop buttons. Returns “cccckk” where:
cccc - Status of input contacts A, B, C, and D: 1 if
closed (shorted), 0 if open.
kk - Status of front panel Start and Stop buttons: 1 if
button has been pressed, 0 if it hasn’t been
pressed. Value of kk is cleared after reading.
J I Reads status of output contacts. Returns “ccccp” where:
cccc - Status of output contacts 1, 2, 3, and 4: 1 if
connected, 0 if disconnected.
p - Status of keypad and auxiliary power: 1 if
connected, 0 if disconnected.
Jcccc[p] B Sets output contacts and +24V external power.
cccc - Output contacts 1, 2, 3, and 4: 1 to connect, 0 to
disconnect, X for no change.
p - (Optional) Keypad and auxiliary power: 1 to
connect, 0 to disconnect, X for no change.
jcttt B Pulses an output contact:
c - Number of the output contact, 1–4.
t - Duration of the pulse in tenths of seconds;
default is 1 which is 100 ms.