![background image](http://html1.mh-extra.com/html/eaton/easye4-series/easye4-series_manual_3910990401.webp)
6. Function blocks
6.1 Manufacturer function blocks
6.1.7.9 NC - Numerical converter
General
easyE4base devices provide 32 numerical conversion function
blocks NC01...NC32.
A decimal number can be represented either as being binary-
coded or BCD-coded. Depending on the operating mode you
select, this function block will convert BCD-coded numbers to
binary-coded numbers (BCD mode) or vice verse, i.e., binary-
coded numbers to BCD-coded numbers (BIN mode).
Operating principle
EN=1 enables the function block so that the number conversion will be carried out
every cycle. The following applies when using LD, FBD, ST: As soon as there is a
changed value at I1, the new conversion value will appear at output QV. When using
EDP, the converted value will be provided until the next cycle.
The maximum data size that can be connected to the inputs/outputs is a double word
(32 bits). A BCD-coded number requires four bits (a nibble). This means that the biggest
BCD-coded numbers that can be converted are 7-digit BCD-coded numbers, since the
most significant nibble is used for the sign.
0000 means +
1111 means –
EN=0 initiates a reset in which the output QV is reset to 0.
The function block and its parameters
Function block inputs
Description
Note
(Bit)
EN
1: Activates the function block.
(DWord)
I1
Operand to be converted
Integer value range,
decimal not all the way due to BCD lim-
itation
BCD: -9 999 999 … +9 999 999
Decimal: -161 061 273 … +161 061 273
Assigning operands
You can assign the following operands to the function block inputs that are numeric
inputs.
easyE4
11/18 MN050009 EN www.eaton.com
397
Содержание easyE4 series
Страница 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Страница 4: ......
Страница 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Страница 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Страница 40: ...1 easyE4 control relays description 1 10 Safety regulations 36 easyE4 11 18 MN050009 EN www eaton com...
Страница 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Страница 462: ...6 Function blocks 6 4 Timing and counter relay example 458 easyE4 11 18 MN050009 EN www eaton com...
Страница 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Страница 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Страница 524: ...10 Diagnostics messages of the operating system 10 2 Diagnostics buffer 520 easyE4 11 18 MN050009 EN www eaton com...
Страница 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Страница 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Страница 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Страница 594: ...590 easyE4 11 18 MN050009 EN www eaton com...
Страница 614: ...610 easyE4 11 18 MN050009 EN www eaton com...