S.B.C. Elettronica S.p.A. - Engineering Division
HPDxxN – High Power User’s Manual
69
Pr89:88= dimension 5
terminal 12 on X3 = execute positioning - pulse command
terminal 13 on X3 = execute homing - pulse command
terminal 14 on X3 = PNP axis zero proximity sensor
terminal 15 on X3 = position selection
terminal 16 on X3 = position selection
terminal 17 on X3 = position selection
terminal 12 on X2 = output, high during positioning
The following auxiliary bits are utilised: b91.10, b91.11.
Program:
SET
RST
SET
90.2
91.10
90.4
91.10
40.2
70.10
70.8
ADD
72 72 64
90.3
91.10
SET
91.10
40.2
ADD
80 72 64
90.5
90.5
70.8
ADD
82 72 64
90.6
90.4
ADD
84 72 64
70.8
ADD
86 72 64
90.4
90.5
ADD
88 72 64
90.6
90.6
91.10
70.8
SET
70.8
90.1
99.2
RST
70.4
SUB
64 60 64
SET
70.4
END
SET
94.0
SET
94.0
SET
94.0
SET
94.0
SET
94.0
70.8
91.1
LD
91.10
SET
40.2
LD
90.2
ANDN 91.10
SET
40.2
LD
90.3
ANDN 91.10
SET
70.10
SET
91.10
LDN
70.8
ADD
72.72.64
AND
90.4
ANDN 90.5
SET
94.0
ADD
80.72.64
AND
90.6
SET
94.0
ADD
88.72.64
LDN
70.8
AND
90.5
ANDN 90.6
SET
94.0
ADD
82.72.64
AND
90.4
SET
94.0
ADD
84.72.64
LDN
70.8
ANDN 90.4
ANDN 90.5
AND
90.6
SET
94.0
ADD
86.72.64
LDN
70.8
AND
91.10
AND
90.1
SET
70.8
RST
70.4
SUB
64.60.64
AND
99.2
SET
70.4
LD
70.8
OUT
91.1
END
If homing already
executed enable
operating mode
If digital input 2
execute homing if not
yet done.
If digital input 3 and
homing not executed:
reset counters
homing exec flag
digital output 0 at zero
If profile terminated,
select dimension
according to the three
digital inputs
If profile terminated
and input 1=1 execute
profile resetting
direction bit and
calculating distance
with respect to current
motor position
if negative sign set
b70.4=1
digital output 2
indicates profile on
program end