To retrieve the IP address of the BMENOC without knowing in advance what it is, a READ_VAR request needs to be sent :
1- The configuration of the character string of the ADDMX should follow this rule : 'r.s.c{127.0.0.1}UnitID' , with :
- r : rack number of the BMENOC
- s: slot number of the BMENOC
- c: channel to be used to communicate with BMENOC
- UnitID : if UnitID is not 255, then you need to type in the number
In my example , my BMENOC is located in slot 3 of rack 0 , the string is '0.3.0{127.0.0.1}100'
Then the IP address used is the loopback IP address of the BMENOC module:127.0.0.1 .
2- Then send a modbus request to the BMENOC with the following parameters :
- Enable : trigger
- ADR : ADDM_TYPE with Unit ID =100
- OBJ : '%MW'
- NUM : 5
- NB: 2
- GEST : exchange management array of 4 INT, do not forget to define a timeout (3rd INT of the array)
The array RECP_NOC[1..2] contains the IP address of the BMENOC in hexadecimal format.
Udgivet til: Schneider Electric Danmark




Brug for hjælp?
Produktvælger
Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.
Få et tilbud
Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.
Find forhandler
Find den nærmeste Schneider Electric-distributør.
Hjælpecenter
Find supportressourcer til alle dine behov på ét sted.