EasyManua.ls Logo

Parker COMPAX-M /-S (L) - Comparative Operations; Specific Processing of Data Record Groups. WAIT START; Jump with Data Record Selection [GOTO EXT]

Parker COMPAX-M /-S (L)
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Positioning and control functions
Comparative operations
109
Unit
hardware
Connector
assignment / cable
Technical dataConfigurationPositioning and
control functions
Optimization
functions
InterfacesAccessories /
options
StatusParameterError list
8.4.24 Comparative operations
IF <single Operand> <compare> <Operand> GOTO xxx
or
IF <single Operand> <compare> <Operand> GOSUB xxx
a parameter Pxxx or
a variable
20
Vxxx or
a status value Sxxx (S1-S15, S30, S40ff)
A simple Operand or
A constant with max. 8 significant digits
<smaller
>larger
=equals
<> not equal
<= equal to/less than
>= equal to/greater than
Depending on the result of the comparison, a GOTO or GOSUB is carried out.
IF P40>100 GOTO 234
IF V030<>P49 GOTO 123
Within the IF query, operations with logic operators (AND, OR) are not possible.
Writing convention of variables (V0-V39) and control parameters (P40-P49)
For reasons of compatibility, a preceding point (full stop) is expected in the syntax for motion commands:
e.g.: POSA .P40, ACCEL .V10
The new comparison and arithmetic commands will operate without a preceding point (full stop): e.g.:
P41=V10+S1, IF V20 > S2 GOTO 10
8.4.25 Specific processing of data record groups. WAIT START.
Entry at BDF2
21
: WAIT Ent
When this instruction is issued, COMPAX interrupts the programming procedure
until a external START (E5 or via interface) is issued (reaction time <30 ms). For
shorter reaction times, refer to I15 on Page 151.
WAIT Start
8.4.26 Jump with data record selection [GOTO EXT]
Jump with data record selection via the inputs I9 to I16.
Entry at BDF2: GOTO Ent
Data record selection as for GOSUB EXT (see below).
20
for variables, see Page 114.
21
Applies to the manual terminal BDF2/01
Syntax:
Simple Operand:
Operand:
Comparison:
Examples:
Limitation:
WAIT START
Syntax:
GOTO EXT

Table of Contents

Related product manuals