Fcode_freecode (node number 141), 10 fcode_freecode (node number 141), Drive plc – Lenze Global Drive PLC Developer Studio User Manual
Page 40: System blocks

2.10
FCODE_FreeCode (node number 141)
Drive PLC
System blocks
2−26
L
DrivePLC DE 6.0
2.10
FCODE_FreeCode (node number 141)
Free codes
At Lenze, controller parameters are called codes. The PLC can be adapted to your application
without additional programming by changing codes.
This SB provides several variables which directly read "free" PLC codes and processes them further
in the PLC program or the codes can be written by the PLC program.
FCODE_bC135Bit15_b
DWORD
TO
BIT/BOOL
C0471
FCODE_bC471Bit0_b
FCODE_bC471Bit31_b
C0472/1
FCODE_nC472_1_a
C0472/20
FCODE_nC472_20_a
FCODE_dnC474_1_p
FCODE_dnC474_5_p
C0475/1
FCODE_nC475_1_v
C0475/2
FCODE_nC475_2_v
% TO INT
INT
INT
FCODE_FreeCodes
FCODE_bC135Bit0_b
C0473/1
FCODE_nC473_1_a
C0473/10
FCODE_nC473_10_a
INT
C0474/1
C0474/5
DINT
...
...
C0135
FCODE_wC135
WORD
FCODE_bC135Bit0_b
FCODE_bC135Bit15_b
...
...
...
...
...
...
...
16 Bit
C0150
WORD
FCODE_bC150Bit0_b
FCODE_bC150Bit15_b
...
16 Bit
FCODE_wC150
C0135
Input &
Output
Fig. 2−16
FCODE_FreeCodes
Code
ð PLC program
PLC program
ð Code
FCODE_...
Cxxxx
Cxxxx
FCODE_...
The PLC codes listed in Fig. 2−16 in boxes on the left−hand side are
directly assigned to the variables listed on the right−hand side.
·
These variables can only be read by the PLC program.
·
See chapter 2.10.1, "Inputs_FCODE"
The variables listed in Fig. 2−16 on the left−hand side are assigned to
the codes listed in boxes on the right−hand side.
·
These codes can only be read from "outside".
·
See chapter 2.10.2, "Outputs_FCODE"
·
Codes are converted into variables (and vice versa) according to a fixed routine.
·
In the code table, you can find the options that can be set and the Lenze settings.
^ 8−16
Tip!
Code C0135 can be read and written via the variables FCODE_bC135Bit0_b ...
FCODE_bC135Bit15_b (input & output).