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.
發佈於: 施耐德電機Taiwan
需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。