Minimum external wiring for the use of the PWM module

The minimum external wiring of the L_TP2P_TemperatureControlBase module for use with the PWM module is shown in the following graphic.

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.

Connection of a solid state relay for heating control

A heating element is typically controlled via a solid state relay which can be directly connected to the xPWMOut module output.

Notice

If the heating is to be controlled via a mechanical relay, the PWM period ( lrPWMPeriod parameter) is to be extended to 10 s, for example.

This can prevent excessive contact actuation and therefore premature closing of the relay.

Persistent data

If the controller parameters determined in the course of the parameter identification process are to be maintained even if the controller is restarted, an instance that is part of the persistent variable list has to be connected to scPersistentData (VAR_IN_OUT). For the wiring example shown in the figure, this would be as follows:

VAR_GLOBAL PERSISTENT RETAIN

scPD : L_TP2P_scPD_TemperatureControlBase;

END