Parker Automation Gemini GV6K Command Reference Manual page 26

Servo drive/controller
Table of Contents

Advertisement

Because the
prefix specifies the task number that the
%
associated command will affect, new tasks can be
started from within other tasks, as shown in the
drawing on the right.
Within a program in a task, it is not necessary to use
the % prefix unless trying to initiate a program or
command in a different task. For example, if the
program running in task 3 executes a
fill
command, only task 3 is placed into
If the
program running in task 3 also executes a
fill
command, task 3 executes the command, but the
2%PS
program being executed in task 2 is paused, not task 3.
How the Task Supervisor Works: The "Task Supervisor" (also referred to as Task
execution environment. It contains the command buffer and parser. Immediate commands and commands
executed from the communications buffer are implicitly directed to affect the supervisor unless explicitly
directed to a task with the
prefix. Only the supervisor executes buffered commands from the
%
communications buffer. If the supervisor is executing a program, incoming commands will be buffered,
not executed. If the supervisor is not executing a program, it will execute commands from the input
command buffer, even if the other tasks are executing programs. If a command in the command buffer has
a task prefix, it is still executed by the supervisor, but affects the task specified by the prefix.
[ ! ]
mmediate Command Identifier
Type
Operator (Other)
Syntax
<a_>!<command>
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
COMEXC
The Immediate Command Identifier (
immediate commands are processed immediately, even before previously entered buffered commands.
All Gem6K commands are buffered.
The commands that use the
!
A command with the ! prefix cannot be stored in a program.
24
Gemini GV6K/GT6K Command Reference
COMEXC1
mode.
COMEXC1
) changes a buffered command into an immediate command. All
!
identifier are identified in the
NOTE
www.comoso.com
Gx6K Drive
Task Management
Program Memory
Supervisor
Running "main"
Task 1
Execute "move1"
Task 3
Execute "fill"
) is the main program
Ø
Syntax
portion of the command description.
Program: main
DEF main
---
---
1%move1
---
---
END
Program: move1
DEF move1
---
---
3%fill
---
---
END
Product
Rev
GT6K
6.0
GV6K
6.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents