The conditions take the form of a set of evaluation statements:
1.
INnnnnn_nnnnnnnnnn: compare to input status
LMT+ LMT- HOME AUX_IN STOP _
IN1 IN2 IN3 IN4 IN5 IN6 IN7 IN8 IN9 IN10
2.
Variable compares:
VARn>VARn
VARn=VARn
VARn<VARn
A constant, POS (the present value of the position counter), ABS (the present value of the
absolute encoder) or FEP (follower encoder position) can be substituted for the variable.
3.
AND: Boolean AND operation
4.
OR:
Boolean OR operation
Example
Command
Description
VAR4=4000
Set variable 4 to 4000
IF(IN_10 OR VAR1=3)
If input 1 is active and input 2 inactive
or the user variable 1 equals 3 then
execute sequence 1, else execute
sequence 2
XR1
Execute sequence 1
ELSE
ELSE command
XR2
Execute sequence 2
NIF
End of IF
REPEAT
Repeat command
VAR5=POS
Set variable 5 to current indexer
position
XR5
Execute sequence 5
T5.0
Delay 5 seconds
H
Change direction
UNTIL(VAR5>VAR4 AND IN_00)
If inputs 1 and 2 are inactive and
the position counter is greater than
VAR4, execute the next command.
Else, jump to the repeat command
VAR5=POS
Set variable 5 to current indexer
position
VAR6=ABS
Set variable 6 to the absolute encoder
position
WHILE(VAR6>VAR5 AND IN_00)
If the absolute position encoder
is greater than VAR5 and inputs 1 and
2 are inactive, execute the following
commands, else execute the command
following the NWHILE command
XR7
Execute sequence 7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Summary of Contents for PDHX-E Series
Page 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 15: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 68: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 92: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 98: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Page 101: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...