Scanlab RTC 5 PC Interface Board Installation And Operation Manual page 320

Table of Contents

Advertisement

Undelayed
list_jump_pos_cond
Short
List Command
Function
Conditional (absolute) list jump: This command executes the command
list_jump_pos( Pos ), 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
list_jump_pos_cond( Mask1, Mask0, Pos )
Parameters
Mask1,
Mask0
Pos
Comments
• See list_jump_pos.
• Unlike the rules for preventing endless loops (see list_jump_pos), jumps via
list_jump_pos_cond are allowed even if they are to their own address (Pos = list posi-
tion of the jump command), e.g. to wait for confirmation of a signal.
• The command is synonymous with the
• Also see
Examples
• wait until bit #3 of the input port turns HIGH (= loop while the bit is LOW):
(Pascal)
list_jump_pos_cond(0, $0008, get_input_pointer);
• skip the next two list commands if the state of the input port is xxxx xxxx xxxx 0110 :
list_jump_pos_cond(6, 9, get_input_pointer + 3);
• Also see
®
®
RTC
4 RTC
5 new command
References
list_jump_pos
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
16-bit masks as unsigned 32-bit values
(only the least significant 16 bits are evaluated)
absolute jump address [0 ... (2
"Conditional Command Execution", page
"Programming Examples", page
20
–1)] as an unsigned 32-bit value
list_jump_cond
command.
213.
214.
320

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Scanlab RTC 5 PC Interface Board

Table of Contents

Save PDF