
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 41 -
7.2 How to make a regulator ON-OFF
The purpose of this example is to introduce how to develop a program with ISaGRAF; this
first example will be developed with the ST language.
Our target is to create a Regulator ON-OFF for Compressor (Direct Action).
The diagram of this regulator is:
The meaning of this diagram is:
• IF Temperature is higher than SET+BAND the compressor is ON
• IF Temperature is lower than SET the compressor is OFF
With these information is clear that our VARIABLES are:
• Temperature, type DINT
• SET, type DINT
• BAND, type DINT
• Compressor, type BOOL
Now we can create a new variable group:
Comentarios a estos manuales