Example of an Exchange from a Slave to a Slave Server
(Original Document)
At a Glance
The Slave transmits a communication function to the slave server:
Transmission
Write a 5-word table in Slave 9 by slaves 6/7/8 using the word %MW50:
SEND_REQ(ADDR('0.0.1.7'), 16#0037, %MW100:11, %MW130:4, %MW120:1)
Parameters of the request:
Parameters
Description
ADDR(‘0.0.1.7’)
  • 0 : rack
  • 0 : module
  • 1 : channel 1
  • 7 : transmitting address Ad1
16 #0037
object write request
%MW100 = 16#FE 00
destination slave address (Ad0 = 9)
%MW101 = 16#FE 05
%MW102 = 16#00 09
%MW103 = 16#07 68
  • type of object = 07 (16 bit integer)
  • segment = 68 (internal words)
%MW104 = 50
in decimal, origin of the table of words to write
%MW105 = 05
in decimal, number of words to write
%MW106 to %MW110
content of words to write to the destination
%MW133 = 22
length of the data to transmit = 11 words (%MW100 to %MW110) therefore 22 bytes
%MW120:1
no response: length 1 byte