Each sensor or actuator has one or more tags. Tags are used to link actuators and sensors values to a controller. However, tags can also be used to control actuators manually.
A tag is made of a name and value. When creating a part, names are automatically assigned to tags. Usually, it's a good practice to rename tags with short and descriptive names since they will be used when mapping actuators and sensors to an external controller. Tags can be of three different data types depending on sensors and actuators type and configuration: Boolean for on/off values, Float for analog values (real numbers) and Integer for specific data.
You can show or hide Sensors Tags and Actuators Tags by clicking on the respective icons on the toolbar.
Tags can be docked to the top left corner of the window by Left-clicking on them. Docked tags are always visible, independently of the camera position and rotation. Also, once tags are docked, you may rename, force and injected failures on them. To clear all docked tags, click on View > Clear Docked Tags.
Rename a tag by selecting it and Left-click on the name field.
Sensors and actuators tags can be forced by Left-clicking on the tag's button, slider or input field (depending on the type of data hold by the tag). When forcing an actuator's tag, it will override the value read from the controller. By forcing actuators, you can play the role of the controller and control a scene manually. Forcing sensor's tags override the sensors values. Even if a sensor is not detecting an item, forcing its value will make it to be sent to the controller.
|Type||Value ON||Value OFF||To force the value|
|Digital (Bool)||Left-click to switch on/off.|
|Analog (Float)||Left-click and Drag to set the desired value.|
|Numerical (Integer)||4||0||Left-click and Insert an integer value.|
To release a forced value, mouse-hover the FORCED button and Left-click on RELEASE.
Each scene includes four built-in tags (sensors) which can be used by the controller to get relevant data about the simulation.
|FACTORY I/O (Paused)||True when the simulation is paused.|
|FACTORY I/O (Reset)||True (during 1s) when the simulation is reset.|
|FACTORY I/O (Running)||True when the simulation is in run mode.|
|FACTORY I/O (Time Scale)||Simulation time scale:
Tags to control the simulation (actuators) also exist.
|FACTORY I/O (Camera Position)||Moves the camera to one of the saved positions.|
|FACTORY I/O (Pause)||Pauses the simulation.|
|FACTORY I/O (Reset)||Resets the simulation.|
|FACTORY I/O (Run)||Puts the simulation in run mode.|