Pulse
- Last UpdatedJul 18, 2023
- 1 minute read
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.
Note: The Pulse function cannot be used with Super Genie associations.
Syntax
Pulse(sTag)
sTag:
The digital tag to pulse.
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
Button
|
Text |
Jog 145 |
|
Command |
Pulse(M145) |
|
Comment |
Pulse the variable tag M145 every two seconds |