
317
Part 4 Commands
1.23 Building of Pseudo-Ladder Task
CHPR (Change task level)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional
Optional
CHPR
0 or 1
Prohibited
CP
[Function] Specify “1” (User HIGH) if you wish the target task to be processed before other tasks.
This command can also be used with non-ladder tasks.
Task level change (0: User NORMAL, 1: User HIGH) is not a required component, but
specifying User HIGH will require a TSLP command explained below. (Without TSLP, tasks
of the User NORMAL level will not be processed.)
TPCD (Specify processing to be performed when input condition is not specified)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Prohibited
Prohibited
TPCD
0 or 1
Prohibited
CP
[Function] Specify the processing to be performed when input condition is not specified.
(0: Execute, 1: Follow the input condition in the last executed step)
In a ladder task, always input “1” (Follow the input condition in the last executed step) in
operand 1.
In a non-ladder task, always input “0” (Execute). (The default value is “0.”)
318
Part 4 Commands
TSLP (Task sleep)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Prohibited Prohibited TSLP Time Prohibited CP
[Function] Set the time during which the applicable task will sleep, in order to distribute the processing
time to other tasks.
If the task level is set to User HIGH, this command must always be specified.
The applicable task will sleep during the set time.
The time in operand 1 is set in msec.
An appropriate time setting must be examined on the actual system. (Normally approx. 1 to
3 is set.)
(If the ladder statement becomes long, state this command multiple times between steps,
as necessary.)
This command can also be used with non-ladder tasks.
321
Содержание X-SEL PX
Страница 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Страница 2: ......
Страница 8: ......
Страница 14: ......
Страница 39: ...15 Part 1 Installation Reference Circuit Diagram Surge absorber Solenoid valve Controller 0 V 15 ...
Страница 410: ...383 Appendix 386 ...
Страница 452: ...425 Appendix 5 428 ...
Страница 559: ......