At a Glance

Let us assume we want to receive an 8-word (16 byte) telegram from a remote application on a Fipway network.

Illustration

The two stations are connected via a Fipway network.

Programming

Programming in ST:

IF RE(%I0.3.11) THEN
   RCV_TLG(%MW200:2, %MW300,%MW310:8);
END_IF;

Request parameters:

Parameters

Description

%MW200:2

Management table

%MW300

Contains the address of the sender at the end of the exchange.

%MW310:8

Contents of the telegram received

NOTE: When a RCV_TLG function is programmed in an event task, it cannot be used in the MAST or FAST task.

To execute this function synchronously, it is necessary to test the operation report immediately after the program line that activates the execution of this function.