Function Description
The UNITE_SERVER
function is used to process UNI-TE
requests immediately from the application program.
This function can be activated in the MAST task or the FAST task.
UNITE_SERVER
function
can be activated by the application.UNITE_SERVER
function is used to process requests from a
Modbus link (TSX SCP 114 PCMCIA card in a TSX SCY 21601 module configured
as a Modbus slave with immediate
server). The additional parameters EN
and ENO
can be configured.
Exchange principle
The following diagram illustrates the exchanges made during
the use of the UNITE_SERVER
communication function.

FBD representation
Representation:

LD representation
Representation:

IL representation
Representation:
LD Management_Param
UNITE_SERVER Address, Received_Codes
ST representation
Representation:
UNITE_SERVER(Management_Param, Address, Received_Codes);
Parameter Description
The following table describes the input/output parameters:
Parameter |
Type |
Comment |
---|---|---|
|
ARRAY [0.. 1] OF |
Table of words used to manage the exchange. This table is made up of 2 words: the first word contains the exchange number and the activity bit, the second word contains the report. The report comprises:
The communication report takes one of the following values:
Note: When a message is refused (code 16#FF), the operation report can then take the value 16#14 (server stopped). |
The following table describes the output parameters:
Parameter |
Type |
Comment |
---|---|---|
|
ARRAY [0.. 2] OF |
Address of the destination entity of the exchange. This address corresponds to the channel to which the sender of the request is linked. |
|
|
At the end of the exchange, this word contains:
|