19 fcode_freecode (node number 141), System modules, Fcode_freecode (node number 141) – Lenze ECSCAxxx User Manual
Page 347

System modules
FCODE_FreeCode (node number 141)
l
347
EDBCSXA064 EN 3.2
13.19
FCODE_FreeCode (node number 141)
At Lenze, drive parameters are called codes. By changing the code values, the controller can
be adapted to the corresponding application without any additional programming effort.
This SB provides different variables. The variables can be directly read out by means of the
assigned "free" codes of the ECSxA... axis module and can be processed in the PLC program.
C0017
C0141
C0109/1
C0108/2
C0037
C0108/1
C0135
C0109/2
rpm TO INT
rpm TO INT
DWORD
TO
BIT/BOOL
C0472/1
C0473/1
C0474/1
C0472/20
C0473/10
C0474/5
BOOL
C0250
DINT
C0475/1
C0475/2
% TO INT
% TO INT
INT
INT
FCODE_FreeCode
16 Bit
C0027/1
C0026/2
C0026/1
C0027/2
% TO INT
C0032
INT
...
...
C0471
C0470
...
...
...
...
...
FCODE_nC17_a
FCODE_nC37_a
FCODE_nC141_a
FCODE_nC108_1_a
FCODE_nC108_2_a
FCODE_nC109_2_a
FCODE_bC135Bit0_b
FCODE_nC109_1_a
FCODE_bC471Bit0_b
FCODE_bC471Bit31_b
FCODE_bC250_b
FCODE_nC472_1_a
FCODE_nC472_20_a
FCODE_nC473_1_a
FCODE_nC473_10_a
FCODE_nC475_2_v
FCODE_bC135Bit15_b
FCODE_dnC474_1_p
FCODE_dnC474_5_p
FCODE_nC475_1_v
FCODE_nC26_a
FCODE_nC26_a
FCODE_nC27_a
FCODE_nC27_a
FCODE_nC32_a
ECSXA261
Fig. 13−28
System block "FCODE_FreeCode"
)
Note!
ƒ
The code C0032 only is available as of software version 7.0.
ƒ
The free code C0470 is placed on the same memory address as the code
C0471. C0470 can be read out via the variables assigned to the C0471
FCODE_bC0471Bit0_b ... FCODE_bC0471Bit31_b.
In contrast to code C0471, which can accept a 32−bit value, code C0470 is
divided into four subcodes with 8 bits each.
ƒ
The values in the codes (
) of the SB are assigned to the respective variables.
ƒ
The code value is converted into a variable value via a fixed scaling routine.
Example:
It is possible to enter a percentage [%] (e. g. by means of the keypad) to code C0472/1
of the ECSxA... axis module. The value is directly assigned to the variable
FCODE_nC0472_1_a (data type "integer") and can be further processed in the PLC
program.