Instruction Execution Status
You can check the error status with the system variable #L_ExIOSpParmErr (special I/O parameter error).30.5.1.3 Special I/O System Variables
Enabling condition
While the instruction is in operation and when it is confirmed that the pulse output is being executed
While the instruction is in operation, when emergency stop request is detected and the instruction is stopped
If no error has occurred (refer to the following notes).
Disabling condition
When set pulse count output completion is confirmed
(Pulse output is stopped and the set pulse count output completion flag is cleared)
When emergency stop request is executed and the stop is confirmed
*When disabled, the operand D1 is cleared to 0.
Notes
While executing the instruction, pulse output is monitored. If it is being output, an error occurs and no process will be performed.
For acceleration/deceleration pulse, it is confirmed that the acceleration/deceleration table creation is being requested (request and completion bits are not 0) and that there is an acceleration/deceleration table. An error occurs when the acceleration/deceleration table is being created or there is no acceleration/deceleration table.
When the operand D1 cannot be recognized in the instruction, an error occurs.
When executing the instruction using the pulse (for example, PT instruction), you need to turn the instruction OFF and then turn it ON to execute it again.
When the instruction is executed, it will be in operation.
If the instruction is in operation, the instruction will be executed continuously regardless of the enabling/disabling condition.