Example of an Exchange from a Slave to the Master System
(Original Document)
At a Glance
The slave transmits a communication function to the Master system:
Transmission
Send the identification request:
SEND_REQ(ADDR('0.0.1.7'), 15, %MW0:3, %MW40:4, %MW10:30)
Parameters of the request:
Parameters
Description
ADDR(‘0.0.1.7’)
  • 0 : rack
  • 0 : module
  • 1 : channel 1
  • 7 : transmitting address Ad1
15 or 16 #0F
identification request
%MW0 = 16#FE 00
access to the Master system gate
%MW1 = 16#00 00
%MW2 = 16#00 00
%MW43 = 6
transmission of 3 words (= 6 bytes)
Reception
After the exchange:
Parameters
Description
%MW40 = 16# 11 00
-
%MW41 = 16# 3F 00
16#3F = report >0 (request code + 16#30)
%MW42 = 16# 00 00
-
%MW43 = 16# 00 14
reception of 14 bytes from %MW10