7 multiple units (rs485 multidrop mode), Programming guide – RayTek MI Miniature Infrared Sensor User Manual

Page 84

Advertising
background image

Programming Guide

 

76 

MI 

11.7 Multiple Units (RS485 Multidrop Mode) 

Up to 32 units can be connected within a RS485 network, see section 
5.6 

Installing  of  Multiple  Sensors  via  RS485

  on  page  31.  To  direct  a 

command  to  one  unit  among  the  32  possible,  it  is  necessary  to 
„address“  a  command.  Therefore,  a  3‐digit  number  is  set  prior  the 
command.  The  3‐digit  number  is  determined  between  001  and  032. 
Exception: Broadcast command. 
If a command is transferred, starting with the 3‐digit number 000, all 
units  (with  addresses  from  001  to  032)  connected  will  get  this 
command – without to send an answer. 
Note:  A  unit  with  the  address  000  is  a  single  unit  and  not  in 
multidrop mode. 

XA=024  will set address to 24 (unit must not be in multidrop mode) 

Changing an address: 
(e.g. the address is change from 24 to 17) 

command 

answer 

„017?E“ 

„017E0.950“ 

„017XA=024“ 

“017XA024” setting of a new address 

„024?E“ 

„024E0.950“ 

Example for the broadcast command: 

command 

answer 

“024?E” 

“024E0.950” 

“000E=0.5” 

will be executed from all units, no answer 

“024?E” 

“024E0.500” 

“012?E” 

“012E0.500” 

Advertising