5 Function blocks
5.4 BT, Data block Transformer
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
151
•
Constant.
•
Output ..QV of a function block.
The value at the input is taken as the offset to marker byte MB01.
Offset calculation for addressing marker words:
Offset = MW (x - 1) x 2
Offset calculation for addressing marker double words:
Offset = MD (x - 1) x 4
Function of the function block
The transfer data block function block has two operating modes.
Initializing INI marker ranges
There is one source range and one destination range. The source range is
specified at I1. The length of the source range is one byte. The destination
range is specified at I2. The length of the destination range is specified by
the number of bytes at the NO input.
The content of the source range is transferred to the marker bytes in the
destination range.
The function block carries out a transfer on a rising edge at coil T_ (Trigger).
The error contacts E1, E2 and E3 are evaluated regardless of the status of
the trigger.
Example 1:
Initializing marker blocks, direct definition marker ranges
The value of marker byte 10 is to be transferred to marker bytes 20 to 24.
→
The offset definition enables you to address the marker ranges
(e.g. MB380) that you cannot address when using marker
operands (direct addressing).
→
No data blocks are initialized or copied in the event of an error.
Memory
48 + per
4 Byte/Constant at function block input
Cycle time [
μ
s]
Mode=INI/CPY
easy800 standard
easy800-SWD
1 Byte
64
18
10 Bytes
50
26
100 Bytes
71
42