Example of One Slave Setting Another Slave to Stop
(Original Document)
At a Glance
PLC with address Ad1= 7 setting slave PLC with address (Ad0 = 8) to STOP:
Transmission
SEND_REQ(ADDR('0.0.1.7'), 16#0025, %MW0:3, %MW40:4, %MW10:1)
Parameters of the request:
Parameters
Description
ADDR(‘0.0.1.7’)
  • 0 : rack
  • 0 : module
  • 1 : channel 1
  • 7 : transmitting address Ad1
16 #0025
STOP request code
%MW0 = 16#FE 00
destination slave address (Ad0 = 8)
%MW1 = 16#FE 05
%MW2 = 16#00 08
%MW43 = 6
length of the data to transmit = 3 words (therefore 6 bytes)