6. Function blocks
6.1 Manufacturer function blocks
Update
After importing projects created with earlier versions of the programming software
easySoft, check whether the "without offset" address type was used. If it was, you will
need to reprogram the relevant parameters and replace the marker operands with con-
stants.
Offset calculation for addressing marker words
Offset = MW (x-1)*2
Offset calculation for addressing marker double words
Offset = MD (x-1)*4
Parameter error due to incorrect number or offset definition
Bad parameter configurations will be output at program runtime via error outputs E1
through E3.
This type of parameter configuration error will occur, for example, when the number of
elements exceeds the source or destination range or, due to an offset error, the source
or destination range falls outside the available marker range.
Application example
Comparing marker data blocks
I1
MB23
I2
MB30
NO
NU 4
The function block and its parameters
Function block inputs
Description Note
(Bit)
EN 1: Activates the function block. The checkbox for the
Function block release by EN is
necessary
parameter must first be enabled
(DWord)
I1 Source range First marker address (MB, MW, or MD) of
the reference data block or
offset added to marker byte MB01 when
using one of the operands specified
above.
I2 Destination range First marker address (MB, MW or MD) of
the destination data block or
offset to marker byte MB01 when defining
one of the operands stated in the table.
NO Number of elements to be compared:
max. 192 bytes
easyE4 11/18 MN050009 EN www.eaton.com
307