Is there a way to find out what IP address the BOOTP server assigned to the NOC module?
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.
Publicerad för: Schneider Electric Sverige
Behöver du hjälp?
Produktväljare
Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.
Begär en offert
Ställ din fråga online så kontaktar vi dig.
Här köper du
Hitta enkelt närmaste Schneider Electric-distributör på din ort.
Hjälpcenter
Hitta alla supportresurser som du behöver på ett ställe.