The output module is not an autonomous module, but an extension of the MQTT module. With the output module you can write data from ibaPDA to an MQTT Broker.
You can access the configuration of the module by selecting the Outputs tab in the module tree. You do not have to add it separately.The module will be available as soon as the MQTT module has been added.
In the General tab the following module settings can be configured:
For more information on the module settings see General module settings.
Module-specific settings
Calculation timebase
Timebase (in ms) used for the calculation of the output values.
Technically, the calculation timebase is identical to the timebase of the input module. This means a change in the calculation timebase also changes the module timebase of the input side and vice versa!
The calculation timebase is not the same as the output timebase, with which the values are output!
Minimum output timebase
Timebase with which the outputs can be updated as quickly as possible.
The value is acquired automatically by the system based on the current I/O configuration and is only displayed here. The output timebase results from the smallest common multiple of all module timebases or is at least 50 ms.
Number of analog/digital output signals
Define the number of configurable analog and digital signals in the signal tables. The default value is 32 for each. The maximum value is 1000. The signal tables are adjusted accordingly.
Mqtt
Send mode
Determines when new data is written to the controller:
-
Cyclic: Data is written cyclically at the set update time.
-
On change: Data is written each time the signal data is changed.
-
On trigger: Data is written with every rising edge of the trigger signal.
All signals of a module are always written, regardless of the write mode.
Trigger signal
This field only appears when the "on trigger" send mode is selected. Select here a digital signal. A rising edge on this digital signal writes the signal values taken at the time of the rising edge.
Send Bool as number
Select if boolean values in text mode are written as float values (1 and 0) or boolean values (TRUE and FALSE).
Processing
Decimal point
Configure which character is used for the decimal point.
Message format
Select if values in MQTT Broker are stored in text format or as binary values.
Output signals
The analog and digital signals to be output are configured in the expression builder. The expression builder can be opened by the <fx> button from each signal row.
In the Analog and Digital tab, enter a name for the signal and a data path to the broker. Analog signals support the data types SINT, BYTE, INT, WORD, DINT, DWORD, FLOAT, DOUBLE, STRING.
If you enable the Retain option, the signals are stored on the broker until they are overwritten.
Expression builder:
Other documentation |
|
|---|---|
|
For more information about how to use the expression builder, see the ibaPDA manual. |
|



