SIGNAL monitor command SIGNAL monitor command Syntax SIGNAL signal , ..., signal Function Turn "on" or "off" external digital output signals or internal software signals. Parameter signal Real-valued expression that evaluates to a digital output or internal signal number. A positive value indicates "turn on", a negative value indicates "turn off". (SIGNAL ignores parameters with a zero value.) Details The magnitude of a "signal" parameter determines which digital or internal signal is to be considered. Only digital output signals (numbered from 1 to 992) and internal (software) signals (numbered from 2001 to 2992) can be specified.
Only digital output signals that are actually installed can be used. To check your current digital I/O configuration, use the IO monitor command. In emulation mode digital inputs (numbered from 1001 to 1992) can also be forced through the SIGNAL command. If the sign of the "signal" parameter is positive, the signal is turned on. If the sign of the "signal" parameter is negative, the signal is turned off. Example Turn "off" the external output signal specified by the value of the variable "reset" (assuming the value of "reset" is positive), and turn "on" external output signal #4:
SIGNAL -reset, 4 Turn external output signal #1 "off", external output signal #4 "on", and internal software signal #2010 "on": SIGNAL -1, 4, 2010 Related Keywords BITS monitor command BITS program instruction eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 153