ProSoft Technology MVI94-MCM-MHI User Manual
Page 6
Contents
MVI94-MCM ♦ Flex I/O Platform
User Manual
Serial Communications Modbus Communication Module
Page 6 of 109
ProSoft Technology, Inc.
March 29, 2011
4.2
Using the Configuration/Debug Port ....................................................................... 47
4.3
Module Configuration .............................................................................................. 48
4.3.1
Main Menu .............................................................................................................. 48
4.3.2
Master Command Error List Menu.......................................................................... 51
4.3.3
Master Command List Menu ................................................................................... 52
4.3.4
Data Analyzer ......................................................................................................... 53
4.3.5
Database View Menu .............................................................................................. 57
4.4
Error/Status Data .................................................................................................... 60
4.4.1
Error and Status Data Table ................................................................................... 60
4.4.2
Command Error List ................................................................................................ 61
4.4.3
Slave Status List ..................................................................................................... 61
4.4.4
Error Codes ............................................................................................................. 61
4.5
LED Definition ......................................................................................................... 63
4.5.1
PRT1 ....................................................................................................................... 63
4.5.2
U1 ........................................................................................................................... 63
4.5.3
U2 ........................................................................................................................... 63
4.5.4
STS ......................................................................................................................... 63
4.5.5
PRT2 ....................................................................................................................... 63
5
Reference
65
5.1
Product Specifications ............................................................................................ 65
5.1.1
General Specifications ............................................................................................ 65
5.1.2
FLEX I/O Interfaces ................................................................................................ 66
5.1.3
General Specifications - Modbus Master/Slave ...................................................... 66
5.1.4
Functional Specifications ........................................................................................ 67
5.2
Cable Connections ................................................................................................. 68
5.2.1
RS-232 Application Port(s) .................................................................................... 68
5.2.2
RS-232 Configuration/Debug Port .......................................................................... 70
5.2.3
RS-485 Application Port(s) ..................................................................................... 70
5.2.4
RS-422 .................................................................................................................... 71
5.2.5
DB9 to Mini-DIN Adaptor (Cable 09) ...................................................................... 71
5.3
Functional Overview ............................................................................................... 72
5.3.1
About the MODBUS Protocol ................................................................................. 73
5.3.2
Virtual Modbus Database Concepts ....................................................................... 73
5.3.3
Data Transfer .......................................................................................................... 75
5.4
Modbus Protocol Specification ............................................................................... 83
5.4.1
Commands Supported by the Module .................................................................... 83
5.4.2
Read Coil Status (Function Code 01) ..................................................................... 84
5.4.3
Read Input Status (Function Code 02) ................................................................... 85
5.4.4
Read Holding Registers (Function Code 03) .......................................................... 86
5.4.5
Read Input Registers (Function Code 04) .............................................................. 87
5.4.6
Force Single Coil (Function Code 05) .................................................................... 88
5.4.7
Preset Single Register (Function Code 06) ............................................................ 89
5.4.8
Force Multiple Coils (Function Code 15) ................................................................ 90
5.4.9
Preset Multiple Registers (Function Code 16) ........................................................ 91
5.4.10
Modbus Exception Responses ............................................................................... 92
5.5
Configuration Form ................................................................................................. 95
6
Support, Service & Warranty
99
Contacting Technical Support .......................................................................................................... 99
6.1
Return Material Authorization (RMA) Policies and Conditions ............................. 101