Use the engineering software EcoStruxure Machine Expert – HVAC to define the communication settings for the External Device.
External Device Settings
Start up the engineering software.
From the menu bar, click the [File] -> [New project].
Select M172 28-42 I/Os 596.11*1in a pull-down
menu for Display
selection, and then click [OK] with any project name.
*1 Numerical
value added with the tail of model name is representing F/W version.
It's could be different depending on your engineering tool version.
And "M172 28-42 I/Os" is replaced with the controller you
have as below.
Controller Name |
Target Name |
|---|---|
M172O / M172P |
M172 07-18 I/Os M172 28-42 I/Os |
M171P Flush |
M171P Flush Mounting |
M171P |
M171P Blind M171P Display |
Connect USB Cable (A to mini-B) between your PC and the target controller.
From the menu bar, click the [On-line] -> [Setup communication…].
Activate [Modbus], then click [Properties] for configuring communication setting for Modbus.
Select USB port.
Navigate to a Commissioning tab.
Click [Connects To The Target] button.
From a tree menu, expand [M172 28-42 I/Os] -> [BIOS parameters] -> [All parameters], select [Ethernet] folder.
Configure parameters are listed below.
Name |
Setting Value |
Notes |
|---|---|---|
Port_ETH_PI |
502 |
Modbus Port Number |
| Ip_1_ETH_PI | 192 |
IP Address In this case, it’s representing “192.168.1.110” |
| Ip_2_ETH_PI | 168 |
|
| Ip_3_ETH_PI | 1 |
|
| Ip_4_ETH_PI | 110 |
|
| DefGtwy_1_ETH_PI | 0 |
Default Gateway In this case, it’s representing “0.0.0.0” |
| DefGtwy_2_ETH_PI | 0 |
|
| DefGtwy_3_ETH_PI | 0 |
|
| DefGtwy_4_ETH_PI | 0 |
|
| NetMsk_1_ETH_PI | 255 |
Network Mask In this case, it’s representing “255.255.255.0” |
| NetMsk_2_ETH_PI | 255 |
|
| NetMsk_3_ETH_PI | 255 |
|
| NetMsk_4_ETH_PI | 0 |
From the menu bar, click [Parameter] ->[Write all].
Reset the controller by power off/on.
To use the HVAC controller, select the [Use HVAC Controller] check box under [Equipment Settings] in the driver’s properties.
When using a string variable, select ["BADC" from top address] from [String Mode] in the driver's properties. The character code that can be used is ASCII only.
When “Use HVAC Controller” is checked, the
following properties become disabled.
- Addressing mode
- IEC61131 Syntax
- Mode
- Communication Optimization
- Preferred Frame Length
- Length
This driver uses variables exported from the EcoStruxure Machine Expert - HVAC. Import the exported variables by clicking [Import] from the toolbar on the variable editor of BLUE.