Instructions

Circuit program development
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
79
Fig. 7.22
The block ReadFromFB is used to read the current value of an FB parameter and use it
in the program. The using is the same as of the WriteToFB block.
Fig. 7.23
7.8 Conversion blocks
Fig. 7.24
Conversion blocks are universal blocks used to convert an input value of any type into a
value of a certain type. There are three blocks available in the Insert toolbar (Table 2.6):
Table 7.3 Conversion blocks
Conversion to BOOL
Conversion of INT or REAL to BOOL
(If the input value > 0, the output = 1 / True)
Conversion to INT
Conversion of BOOL or REAL to INT
(REAL is rounded down to INT)
Conversion to REAL
Conversion of BOOL or INT to REAL
To add the conversion block to the program click one of the three icons in the toolbar In-
sert (Table 2.6), then click the desired place in the workspace.
Fig. 7.25
7.9 Arrange elements
The sequence numbers of the function blocks can be automatically re-assigned by click-
ing the button Arrange elements in the toolbar Service (Table 2.6). The blocks of the
same type are numbered sequentially from top to bottom and from left to right.