What Modbus Function Codes are supported on the Magelis that are using Vijeo Designer Runtime?
Issue
What Modbus Function Codes are supported on the Magelis that are using Vijeo Designer Runtime?
Product Line
Vijeo Designer Runtime
Harmony HMIGTO/GTU/STO/STU, Magelis XBTG/GH/GK/GT, Magelis iPC, Panel PC, Box PC
Environment
Physical HMI
Resolution
Below is the Table of Modbus function codes used by the Magelis/Harmony HMI families running Vijeo Designer.
| Classes | Function name | Function code (hex) |
| Basic | Read Holding registers | 03 |
| Base | Write Multiple registers | 10 |
| Regular | Read Coils | 01 |
| Regular | Read Discrete Inputs | 02 |
| Regular | Write Multiple Coils | 0F |
| Regular | Diagnostic | 08 |
| Supplementary services | Read Input registers | 04 |
| Supplementary services | Write Single Coil | 05 |
| Supplementary services | Write Single register | 06 |
| Supplementary services | Read Device Identification (only for Modbus TC/IP with target machine server) | 2B |
By default the HMI uses the Function Code 10 (FC 10) to write multiple registers.
However, some devices do not know this function code. When a device doesn’t know FC 10, the HMI will automatically use (without any error code) FC 06.
In the same way, the HMI will use FC 05 instead of FC 0F. In addition, FC 06 and FC 05 will always be used if Preferred Frame Length is set to Minimum possible.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance:
發佈於: 施耐德電機Taiwan
需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。