Pulse
Pulses (jogs) a variable tag on, then off. The variable tag is switched ON (1) and two seconds later it is switched OFF (0). The exact period of the pulse is determined by the communication channel to the I/O device. If the communication channel is busy, the pulse time may be longer than two seconds. The code in the I/O device should not be dependant on a pulse time of exactly 2 seconds. Use the pulse as a trigger only.
Syntax
Pulse(sTag)
sTag:
The digital tag to pulse.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
Buttons |
|
Text |
Jog 145 |
Command |
Pulse(M145) |
Comment |
Pulse the variable tag M145 every two seconds |
See Also