... |
... |
@@ -119,6 +119,68 @@ |
119 |
119 |
|
120 |
120 |
**✎Note:** COM3 only available in PI8000/PI9000 series. |
121 |
121 |
|
|
122 |
+== {{id name="HModbusMeter"/}}**Modbus ASCII Slave** == |
|
123 |
+ |
|
124 |
+Supported Series: MODBUS ASCII CONTROLLER |
|
125 |
+ |
|
126 |
+HMI works as MODBUS MASTER connecting with SLAVE. |
|
127 |
+ |
|
128 |
+The addresses in [All function] start from 0 |
|
129 |
+ |
|
130 |
+(% style="text-align:center" %) |
|
131 |
+[[image:1732689881232-694.png||height="470" width="605"]] |
|
132 |
+ |
|
133 |
+(% class="wikigeneratedid" %) |
|
134 |
+**HMI Settings** |
|
135 |
+ |
|
136 |
+|**Items**|**Settings**|**Note** |
|
137 |
+|Protocol|MODBUS (ASCII) Slave | |
|
138 |
+|Connection|RS485/RS232| |
|
139 |
+|Baud rate|2400~~187500| |
|
140 |
+|Data bit|8| |
|
141 |
+|Parity|Even/ Odd/ None| |
|
142 |
+|Stop bit|1/2| |
|
143 |
+|PLC station No.|0~~255| |
|
144 |
+ |
|
145 |
+(% class="wikigeneratedid" %) |
|
146 |
+**Address List** |
|
147 |
+ |
|
148 |
+|Type|Address Type|Function code & Description |
|
149 |
+|(% colspan="1" rowspan="6" %)Word|(% colspan="1" rowspan="3" %)3|04 (readinput register:read current binary valenone ormore input reisters) |
|
150 |
+|06 (write single register: write abinary value to a holding register) |
|
151 |
+|10 (write values to multiple addresses |
|
152 |
+|(% colspan="1" rowspan="3" %)4|03(readoldingegister:readcurrent binaryvaluinnermreolingregistes) |
|
153 |
+|06 wite sinleregisterwrite abinary valetaholding register) |
|
154 |
+|10 (write values to multiple addresses ) |
|
155 |
+|(% colspan="1" rowspan="8" %)Bit|(% colspan="1" rowspan="3" %)0|01 (Read coil state) |
|
156 |
+|05 (Force a single coil to force the on/off state of a logic coil) |
|
157 |
+|0F (Write multiple bits, ie write continuously) |
|
158 |
+|(% colspan="1" rowspan="3" %)1| 02 (Read the input state) |
|
159 |
+|05(Force a single coil to force the on/ofstate ofalogic coil |
|
160 |
+|0F (Write multiple bits) |
|
161 |
+|3|Get bit from word address |
|
162 |
+|4|Get bit from word address |
|
163 |
+ |
|
164 |
+(% class="wikigeneratedid" %) |
|
165 |
+Message |
|
166 |
+ |
|
167 |
+(% style="text-align:center" %) |
|
168 |
+[[image:1732691203758-287.png||height="527" width="918"]] |
|
169 |
+ |
|
170 |
+(% class="wikigeneratedid" %) |
|
171 |
+The communication message of this protocol is sent in ASCII format instead of HEX, but its overall message format is similar to HEX. |
|
172 |
+ |
|
173 |
+**Cable Wiring** |
|
174 |
+ |
|
175 |
+* **RS485** |
|
176 |
+ |
|
177 |
+[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_f7a20d394715b397.png||alt="12.PLC Protocol_html_68dfb6d383f0edd9.png" height="244" width="394"]] |
|
178 |
+ |
|
179 |
+* **RS232** |
|
180 |
+ |
|
181 |
+(% class="wikigeneratedid" %) |
|
182 |
+[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_11602f9c716ff03c.png||alt="12.PLC Protocol_html_9030ba679545793b.png" height="241" width="387"]] |
|
183 |
+ |
122 |
122 |
== {{id name="HModbusMeter"/}}**Modbus Meter** == |
123 |
123 |
|
124 |
124 |
The following example is using the Linfee meter LNF96EY to demonstrate how to set up the Modbus communication. |