I am implementing the monitoring of an electric generator using sensors that read a MODBUS logic controller through a gateway. I have been able to count on sensors that indicate generator states, (1, 2, 3 ... n) and I associated them with lookup values. For example, I have a sensor that returns the status of the selector key, which can be in "Automatic" or "Manual - On" or "Manual - Off" And another sensor that indicates if it is in "Stopped" state or "Running" or others. The state that interests me is when the first is in "Automatic" and the second in "Running" that corresponds to when the equipment is running because there was a power outage. But I am not sure that the Factory allows handling combinations of states. Can be done? With what type of sensor?
How to use the Sensor Factory from sensors that have status fields with lookup?
Modified on 2025-06-10 16:05:45 +0200
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Hi Luis Aguilar Sindes,
Thank you for the post.
The Factory Sensor has the status() function. This means that the state of the corresponding Sensor is translated in a value. In this way, you can make more complex formulas which uses the state of the required Sensors.
Internally, the status() function returns the downtime channel of the sensor in hundreds of percent (10,000 = 100%).
Another alternative would be the "Business Process Sensor". The Business Process sensor is a powerful and very flexible sensor that allows you to give a summary status of whole business processes while monitoring several process components.
This means that you can create your very own and individual sensor with channels based on data from other sensors ("source sensors") that are specific to your network.
Best Regards,
Moritz Heller
Paessler Support Team
Sep, 2019 - Permalink