At a Glance

Station 2 of network 20 must send an identification request to the device with address Ad0=3 on the Uni-Telway bus of station 1 of the same network. The identification request has the decimal code 15 (or 16#0F).

The management table is located at %MW10:4.

Illustration

The two stations are connected via a Fipway network:

Programming

Programming in ST:

IF RE(%I0.3.2) AND NOT %MW10.0 THEN
   SEND_REQ(ADDR(’{20.1}0.5.1.3’),15,%MW0:1, %MW10:4,%MW100:24);
END_IF;

Request parameters:

Parameters

Description

ADDR(‘{20.1}0.5.1.3’)

  • {20.1}: network 20, station 1

  • 0: rack

  • 5: module

  • 1: channel 1

  • 3: destination address

15

Request 15 (or 16#0F if the coding is hexadecimal)

%MW0:1

Data sent (for example: no data to send)

%MW10:4

Management table

%MW100:24

Contents of the response (reception of 24 words)

NOTE: Each time the function is launched, initialize the length parameter (in the example: %MW13 = 0).