TABLE OF CONTENTS
II
8. Function Codes .........................................................................................................................39
8.1. Message Format........................................................................................................................ 39
8.1.1. Query Messages ...................................................................................................... 39
8.1.2. Response Messages ............................................................................................... 39
8.2. Function Code 02 – Read Input Status ................................................................................. 40
8.3. Function Code 03 – Read Holding Registers ....................................................................... 40
8.4. Function Code 04 – Read Input Registers ........................................................................... 40
8.5. Data Presentation for Function Code 03 and 04 ................................................................41
8.6. Function Code 06 – Preset Single Register ..........................................................................41
8.7. Function Code 08 – Preset Single Register ..........................................................................41
8.8. Function Code 16 – Preset Multiple Register ...................................................................... 42
8.9. Restrictions ................................................................................................................................ 42
8.9.1. General....................................................................................................................... 42
8.9.2. Modbus RTU ............................................................................................................. 42
8.10. Exception Code Handling ........................................................................................................ 43
9. Data Mapping ........................................................................................................................... 44
9.1. User Data Map ........................................................................................................................... 44
9.2. Default Data Map ...................................................................................................................... 44
9.2.1. Monitoring (Inputs from M10x-M) ....................................................................... 44
9.2.2. Monitoring with Function Code 02 ..................................................................... 45
9.2.3. Monitoring with Function Code 03 and 04 ....................................................... 50
9.2.4. Extended Status Description ................................................................................ 51
9.2.5. Control Commands ................................................................................................. 54
9.2.6. Switching Commands ............................................................................................ 55
9.2.7. Switching Commands
–
Bit Control ..................................................................... 56
9.2.8. Redundant MNS Digital Gateway Modbus Data ............................................... 57
9.2.9. Control Access ......................................................................................................... 58
10. Troubleshooting and Maintenance ........................................................................................ 60
10.1. MNS Digital Gateway LED Indication .................................................................................... 60
10.2. Troubleshooting ........................................................................................................................ 63