Learn how to set up triggers that integrate devices on the production floor.
Device Triggers are triggers that fire when an event happens in a sensor on the production floor that is connected to Tulip.
With triggers, you can add external devices from Tulip’s device list to apps. Additional conditions can be added to the trigger based on the data collected from the device.
Add a device trigger
In general, Tulip recognizes three types of device events that trigger an action:
- A simple device signal (e.g. barcode scanner output)
- A GPIO signal (e.g. pin changes)
- An Analog to Digital (ADC) event (e.g. change in voltage)
Device output can be stored in Variables, initiate a specific action or do both.
A device output might be a single value (e.g. a number) or multiple values (e.g several analog outputs). When you create logical conditions with device outputs, use the variable data and not the variable name.
Access device triggers in the Step Tab of the Side Pane. Click Add next to Machines and Devices.
Example
Below is an example device trigger:
WHEN
- "device" "barcode scanner" outputs at "this station"
THEN
- "Data Manipulation" "Store" "Device Output" "data" location: "new_variable"
List of all device triggers
Here is a list of all device triggers that are available by default in Tulip. These are available under the When logic in the trigger editor:
- Analog Voltage Input
- Barcode Scanner
- Barcode Scanner (Dataman TCP)
- Barcode Scanner (Dataman 262)
- Bobe Box USB
- Bosch RFID
- Caliper or Depth Gauge
- Cognex Insight 2000
- Fluke 28x Multimeter
- Footpedal
- GPIO
- Ingersoll Rand QX
- Kolver
- Omega HH806
- Pam CF
- Pressure
- Scale (Brecknel PS25)
- Scale (Brecknel 7010SB)
- Scale (Ohaus)
- Stealth Switch
- Temperature / Humidity Sensor (Lascar)
- Temperature / Humidity Sensor (Phidgets)
- Temperature Gun
- Torque Open Protocol
- USB Button
- analyzer-Q2
- Serial Barcode Scanner
Further Reading
- How to Add an Ohaus Scale and Store Output in a Variable
- Using the Cognex DataMan TCP Driver
- Using the Torque Open Protocol Driver