Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-195
Value ranges of data types
Data type Representable numerical range
REAL (Digits := 1) - 999999.9 to + 999999.9
REAL (Digits := 2) - 99999.99 to + 99999.99
REAL (Digits := 3) - 9999.999 to + 9999.999
REAL (Digits := 4) - 999.9999 to + 999.9999
Call example
CALL FC 13 (
Row := MB 26,
ChrArray := "strdat".disp, //DB with name strdat in
//data element symbol table
//disp is declared as string[32]
//and assigned entirely
//with character
Convert := M 90.1,
Addr := P#M 20.0, //Number to be converted
DataType := MB 28, //Data type of the variables
StringAddr := MW 30,
Digits := B#16#3, //3 decimal places
Error := M 90.2);
2.12.20 FC 15: POS_AX positioning of linear and rotary axes
Description of functions
(Do not use for new applications, function is integrated in FC 18 in SW 3.6 and higher.)
FC POS_AX can be used to traverse axes in any operating mode, also from the PLC. (See
also Description of Functions Positioning Axes SW 2).
In order to traverse the NC axes via the PLC, the traversing check must be activated for the
PLC.
This can be achieved, for example, by calling FC "POS_AX" with activation of the "Start"
parameter.
FC "POS_AX" then requests an axis check by the NC.
The NC feeds back the status of this axis in byte 68 in the associated axis interface (DB 31,
...) (see interface lists).
Once the axis check has been completed ("InPos" is True, "Start" changes to zero), it is
switched to a neutral state by FC POS AX.