RTC
®
4 PC Interface Board
Rev. 1.3 e
10 Commands And Functions
75
innovators for industry
Ctrl Command auto_change
Function
activates an automatic list change
Integration
Pascal:
procedure auto_change;
C:
void auto_change(void);
Basic:
sub auto_change()
Comments
• The
command should only be used when working with two lists (up to
4000 commands each). This command should only be used if a list is currently
executing, or if it has already executed. Additionally, the other list should have already
been loaded and closed.
• With automatic list changing activated, the next list will start automatically after the
current list is finished.
• For each subsequent list, use a separate
call.
• The current status of both lists can be read with the commands
• See
"Automatic List Handling", page 13
References
Ctrl Command auto_change_pos
Function
activates an automatic list change
Parameter
start
Start position (address) of the next command sequence to be executed
(unsigned 16-bit value)
allowed range: [0 … 7999]
Integration
Pascal:
procedure auto_change_pos(start: word);
C:
void auto_change_pos(unsigned short start);
Basic:
sub auto_change_pos(ByVal start%)
Comments
• Use the
command when the RTC
®
4’s entire memory is treated like
a single list buffer.
• With automatic list changing activated, finishing of a list will automatically result in
continuation of execution at the specified start position.
• The current status of a list can be read with the commands
• See
"Automatic List Handling", page 13
References