Advertisement

Quick Links

MV Series Controllers RS-485 Communication Instruction Manual
1.1 General -----------------------------------------------------------------------------1
2.1 Communication Specifications ----------------------------------------------------2
3.1 Terminal Allocation ----------------------------------------------------------------3
3.2 Wiring ------------------------------------------------------------------------------3
4.1 Set Items ---------------------------------------------------------------------------4
4.2 Setting Operation Method --------------------------------------------------------5
5.1 General -----------------------------------------------------------------------------6
5.2 Composition of Message ----------------------------------------------------------6
5.3 Response of Slave Station ---------------------------------------------------------7
5.4 Function Code ---------------------------------------------------------------------8
5.5 Calculation of Error Check Code (CRC-16) ----------------------------------------8
5.6 Transmission Control Procedure --------------------------------------------------9
6.1 Read-out of Word Data [Function Code: 03] -------------------------------------11
7.1 Data Format -----------------------------------------------------------------------14
7.2 Data Address Map ----------------------------------------------------------------15
8.1 Troubleshooting ------------------------------------------------------------------17
SetPro
MODBUS Protocol Reference Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SetPro MV Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Gigarise SetPro MV Series

  • Page 1: Table Of Contents

    SetPro MV Series Controllers RS-485 Communication Instruction Manual MODBUS Protocol Reference Guide 1. COMMUNICATION FUNCTIONS 1.1 General -----------------------------------------------------------------------------1 2. SPECIFICATIONS 2.1 Communication Specifications ----------------------------------------------------2 3. CONNECTION 3.1 Terminal Allocation ----------------------------------------------------------------3 3.2 Wiring ------------------------------------------------------------------------------3 4. SETTING OF COMMUNICATION CONDITION 4.1 Set Items ---------------------------------------------------------------------------4 4.2 Setting Operation Method --------------------------------------------------------5 5.
  • Page 2: Communication Functions

    Version 4.0 1. Communication Functions 1.1 General MV-D94 provides a communication function by RS-485 interface, by which it can transmit and receive data to and from host computer, programmable controller, graphic display panel, etc. The communication system consists of master station and slave stations. Up to 255slave station can be connected per master station.
  • Page 3: Specifications

    Version 4.0 2. Specifications 2.1 Communication Specifications Item Specification Electrical specification Based on EIA RS-485 Transmit system 2-wire, semi-duplicate Synchronizing system Asynchronous mode Connection format 1 : N Number connection unit Up to 255 units Transmission distance 500m max Transmission speed 2400 / 4800 / 9600 / 19200 selectable Start bit 1 bit...
  • Page 4: Connection

    Version 4.0 3. Connection WARNING !! For avoiding electric shock and malfunctions, don’t turn on the power supply until all wiring has been completed. 3.1 Terminal Allocation Terminal number Signal name 3.2 Wiring Use twisted pair cables with shield. Recommended cable: UL2464, UL2448, etc. The total extension length of the cable is up to 500m.
  • Page 5: Setting Of Communication Condition

    Version 4.0 4. SETTING OF COMMUNICATION CONDITION In order that the master station and MV-D94 can correctly communicate, following settings are required. All communication condition settings of the master station are the same as those of MV-D94. MV-D94 connected on a line are set to address (ADDR), which are different from each other.
  • Page 6: Setting Operation Method

    Version 4.0 4.2 Setting Operation Method The following example shows how to set the communication condition. Example: Setting a transmission speed is 9600 bps and address at 12 on a station. Key operation Indication Description Power ON 25/100 Power on running state (PV/SV indication) Press SET key simultaneously for approximately 5 SET (5 seconds) PB seconds to get level parameter.
  • Page 7: Modbus Communication Protocol

    Version 4.0 5. MODBUS COMMUNICATION PROTOCOL 5.1 General The communication system by the MODBUS protocol is that the communication is always started from the master station and a slave station responds to the received message. Transmission procedures is as shown below. 1.
  • Page 8: Response Of Slave Station

    Version 4.0 3. Function This is a code to designate the function executed at a slave station. When a message is sent from a master to a slave device the function code field tells the slave what kind of action to perform. When the slave responds to the master, it uses the function code field to indicate either a normal response or that some kind of error occurred.
  • Page 9: Function Code

    Version 4.0 ADDRESS FUNCTION (Function code + 80H) ERROR CODE CRC CHECK 8 BITS 8 BITS 8 BITS 16 BITS Error Code Contents Description The function code received is not an allowable Illegal function action for the slave. The data address received is not an allowable Illegal data address address for the slave.
  • Page 10: Transmission Control Procedure

    Version 4.0 4. Repeat step 3 until 8 shifts have been performed. When this is done, a complete 8-bit byte will have been processed. 5. Repeat step 2 through 5 for the next 8-bit byte of the message. Continue doing this until all bytes have been processed.
  • Page 11 Version 4.0 more vacant status is detected again, and the end of that frame is assumed. Data, which appeared on the line from the first 44ms time or more vacant status to the next 44 bits time or more vacant status is fetched as one frame. 1-1.
  • Page 12: Details Of Message

    Version 4.0 6. DETAILS OF MESSAGE 6.1 Read-out of Word Data [Function Code: 03] Read the contents of holding registers (0000~ 007D) in the slave. Broadcast is not possible. 1. Message composition Command message composition Address Function Starting Address Word Number* CRC-16 Low-order High-order...
  • Page 13: Read-Out Of Read-Only Word Data [Function Code: 04]

    Version 4.0 6.2 Read-out of Read-Only Word Data [Function Code: 04] Read the contents of input registers (1000~1002) in the slave. Broadcast is not possible. 1. Message composition Command message composition Address Function Starting Address Word Number CRC-16 Low-order High-order 01~FF 1xxx 0001~007E...
  • Page 14: Write-In Of Word Data (1 Word) [Function Code: 06]

    Version 4.0 6.3 Write-in of Word Data (1 word) [Function Code: 06] 1. Message composition Command message composition Address Function Starting Address Word Data CRC-16 Low-order High-order 1 ~ FF 0xxx 0xxx byte byte 1 byte 1 byte 2 bytes 2 bytes 2 bytes Response message composition...
  • Page 15: Address Map And Data Format

    Version 4.0 7. ADDRESS MAP AND DATA FORMAT 7.1 Data Format 1. Transmission data format The MODBUS protocol used in this instrument is RTU (Remote Terminal Unit) mode. Transmitted data is “numeric value" and not “ASCII code". 2. Internal calculation value and engineering unit There are 3 different kinds of set value in the MV-D94 controllers.
  • Page 16: Data Address Map

    Version 4.0 7.2 Data Address Map Word data (read-out/write-in) : Function code [03, 06] Data Parameter Range Unit Address Designer 0000 40001 HiLt~LoLt ℃/℉ 0001 40002 SPOF -1000~1000 ℃/℉ 0002 40003 PVOF -1000~1000 ℃/℉ 0003 40004 A1SP -1000~1000 ℃/℉ 0004 40005 A2SP -1000~1000...
  • Page 17 Version 4.0 None/Stdy/Lath/St.La/T.End 0018 40025 A2MD (English code) None/Hi/Lo/dif.H/dif.L/bd.Hi/bd.Lo/T.S 0019 40026 A3FU NL (English code) None/Stdy/Lath/St.La/T.End 001A 40027 A3MD (English code) 001B 40028 ADDR 0~255 001C 40029 BAND 001D 40030 CH01 0~2000 001E 40031 CL01 0~2000 001F 40032 RTSH 0~3000 0020 40033 RTSL...
  • Page 18: Troubleshooting

    Version 4.0 8. TROUBLESHOOTING 8.1 Troubleshooting If the communication is unavailable, check the following items. □ Whether all devices related to communication are turned on. □ Whether connections are correct. □ Whether the number of connected instruments and connection distance are as specified.

This manual is also suitable for:

Setpro mv-d94

Table of Contents