Arithmetic Function - Lenze 8400 StateLine C Reference Manual

L-force drives; e84avsc series;
Hide thumbs Also See for 8400 StateLine C:
Table of Contents

Advertisement

8400 StateLine C | Reference manual
Function library
System blocks | LS_ParReadWrite_1-3
Parameter
C01092/1...3
C01093/1...3
(from version 06.00.00)
C01094/1...3
(from version 06.00.00)
C01095/1...3
(from version 06.00.00)
16.2.20.1

Arithmetic function

This function extension is available from version 06.00.00!
The integrated arithmetic function allows for easy arithmetic conversion of the process
value to be written or which was read into the format of the target parameter via
parameterisable factors and without the need for an additional arithmetic FB.
 In C01093, the interpretation of the wInHWord and wInLWord inputs can be set to be
able to write to parameters:
Arithmetic mode
0 No arithmetic
(Lenze setting)
1 In16Bit:
LW=+/-32767
2 In16Bit: HW=+/-;
LW=0..65535
3 In32Bit: HW_LW=
+/-2147483647
872
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Possible settings
0 No error
33803 Invalid data type (e.g. STRING)
33804 Limit violation
33806 Invalid code
33813 No element in the selection list
33815 Writing of the parameter not
permitted
33816 Writing of the parameter only
permitted if controller is inhibited
33829 Invalid subcode
33865 No parameter with subcodes
0 No arithmetic
1 In16Bit: LW=+/-32767
2 In16Bit: HW=+/-; LW=0..65535
3 In32Bit: HW_LW=+/-2147483647
-32767
1
wInHWord
INTEGER_32
(4 bytes with sign)
DataHigh component
-
Sign
(0 ≡ positive value)
INTEGER_32
(4 bytes with sign)
DataHigh component
L
Info
Error status
• If bFail = TRUE:
Error status is displayed.
• Subcode 1 = LS_ParReadWrite_1
Subcode 2 = LS_ParReadWrite_2
Subcode 3 = LS_ParReadWrite_3
Arithmetic mode
• Lenze setting: "0: No arithmetic"
Arithmetic function
32767 Numerator
• For internal conversion into
arithmetic modes 1 ... 3.
• Lenze setting: 1
32767 Denominator
• For internal conversion into
arithmetic modes 1 ... 3.
• Lenze setting: 1
wInLWord
Internal conversion
No
(behaviour as before)
DataLow component
INTEGER_16
Yes
(2 bytes with sign)
(see section below)
UNSIGNED_16
(2 bytes without sign)
DataLow component
Firmware ≤ 11.00 - DMS 8.0 EN - 10/2011

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents