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.
Gepubliceerd voor: Schneider Electric Belgium




Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.