Parameter
|
Type
|
Description
|
---|---|---|
RST
|
bit
|
Setting this bit to 1:
The error code is found in the STATUS word.
|
BUF
|
word table
|
This variable defines the address of the first %MWi word of the buffer in order to send the message.
|
Parameter
|
Type
|
Description
|
---|---|---|
MANAGNT
|
word table
|
Management table common to all DFBs
|
Parameter
|
Type
|
Description
|
---|---|---|
ERROR
|
bit
|
This output bit is set to 1 if the exchange is not carried out correctly.
The STATUS word indicates the type of error that has occurred.
|
Parameter
|
Type
|
Write/Read Variables
|
Description
|
---|---|---|---|
DEST
|
double word
|
W
|
This variable defines the IP address of the remote machine on which the client is connected to the local port.
By default, DEST = 0. The message is sent to the only remote client station connected to the local service port of the PLC.
|
PORT
|
word
|
W
|
This variable defines the local port number to which the remote client is connected.
|
SIZE
|
word
|
W
|
This variable defines the size of the message to be sent, from 0 to 8192 bytes.
|
ACTIVITY
|
bit
|
R
|
This bit is set to 1 when an exchange is in progress. It is set to 0 when the exchange is finished.
|
INHIB
|
bit
|
R
|
This bit enables the error warning to be inhibited. The ERROR output bit and the STATUS word remain at 0 (execution of the block is not interrupted).
|
STATUS
|
word
|
R
|
This word is only meaningful if the ERROR output bit is set to 1. It indicates the error code that occurred during the exchange (each word bit set to 1 indicates an error).
|