EasyManua.ls Logo

Scanlab RTC 5 PC Interface Board - sub_call_abs_cond; sub_call_cond

Scanlab RTC 5 PC Interface Board
622 pages
Print Icon
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...
RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
526
innovators for industry
Undelayed
Short
List Command
sub_call_abs_cond
Function Conditional call (AbsCall) of an indexed subroutine: This command executes the command
sub_call_abs(
Index
), if the current
IOvalue
at the EXTENSION 1 connector’s 16-bit
digital input port meets the following condition:
((IOvalue AND
Mask1
) =
Mask1
) AND (((not IOvalue) AND
Mask0
) =
Mask0
)
(i.e. if the bits specified in
Mask1
are
1
and the bits specified in
Mask0
are
0
). Otherwise, the
directly following list command will be immediately executed.
Call
sub_call_abs_cond( Mask1, Mask0, Index )
Parameters
Mask1,
Mask0
16-bit masks as unsigned 32-bit values
(only the least significant 16 bits are evaluated)
Index
Index of the called indexed subroutine as an unsigned 32-bit value;
allowed range: [0 1023]
Comments See sub_call_abs.
Also see "Conditional Command Execution", page 213.
RTC
®
4
RTC
®
5 new command
References sub_call_abs
Undelayed
Short
List Command
sub_call_cond
Function Conditional call of an indexed subroutine: This command executes the command
sub_call(
Index
), if the current
IOvalue
at the EXTENSION 1 connector’s 16-bit digital
input port meets the following condition:
((IOvalue AND
Mask1
) =
Mask1
) AND (((not IOvalue) AND
Mask0
) =
Mask0
)
(i.e. if the bits specified in
Mask1
are
1
and the bits specified in
Mask0
are
0
). Otherwise, the
directly following list command will be immediately executed.
Call
sub_call_cond( Mask1, Mask0, Index )
Parameters
Mask1,
Mask0
16-bit masks as unsigned 32-bit values
(only the least significant 16 bits are evaluated)
Index
Index of the called indexed subroutine as an unsigned 32-bit value;
allowed range: [0 1023]
Comments See sub_call.
Also see "Conditional Command Execution", page 213.
RTC
®
4
RTC
®
5 new command
References sub_call

Table of Contents

Related product manuals