Chapter 6 Applied Instructions Symbol S : Task number Explanation 1. This instruction disables the cyclic task specified by S . 2. When the PLC runs, the execution of the cyclic tasks depends on the setting of the cyclic tasks in ISPSoft. 3. The operand S must be between 0-31. 6_ 4. Refer to the ISPSoft User Manual for more information about creating and enabling tasks. Example When the PLC runs, cyclic task (0) and cyclic task (1) are enabled. When the TKOFF instruction in cyclic task (0) executes, it disables cyclic task (1), and M10 is OFF. You create cyclic tasks in ISPSoft and you define their default enabled/disabled state in ISPSoft.
Cyclic task (0) and cyclic task (1) are enabled when the PLC runs, and cyclic task (1) is disabled when the TKOFF instruction in cyclic task (0) executes. Cyclic task (1) is disabled by the execution of the TKOFF instruction in cyclic task (0). 6-751 API Instruction code Operand Function 2401 TKOFF P S Disabling a cyclic task Device X Y M S T C HC D FR SM SR E K 16# “$” F S BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 -