Configuration of the Publisher
Add a new Publisher Box beneath the RT-Ethernet device.
Insert a Publisher Box
Add a new Publisher Box beneath the RT-Ethernet device.
Insert a Network variable
Insert a Network Variable beneath the box. A name and a datatype for the new network variable is neccessary (i.e. nCounterPub and UINT32/UDINT).
New inputs and outputs will appear beneath the network variable.
FrameState shows the state of the send Ethernet frames.
Possible values are:
Short description |
Value |
Description |
---|---|---|
Not sent (frame skipped) |
0x0001 | |
Error (frame oversized) |
0x0001 |
The limit of a Ethernet frame is exceeded. The mapped variable must have a lower number of bytes. |
With FrameCtrl a Control Word can be written for Ethernet frame.
Possible values are:
Short description |
Value |
Description |
---|---|---|
Disable sending |
0x0001 |
Sending frames is interrupted. When FrameCtrl is zero again sending of frames begins again. |
VarState input shows the state of the network variable.
Possible values are:
Short description |
Value |
Description |
---|---|---|
Not sent (variable skipped) |
0x0001 |
With VarCtrl a control word can be written for each network variable.
Possible values are:
Short description |
Value |
Description |
---|---|---|
Disable publishing |
0x0001 |
Sending network variable is interrupted. When VarCtrl is zero again sending of network variable begins again. |
Mapping
A network variable on the publisher side can be mapped to an output variable of the right datatype of any device. The example shows a mapping of a network variable to an output variable of a PLC.