Professional Documents
Culture Documents
As seen
from outside
I/O Control
1. IN: input signal from an external controller (works with OTa)
2. ID: input for a testing bit (works with ODa)
3. OT a: 0 a 255 output for timing to an external controller
4. OD a: 0 a 255 unconditional output of signals set by
parameters via external I/O terminals.
5. TB a1, a2 where 0 |a1| 7, 0 a2 2048: test the a1th bit of
the input data. If true (a1 is positive) step a2 is executed;
when a1 is negative, it is in the opposite sense
6. EF a, where a = 0 or 1: output error signal, when a=0 no
external indication of error is given as output. If a =1,
bit 7 is an indication of error to external devices
Program Control
1. LG a1, a2: jump to step a2 if input is larger than a1
2. EQ a1, a2: jump to step a2 if input is equal to a1
3. SM a1, a2: jump to step a2 if input is smaller than a1
4. NE a1, a2: jump to step a2 if input is not equal to a1
5. GS a: go to subroutine at step a
6. RT: return
7. RC a
work together for repeating cycle a times, 0 a 99
8. NX
A Sample Program
1.
2.
3.
4.
5.
6.
RS
- reset any errors
NT
- nest position
SP 6
- set speed at 7/10 of the maximum speed
MI 6000, 0,0,0,0,0 - center the body by moving waist 150o
HO
- call that home position
GF 0
- set gripper open condition when setting
the following positions
7. PS 1 0, -4000, 3600, 1200, -1200, 0 position #1
8. PS 2 0, -400, 0, 0, 0, 0 position #2