
B–61863E–1/06
4. CREATION OF LINK
CONTROL STATEMENT
APPLICATION
PROGRAMMING GUIDE
411
When the number of registered tasks is set on the main screen of Link
Control Statement creation and the TASK F3 key is pressed, the task
information definition screen (Fig. 4.3.3) is displayed.
For task information setting, one screen is allotted to one task. If more
than one task have been specified, previous and next screens can be
accessed with the page-shift keys.
LINK CONTORL DATA(TASK) Ver 1.4<OVRWRT>
TASK ENTRY NO. 1 (TASK ID = 10)
ENTRY ADDRESS NAME = smpl_tsk1
DATA SEGMENT GDT ENTRY = 33 (32223)
STACK SIZE = 200
TASK LEVEL = 10 (-1:HIGH/1099)
TASK NAME = TASK1
File name change input line
Error message line
[ MAIN ][ MEMORY ][ TASK ][ QUIT ][ EXIT ]
<INSERT>
Fig.4.3.3 Task Information Definition Screen
(1) ENTRY ADDRESS NAME
When a task is started, the name of the task entry function is set with
20 characters or less.
(2) DATA SEGMENT GDT ENTRY
Task inherent data segment entry is set.
(3) STACK SIZE
The size of the stack used by the task is set.
NOTE
In order to calculate the approximate STACK SIZE, add up
the below items.
a) STACK SIZE determined at compile time (listed at the
end of the compile listing).
b) The size from the main task to the deepest nested function.
c) STACK SIZE used by the PMC and standard libraries
(see Appendix B).
(4) TASK LEVEL
The task level (priority) at the time of task start up is set. There are
task levels from 10 through 99 with 10 having the highest priority and
99 the lowest.
When –1 is specified, only tasks with a higher priority than PMC
screen display will be executed. Only one task can be specified
including Ladder Level 3 (multiple specification not allowed).
(5) TASK NAME
A task name can be set with up to eight alphanumeric characters.
NOTE
The task name must not contain lower-case alphabetic
characters.
4.3.3
Task Information
Definition Screen