Function Description
The READ_ASYN
function is used to read 1 Kbyte of
data via the asynchronous messaging channel of TSX ETY modules in
TCP/IP mode.
The following data can be read-accessed:
internal bits,
internal words.
Asynchronous reading can only take place between two stations on the same Ethernet TCP/IP network segment.
The READ_ASYN
function is sent at the end of the MAST task only if this is configured
in periodic mode. It is possible to activate 8 functions simultaneously.
The operating principle is identical to that of the WRITE_ASYN
function.
The size of the send and receive buffers is expressed in words. It is 512 words, or 1024 bytes.
READ_ASYN
function uses the UNI-TE V2.0 protocol.The additional parameters EN
and ENO
can be configured.
FBD representation
Representation:

LD representation
Representation:

IL representation
Representation:
LD Address
READ_ASYN Object_Type, First_Object, Object_Number, Management_Param, Receiving_Array
ST representation
Representation:
READ_ASYN(Address, Object_Type, First_Object, Object_Number, Management_Param, Receiving_Array);
Parameter Description
The following table describes the input parameters:
Parameter |
Type |
Comment |
---|---|---|
|
ARRAY [0.. 5] OF |
Address of the destination entity
of the exchange. Addresses are of the type: |
|
|
Type of objects to read:
|
|
|
Index of the first object to read. |
|
|
Number of objects to read. |
The following table describes the input/output parameters:
Parameter |
Type |
Comment |
---|---|---|
|
ARRAY [0.. 3] OF |
The following table describes the output parameters:
Parameter |
Type |
Comment |
---|---|---|
|
ARRAY [n... m] OF |
Word table containing the value of the objects read. |