IBM EGX-400 User Manual

Page 98

Advertising
background image

94

Chapter 5 - The Teaching Feature

5-7. List of Commands

10 SP

Function

This makes the settings for rotating or stopping the spindle, and for spindle rotating speed.

Value

Rotation or no rotation (ON: rotation, OFF: stopped)

Value

Spindle rotating speed (80 to 300 x 100 rpm)

This rotates the spindle at the specified spindle rotating speed, or stops rotation of the spindle. Commands to move the
spindle, such as [MOVE-ZM] and [CUT-ZM], do not rotate or stop the spindle by themselves. You specify this with the
[SP] command. A setting of [80], for example, sets a spindle rotating speed of 8,000 rpm.

11 P

Function

This controls the state of the output ports for expansion connector 2.

Value

Output-port state (1: High, 0: Low, *: Maintain state)

This command changes the state of the output ports for expansion connector 2. There are eight output port (numbered 1
through 8), and this controls the state (high or low) of each one. [*] means no change in state -- that is, to leave high if
high, or to leave low if low.
When you turn on the machine, all output ports are at the low state. When you execute this command to set a certain port
high, the port is maintained in that state until you switch off the power. (The state does not revert to low even when
sequence execution ends.) If initialization of the port is required, it is useful to insert a command such as [11 P 00000000]
at the start or end of the sequence.
For information about the specifications of expansion connector 2, see p.143 "Expansion Connector 2."

12 WAIT

Function

This stops sequence execution for the specified interval of time.

Value

Wait time (0 to 10,000 ms)

This pauses sequence execution, waits for the specified time interval, then resumes execution. A setting of [3000], for
example, specifies a wait time of 3 seconds.

1:
10 SP ON 80

1:
11 P 00000000

00000000

Output port 1 Output port 8

1:
12 WAIT 10000

Advertising
This manual is related to the following products: