background image

 

23

5 Modbus/TCP Command Set 

This chapter introduces the Modbus/TCP command set JetI/O provided. When you 
creating application for your SCADA/HMI or coding your own programs. The command 
set is helpful for you to find the value of each registers. 

Following topics are covered in this chapter: 

5.1  Introduction of Modbus/TCP Protocol 

5.2  JetI/O 6510 Modbus/TCP Address Mapping 

 

5.1  Introduction of Modbus/TCP Protocol 

5.1.1 Modbus/TCP 

Protocol 

The Modbus protocol, developed by Gould-Modicon, is widely used in industrial 
communications to integrate PLC’s, computer, terminals and other various I/O devices. 
Intelligent JetI/O Server equipped with communication interface provides an Ethernet 
communication links with Modbus/TCP protocol support. 

Modbus/TCP is a variant of the Modbus family of communication protocol.    Modbus/TCP 
is a Master/Slave communication protocol. A master (a host PC) initiates queries, a slave 
(one of the JetI/O servers) then responds by supplying the requested data to the master by 
using Modbus/TCP commands. 

 

5.1.2 

  Function Code (FC) 

The Intelligent JetI/O Server uses a subset of the standard Modbus/TCP function code to 
access device-dependent information. Modbus/TCP function code is defined as below. 

FC Name 

Usage 

01 

Read Coils 

Read the state of a digital output 

02 

Read Input Status 

Read the state of a digital input 

03 

Read Holding Register 

Read holding register in 16-bits register format 

04 

Read Input Registers 

Read data in 16-bits register format 

05 

Write Coil 

Write data to force a digital output ON/OFF 

06 

Write Single Register 

Write data in 16-bits register format   

15 

Force Multiple Coils 

Write data to force multiple consecutive coils 

 

5.1.3  

Error 

Checking 

The utilization of the error checking will help eliminate errors caused by noise in the 
communication link. In Modbus/TCP mode, messages include an error-checking field that 
is based on a Cyclical Redundancy Check (CRC) method. The CRC filed checks the 
contents of the entire message. It applied regardless of any parity check method used for 
the individual BYTE acters of the message. The CRC value is calculated by the 
transmitting device, which appends the CRC to the message. The receiving device 
recalculates a CRC during receipt of the message, and compares the calculated value to 
the actual value it received in the CRC filed.   

Summary of Contents for JetI/O 6500 Series

Page 1: ...Korenix JetI O 6510 Industrial Intelligent Ethernet I O Server User s Manual Jan 2008 V0 1 www korenix com...

Page 2: ...O 6510 Industrial Intelligent Ethernet I O Server User s Manual Copyright Notice Copyright 2008 Korenix Technology Co Ltd All rights reserved Reproduction in any form or by any means without permissio...

Page 3: ...ing Earth Ground 7 2 6 Wiring Fast Ethernet Ports 7 2 7 Din Rail Mounting Installation 7 3 Preparation for Management 9 3 1 Understand the Ethernet I O Server Architecture 9 3 2 Preparation for Remote...

Page 4: ...series provides Windows Utilities Web and SNMP for configuration And support Modbus TCP protocol OPC Server for Modbus TCP thus user can easily monitor and control the remote I O devices and combine t...

Page 5: ...uipped with one Etherent port and 8 channels Analog Input connectors Jet I O 6510 provides 16 bit resolution and high accuracy for I O data collecting The analog input range can support from 150mV to...

Page 6: ...Power Requirements Ethernet IEEE 802 3 10Base T System Power external unregulated 24V 18 32V IEEE 802 3u 100Base TX Power Consumption Max 3 2W Connector 1 RJ 45 Auto MDI MDI X Mechanical Protection Bu...

Page 7: ...ation information Following topics are covered in this chapter 2 1 Hardware Introduction Dimension Appearance LED Indicators 2 2 Wiring Power Input 2 3 Wiring I O Connectors 2 4 Wiring Ethernet Ports...

Page 8: ...he terminal block connector 2 Tighten the wire clamp screws to prevent DC wires from being loosened 3 Connect to and turn on the power source The suitable working voltage is 24VDC 4 When the unit is r...

Page 9: ...nalog current input wiring example Pin No Description Pin No Description 1 Vin1 Differential input CH1 9 Vin0 Differential input CH0 2 Vin1 Differential input CH1 10 Vin0 Differential input CH0 3 Vin3...

Page 10: ...the attached switch or host The link LED will light up when the cable is correctly connected Refer to the LED Indicators section for descriptions of each LED indicator Always make sure that the cable...

Page 11: ...8 c Check if DIN Rail clip is tightly attached on the track d To remove JetI O 6500 from the track reverse the steps above...

Page 12: ...shows the JetI O Intelligent Ethernet I O Server Architecrure In the top level shows the typical applications run in the remote I O environment The middle level is the Etherent infrasture The low lev...

Page 13: ...e to the IP conflict At this time you should change their IP address first The JetI O Block I O configuration utility or Device Finder Utility can help you to do this Note 1 Device Finder Utility allo...

Page 14: ...otocol 4 6 2 JetI O 6510 Modbus TCP command set 4 1 Block I O Configuration Utility Block I O Utility is the major JetI O Configuration Utility With this tool you can browse the available units view t...

Page 15: ...r window Then click Next 5 Click Next in the Starting Copying File window to continue the setup progress 6 As long as you see the Setup Complete window that means the progress is finished Click Finish...

Page 16: ...then press Open to enable the network Interface The right indicator will show Green after you opened the interface Click Cloos can close the network interface 2 Click Scan to open the Scan Network Mo...

Page 17: ...4 Move the mouse over to one of the JetI O units Select the unit then you can configure and monitor the configurations of the JetI O The features Block I O Configuration utility provides are similar...

Page 18: ...Blinking The indicator in the bottom of the Data Area means the utility is monitoring the status of the channels If there is error occurred the color become to red or not light 4 1 3 3 Go to Alarm pag...

Page 19: ...PC Server Utility 1 Go to Start Program then you can see the Block IO Utility Korenix folder There are 2 utilities are installed Block IO OPC Server and Block IO Utility 2 Open the Block IO OPC Server...

Page 20: ...the driver name and correct IP address Click OK to next popup windows for Driver Selection Use Edit Comm Setting can modify the parameters Figure 4 1 Add the New Device Figure 4 2 Installed Driver Sel...

Page 21: ...and fill the Tag Properties in the popup window Select the tag and Edit Properties you can modify the tag properties 7 Select Add Generate Tags the utility generate all the channels tags for the devi...

Page 22: ...read them Description The description of this channel you can munually change this value 8 Select View Monitor to monitor the status of the tags Or you can click the Monitor icon in the UI 9 Select Fi...

Page 23: ...9 Click Upgrade to upload the new firmware 10 Click Exit to exit the program 4 4 SNMP Simple Network Management Protocol SNMP is a protocol used for exchanging management information between network...

Page 24: ...ing utility we recommend the freeware utility TFTP32 You can easily download the tool in the web site http tftpd32 jounin net 1 Download the file and run it first 2 Browse the Current Directory of the...

Page 25: ...get dynamic IP and download file from the TFTP32 The popup window shows you the upgrading progress in TFTP32 5 After firmware file downloading finished The JetI O server s firmware can be upgraded au...

Page 26: ...ligent JetI O Server uses a subset of the standard Modbus TCP function code to access device dependent information Modbus TCP function code is defined as below FC Name Usage 01 Read Coils Read the sta...

Page 27: ...accepted the request and processing it but a long duration of time will be required to do so 06 Slave Device Busy The slave is engaged in processing a long duration program command 07 Negative Acknowl...

Page 28: ...500mV 0CH 150mV 0DH 20mA 000B 40012 R W Offset calibration R no used W AABB AABB FF00H 000C 40013 R W Span calibration R no used W AABB AABB FF00H JetI O 6510 Special Register Map Holding Registers 00...

Page 29: ...AA 00 BB XXXXXXXX Binary X 1 Enable X 0 Disable 001E 40031 R W Enable Disable alarm status R W xxxxxxxx Binary X 1 Enable X 0 Disable Least bit means the channel 0 001F 40032 R W Read write SNMP Trap...

Page 30: ...100 0mV 100 0mV Input Range 500mV EC78 1388 500 0mV 500 0mV Input Range 150mV Return Value FA24 05DC 150 0mV 150 0mV Input Range 20mA B1E0 4E20 20 000mA 20 000mA 0001 30002 R Analog input signal Chann...

Page 31: ...SIZE 0 31 Public Read Only sysUpTime The sysUpTime directive is used to measures the time in hundredths of a second since the last system restart SYNTAX DisplayString SIZE 0 31 Public Read Only sysCo...

Page 32: ...put signal Channel 3 SYNTAX INTEGER 0 65535 Private Read Only eioAin04Value Analog input signal Channel 4 SYNTAX INTEGER 0 65535 Private Read Only eioAin05Value Analog input signal Channel 5 SYNTAX IN...

Reviews: