Difference between revisions of "Modbus IP"

From XDIMAX Products Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Modbus IP Server Configuration ==
 
== Modbus IP Server Configuration ==
 
CoolMasterNet Modbus IP Server is activated with below command:
 
CoolMasterNet Modbus IP Server is activated with below command:
 +
{{Terminal|
 +
>'''modbus IP enable'''<br>
 +
OK, Boot Required!<br>
 +
>
 +
}}
 +
CoolMasterNet has to be restarted to run Modbus IP server for the first time. Same way Modbus IP server can be disabled, in this case instead of '''enable''' type '''disable'''<br>
 +
To quire current Modbus IP server configuration use '''modbus''' command without parameters:
 +
{{Terminal|
 +
>'''modbus'''<br>
 +
ModBus IP    : enabled<br>
 +
server port  : 502<br>
 +
CG4 ignore    : none<br>
 +
OK<br>
 +
>
 +
}}
 +
Modbus IP default TCP/IP port is 502. This is the so called well-known Ethernet port. If required port number can be changed with:
 +
{{Terminal|
 +
>modbus server port 500<br>
 +
OK, Boot Required!<br>
 +
>
 +
}}
 +
  
 
== Understanding Virtual Address (VA) Concept ==
 
== Understanding Virtual Address (VA) Concept ==
 
== Discrete Inputs, Coils and Registers ==
 
== Discrete Inputs, Coils and Registers ==
 
== Usage Example ==
 
== Usage Example ==

Revision as of 05:55, 25 February 2015

Modbus IP Server Configuration

CoolMasterNet Modbus IP Server is activated with below command:

>modbus IP enable
OK, Boot Required!
>


CoolMasterNet has to be restarted to run Modbus IP server for the first time. Same way Modbus IP server can be disabled, in this case instead of enable type disable
To quire current Modbus IP server configuration use modbus command without parameters:

>modbus
ModBus IP  : enabled
server port  : 502
CG4 ignore  : none
OK
>


Modbus IP default TCP/IP port is 502. This is the so called well-known Ethernet port. If required port number can be changed with:

>modbus server port 500
OK, Boot Required!
>



Understanding Virtual Address (VA) Concept

Discrete Inputs, Coils and Registers

Usage Example