74
end of program. The command is allowed only on hardware outputs of PLC
(QI1..QI12).
2.2.13 Contact IF
The operation “conditional comparison IF” allows to compare the values of
2 variables in any memory area. Following comparisons are allowed:
=, >=, <=, >, <, <>. Contact is active when comparison is true.
2.2.14 Functions SBIT and RBIT
Function SBIT sets to “1” a bit of a memory area when the coil of function is
activated.
Function RBIT sets to “0” a bit of a memory area when the coil of function is
activated.
Number of bit is 0 to 15, bit 0 is the less significant bit (LSB).
2.2.15 Contact BIT
This operation rates the value of a bit in a memory area. N.O contact is
closed (On) when bit value is 1. N.C. contact is open (On) when bit value is
0. Number of bit is 0 to 15, bit 0 is the less significant bit (LSB).
2.2.16 Function RANGE
The RANGE fuction defines minimum and maximum limits for analog inputs
AI and for PID outputs.
Concerning analog inputs AI, the minimum and maximum values allow to
traslate the countings value of the analog-digital conversion into a value
which can be used inside the program. Below an example:
RANGE( AI1, Min 10, Max 200)
For analog input AI1 the function defines the minimum limit as 10 and the
maximum limit as 200. In case that analog input AI1 would be connected to
a potentiometer to fix a preset time (PT) of a timer with time-base 100ms,
the result would be a variable time between 1.0 and 20.0 seconds,
accordino to the position of potentiometer.
Concerning PID outputs, minimum and maximum values allow to rate the
value for the output of PID control algorithm. Below an example:
RANGE( PID1, Min 100, Max 500 )
For PID1 output , minimum limit is fixed as 0 and maximum limit is 500.
This means that for output 0% the PID output will be equals to minimum
Summary of Contents for EPL101
Page 1: ...1 PLC P I X S Y S elettronica Manuale Installatore User Manual EPL101...
Page 81: ...81...
Page 82: ...82...
Page 83: ...83...