VWorks User Guide : Managing digital signals : Setting up channels for other sensors

Setting up channels for other sensors
About this topic
In the Manage IO dialog box, you can:
This topic explains how to assign I/O channels to sensors.
Managing sensor signals
To set up channels for sensor signals:
1
In the Manage IO dialog box, click the Sensors tab.
2
Click New to add a sensor.
3
 
 
The state that indicates the sensor is tripped. Select one of the following: high-voltage signal (High) or low-voltage signal (Low).
Log entry. Records detection events in the log file.
Message box. Pauses the run and displays an error message when a detection event occurs. The error message explains which sensor is tripped. You can add a custom message by typing the desired text in the Custom Error String field.
Script. Runs the specified JavaScript when the sensor is tripped. You can specify the script in the Execute Script box.
This field is available only if you have selected VWorks error message from the Results in list.
This box is only active if you selected Script in the Results in list.
4
When you are finished, click OK to save the changes and return to the VWorks window.
Related information