Awe_ - Analog Write Ethernet - Siemens 353 User Manual

Process automation controller
Hide thumbs Also See for 353:
Table of Contents

Advertisement

UM353-1B

3.2.17 AWE_ - Analog Write Ethernet

AWE_ function blocks use Modbus command 16
"Preset Multiple Registers" to enable the controller to
write analog data to other Modbus devices over the
Ethernet network.
Up to 32 AWE_ blocks are available. Blocks are
assigned in sequence (e.g. AWE01, AWE02, ...),
controller wide, with each use.
Data can be written as a real floating-point number or
as a 16-bit integer as configured by the DATA TYP
parameter. A Floating point number can be selected to
have one of four byte orders (BYTE ORD) with 1
being the most common (see Table 3-4 under AIE
block description). An integer is converted from the
block input S, which is a floating point number, by the
MIN INT and MAX INT parameters using the range
scaling information obtained from the source function
block in the controller with the range pointer input R.
Both Unsigned Integer (Uint) and Signed Integer (Sint)
options are available. See the table listing parameters
and default values below right.
The IP ADRES parameter is used to configure the IP address of
the destination Modbus device. The MB ADRES parameter
allows a Modbus address to be configured. When connecting to
other Siemens 353 controllers the Modbus address is set to 1. In
some cases, other devices may use a different address or when
going through a Modbus/TCP gateway a Modbus network may
have multiple devices, each having a unique Modbus address.
There are three write update options that can be configured by the UD TYPE parameter.
1. oncE will write once to the MB REG (Modbus Register). The controller will write when the input value
changes by more than the value set with the TRIG DB parameter. This parameter is set based on a percentage
of the range determined by the range pointer input R.
2. P2P will update at the controller peer to peer rate set in the ETHERNET block.
3. Ct will update at the cycle time of the controller.
The Ct option is normally only used when writing to I/O outputs in a PID control loop. Input T can be used to
trigger a write. This would be used in cases where the oncE option has been selected, Input S does not change so as
to trigger a write based on the trigger dead band, and there may be a concern that the receiving device has lost the
value.
Output QS indicates the quality of the write operation and will go high (1) when the write is not completed
successfully. This is normally associated with failure of the destination device to receive data due to a
communication failure or a misconfiguration of the device.
April 2012
ANALOG WRITE - ETHERNET
AWE_
Range
R
ANALOG WRITE
Input S
S
ETHERNET
Input T
T
Quality Status
QS
I P
A D R E S
IP ADdRESs
R
G
P T R
RanGe PoinTeR
I
N
P U T
S
INPUT S
(H)
I
N
P U T
T
INPUT T
(H)
M B
A D R E S
MB ADdRESs
M
B
R E G
ModBus REGister
D A T A
T Y P
Modbus DATA TYPe
B Y
T
E
O R
D
BYTE ORDer
T Y P
U
D
E
UpDate TYPE
T R I G
D B
TRIGger Dead Band
M I N
I N T
MINimum INTeger
M A X
I N T
MAXimum INTeger
Selection
Parameter
MIN INT
Uint
MAX INT
Uint
MIN INT
Sint
MAX INT
Sint
Function Blocks
............ nnn.nnn.nnn.nnn
(192.168.0.0)
(H)
.......... loop tag.block tag
(null)
(H)
........... loop tag.block tag.output
(null)
........... loop tag.block tag.output
(null)
.............................. 0 - 255
(0)
(H)
.................... 1 - 65535
(1)
(H)
.......... FP/Uint/Sint
(FP)
(H)
................................ 1/2/3/4
(1)
(S)
.................... oncE/P2P/Ct
(oncE)
(H)
............ 0.1 - 10.0 %
(0.2)
(S)
................. (see table)
(*)
(S)
................ (see table)
(S)
(*)
Default Value
0
65535
-32768
+32767
3-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents