116 (148)
Network interface
Determines the network interface from which you want to send and receive packets.
Write
This checkbox determines if the list will be a read- or write-list. If the box is enabled, the list is a
write-list, which means that the values contained in the list's variables will be broadcasted to the
other devices of the network. If the list is a read-list it will poll the network for values that
correspond to its variables.
Pack variables
This checkbox determines if the variables in the list will be transmitted in packed or unpacked
mode. In unpacked mode, each variable is transmitted in a separate UDP, while in packed mode
many variables are transmitted at the same time. Each packet can only contain up to 256 bytes of
data, so each variable that exceeds this value will be broadcasted with additional packets.
Transmit checksum
Use a checksum to verify the validity of each list. Incoming packets are automatically determined
if they need a checksum check or not, so this option is only used for write-lists. Please note that
this checksum does not protect against data transfer errors but is only used to check the correct
consistency of the list (that the correct data types are used for each variable).
Acknowledgement
Wait for an acknowledging packet from the receiver device to ensure that the transmission was
successful. Please note that the acknowledgement must take place once during each cycle.
Interval times that are too short might not allow the receiving device to answer in time.
Upload a CODESYS variable list
Using the button you can navigate to your exported CODESYS Network variable list. By pressing
the "Upload List" button, the list will be uploaded and parsed.
Limits
You can define up to 128 lists and 4096 variables
Settings
There are several fields through which some general settings can be configured:
Interval
Defines the interval in milliseconds in which the CODESYS Network Variable driver task will be run
and values for the variables will be read and written from and to the network respectively. Note
that if the interval is too short to read/write all values, a warning message will be shown in the
event log. In this case you should increase the interval. Please note that the timing of reading
variables also depends on the rate with which the sending device is broadcasting packets.
Group variables by
list
If this option is set, variables will be grouped by list. For other I/O interfaces this grouping is
mandatory. For the CODESYS network variable interface is was introduced later and is thus
optional to assure backward compatibility.
Event Log Messages
The following section describes the messages that the CODESYS Network Variables driver may
log to the Event Log. Messages are prefixed with the text "CODESYS Network Variables driver:".
•
The interval is being maintained again.
This message appears after this message, when the interval is being maintained again.
•
The interval has been violated.
The driver was still busy reading/writing values when a new task cycle started. You probably
should increase the interval time.
•
Error receiving CODESYS Network Variable pack with COB-ID
<COB-ID>
, sub-index
<Sub-
Index>
. The received packet contains an invalid float value.
The driver has received a REAL (float) or LREAL (double) value that is invalid.
•
Error receiving CODESYS Network Variable pack with COB-ID
<COB-ID>
, sub-index
<Sub-
Index>
. The received checksum is invalid.
The driver has received a variable packet that contains an erroneous crc32 check value.
Anybus Edge Gateway Reference Guide
SCM-1202-154 1.0 en-US