Minimum external wiring for the use of the DIFF module

The minimum external wiring of the technology module for the use with the DIFF module is shown in the following illustration.

Minimum external wiring of the function block

Connection of the thermal sensor

The nActSensorIn sensor input can be directly connected to the output signal of an I/O EPM-S405 (I/O system 1000) complete module. As a rule, an output signal can be scaled via the lrSensorValueGain parameter so that the temperature can be correctly detected. Since the EPM-S405 delivers an integer temperature value with a resolution of 0.1 °C, 0.1 must also be specified in the lrSensorValueGain parameter. This can be monitored at the lrActTemp module output.

Persistent data

Generally, the controller parameters detected in the course of the parameter identification process are to be maintained even if the controller is restarted. For this case, an instance that is part of the persistent variable list has to be connected to the scPersistentData input/output. For the wiring example shown in figure, this would be as follows:

VAR_GLOBAL PERSISTENT RETAIN

scPD : L_TP2P_scPD_TemperatureControlBase;

END_VAR