![background image](http://html1.mh-extra.com/html/pixsys/td240-series/td240-series_operation-manual_1560862077.webp)
77
10.12 Contacts IF
The operations of conditional IF compare the values of two
variables of any area of memory. It is possible to carry out the
following types of comparison: = (equal), >= (greater than or
equal), <= (less than or equal), > (more than), < (less than), <>
(not equal). The contact is active when the comparison is true.
10.13 Functions SBIT and RBIT
The function SBIT (set bit) puts a “1” in a bit of a memory area
when the coil of the function is at the active state.
The function RBIT (reset bit) puts a “0” in a bit of a memory area
when the coil of the function is at the active state.
The index of the bit varies from 0 to 15 (the destination area is
always a word), where bit 0 is the least-significant bit (LSB).
10.14 BIT contacts
This operation extracts the value of a bit of an area of memory.
A contact normally open is closed (ON) when the bit value is “1”.
A contact normally closed is open (ON) when the bit value is “0”.
The index of the bit varies from 0 to 15 (the destination area is
always a word), where bit 0 is the least-significant bit (LSB).
10.15 RANGE functions
The function RANGE defines the value of the minimum and maxim
limits for the analog inputs AI, for the trimmer TR, for the analog
outputs AQ, and for the outputs of the PID.
RANGE( AI1, Min 10, Max 200)
The function imposes a minimum limit of 10 and maximum limit of
200 for the analog input AI1. If the analog input AI1 corresponds to
a potentiometer (from a PLC via a serial communication), is used
to establish the preset (PT) of a timer of base time 100 mS, this
Summary of Contents for TD240 series
Page 1: ...Manuale operatore...
Page 2: ...2...
Page 6: ...6 3 Mechanical dimensions and installation...
Page 24: ...24 7 1 Starter Kit Connection of the terminal to the PC...
Page 27: ...27 7 2 1 Creation of a new project...
Page 89: ...89 11 Notes Updates...
Page 90: ...90...
Page 91: ...91...