2 c-language task control (tsk-ctrl), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 352

5.11 C-language Control Instructions
5.11.2 C-language Task Control (TSK-CTRL)
5-283
Instructions
5
5.11.2 C-language Task Control (TSK-CTRL)
( 1 ) Operation
This instruction controls a C-language task from a ladder drawing. The task can be woken up, reset, suspended, or
resumed.
For details on C-language functions, refer to the Machine Controller MP2000 Series Embedded C-Language
Programming Package Development Guide (Manual No.: SIEP C880700 25).
( 2 ) Format
∗ C and # registers cannot be used.
Ladder Drawing
C-language Task
1: Wake up
2: Reset
3: Suspend
4: Resume
TSK-CTRL
instruction
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Execution flag (Execute)
{
×
×
×
×
×
×
Type (Type)
×
{
×
×
×
{
×
Task name (C_Name)
×
×
×
×
{
×
×
Completion flag (Complete)
{
*
×
×
×
×
×
×
Error flag (Error)
{
*
×
×
×
×
×
×
Error code (Err_code)
×
×
{
*
×
×
×
×
Execution flag
Type
Task name
Completion flag
Error flag
Error code
Icon:
Key entry: TSK-CTRL