background image

GPD315/V7 Modbus RTU Technical Manual TM 4325

Page

iii

Contents

Technical References ....................................................................................................................ii
Technical Support Center: .............................................................................................................ii
Field Service/Support: ...................................................................................................................ii
Chapter 1...................................................................................................................................... 1
GPD315 and Serial Communication ............................................................................................. 1
Introduction................................................................................................................................... 1
GPD315 Modbus RTU Specifications ........................................................................................... 1
Chapter 2...................................................................................................................................... 2
GPD315 Modbus RTU Connections ............................................................................................. 2
Wiring ........................................................................................................................................... 2
Connecting Multiple Drives ........................................................................................................... 4
Chapter 3...................................................................................................................................... 5
GPD315 Communication Parameters........................................................................................... 5
Run/Stop and Frequency Selection............................................................................................... 5
Serial Communication Set up Parameters .................................................................................... 6
WARNING .................................................................................................................................... 8
Chapter 4...................................................................................................................................... 9
Modbus RTU Message Format ..................................................................................................... 9
Message Functions....................................................................................................................... 9
Read Multiple Registers – Function 03h ..................................................................................... 10
Loop-back Test - 08h .................................................................................................................. 12
Write Multiple Registers - 10h..................................................................................................... 14
No Response Message............................................................................................................... 17
CRC-16 ...................................................................................................................................... 17
Chapter 5.................................................................................................................................... 20
Parameter Tables........................................................................................................................ 20
Simultaneous Broadcast Registers (Write Only) ......................................................................... 20
Command Registers (Read/Write).............................................................................................. 20
Monitor Registers (Read Only) ................................................................................................... 21
Drive Parameter Registers (Read/Write) .................................................................................... 23
Notes: ......................................................................................................................................... 33
Error Codes and Troubleshooting ............................................................................................... 34
Communication Error.................................................................................................................. 34
Modbus Error Codes................................................................................................................... 34
Chapter 7.................................................................................................................................... 35
Command Priority ....................................................................................................................... 35
Command Priority ....................................................................................................................... 35
Set up for Serial Communication Control .................................................................................... 36
Set up for External Terminals Control ......................................................................................... 37
Set up for Digital Operator Control.............................................................................................. 38
Appendix A ................................................................................................................................. 39
Product Specifications ................................................................................................................ 39

Summary of Contents for GPD 315/V7

Page 1: ...GPD 315 V7 Modbus RTU Technical Manual...

Page 2: ...5 V7 Technical Manual Publication TM4315 Refer to the following Modicon publication for technical information on Modbus RTU Modicon Modbus Protocol Reference Guide Publication PI MBUS 300 Rev D Techni...

Page 3: ...Modbus RTU Message Format 9 Message Functions 9 Read Multiple Registers Function 03h 10 Loop back Test 08h 12 Write Multiple Registers 10h 14 No Response Message 17 CRC 16 17 Chapter 5 20 Parameter Ta...

Page 4: ...lt Response Message 13 Table 4 8 Write Command Message 14 Table 4 9 Write Registers Normal Response Message 15 Table 4 10 Write Registers Fault Response Message 16 Table 5 1 Simultaneous Broadcast Reg...

Page 5: ...attempting serial communication operation A full discussion of programming and operation is covered in the GPD315 V7 technical manual TM4315 GPD315 Modbus RTU Specifications The data that may be sent...

Page 6: ...1 Location of Terminals and Dip switches Twisted pair shielded wire should be used for all RS 485 connections The shielded wire should be separated and connected per the drawing below to eliminate int...

Page 7: ...Connections mm 2 AWG I A VAC V Twisted wire 1 0 16 12 125 Single wire 1 5 16 12 125 UL 22 16 10 300 CSA 28 16 10 300 CSA 28 16 10 150 When stripping the wire approximately 5 5 mm should be exposed in...

Page 8: ...SW2 is found just above the upper row of control terminals and consists of two switches The switch towards the top labeled 1 controls the terminating resistor The following diagram illustrates the con...

Page 9: ...to set up the origin of the frequency reference command The charts below illustrate the possible run stop and frequency reference selections Table 3 1 Run Stop Selection Parameter n003 Setting Operat...

Page 10: ...d The default setting of parameter n151 is 0 Parameter n152 Modbus Frequency Reference Unit Parameter n152 selects the frequency resolution of the frequency reference and the output frequency monitor...

Page 11: ...Rate bps 0 2400 1 4800 2 9600 3 19200 The default setting of parameter n154 is 2 Parameter n155 Modbus Parity Selection Parameter n155 selects the parity as indicated by the following table Table 3 6...

Page 12: ...r Data The monitor registers 020H to 03DH are stored in Volatile memory These registers are read only Any data read from the monitor registers will not be retained during a power loss Parameter Data T...

Page 13: ...contents of the message according to the function Table 4 1 Supported Modbus RTU Function Codes Command Message Response Message Normal Function Code hex Function min bytes max bytes min bytes max byt...

Page 14: ...atus Signal A listing of the GPD315 s registers is shown in Chapter 5 Registers The quantity indicates how many consecutive registers are to be read The quantity may range from 1 to 8 registers If the...

Page 15: ...bytes returned in the response message The number of data bytes is actually the quantity in the command message times 2 since there are two bytes of data in each register The data section of the resp...

Page 16: ...lation using the values of the address function code and error code sections of the message The procedure for calculating a CRC 16 value is described at the end of this chapter When the master receive...

Page 17: ...s a valid slave address function code test code and data value the slave will respond with a normal response message If the command message has an invalid slave address function code test code and or...

Page 18: ...ess in the address field of the message In the command message above the slave is addressed at 1 By setting the slave address to zero 0 in the address section of the message the master can send operat...

Page 19: ...umber of data bytes and or data values the slave will respond with a fault response message Write Registers Normal Response Table 4 9 Write Registers Normal Response Message Slave Address 01h Function...

Page 20: ...code indicates where the error occurred in the command message The value of 2h in the error code field of this fault response message indicates that the command message requested data to be written t...

Page 21: ...ce recalculates a CRC during receipt of the message and compares the calculated value to the actual value it received in the CRC field If the two values are not equal an error results The CRC is start...

Page 22: ...er the number of bytes in the message maxbyte FOR bytenum 1 TO maxbyte STEP 1 PRINT Enter byte bytenum INPUT byte byte byte AND HFF crcsum crcsum XOR byte AND HFFFF FOR shift 1 TO 8 STEP 1 crcshift IN...

Page 23: ...nt i j for i 0 i bufLen i Loop through characters of input array crc_0 unsigned long buf i 0x00ff XOR current character with 0x00ff for j 0 j 8 j Loop through characters bits crc_1 crc_0 1 0x7fff shif...

Page 24: ...lt EF0 3 Fault Reset 1 Fault Reset 4 Multi function Input Reference 1 Function selection by n050 5 Multi function Input Reference 2 Function selection by n051 6 Multi function Input Reference 3 Functi...

Page 25: ...ency Stop STP 8 Hardware Fault Fxx 9 Motor Overload OL1 A Overtorque Detection OL2 B Undertorque Detection OL3 C Power Loss UV1 D Control Power Supply Fault UV2 E MEMOBUS communications Timeout CE 002...

Page 26: ...tion 1 Undertorque D Fault Retry E Fault 1 Fault 002Ch Fault Content F Serial Communications Timeout 1 Serial Communications Timeout 0 Contact 1 Contact ON 1 Photo Coupler 1 1 Photo Coupler 1 ON 2 Pho...

Page 27: ...l Method 1 Open Loop Vector initialized only by n001 set to 10 or 11 0 0 Digital Operator 1 Terminal 2 Serial Communication 1 n003 0103h Operation Method 3 Option PCB 4 0 Digital Operator Pot 1 Freque...

Page 28: ...s n018 1 10 0 0 No S Curve 1 0 2 Second 2 0 5 Second n023 0117h S Curve Selection 3 1 0 Second 0 n024 0118h Frequency Reference 1 0 00 9 99hz or 100 0 400 0hz 6 00 n025 0119h Frequency Reference 2 0 0...

Page 29: ...eed Search From Set Frequency 16 Accel Decel Hold 17 Local Remote Switch 18 Serial Terminal Control Switch 19 Emergency Stop Fault N O Contact Stop Method n005 20 Emergency Stop Alarm N O Contact Stop...

Page 30: ...h Multi Function Output 2 PHC1 PHCC Same As Parameter n057 1 n059 013Bh Multi Function Output 2 PHC2 PHCC Same As Parameter n057 2 n060 013Ch Analog Freq Ref Gain 0 255 100 n061 013Dh Analog Freq Ref...

Page 31: ...ion Analog Input Selection 4 Output Voltage Bias VBIAS 0 0 0 10V Operator Terminal n078 4 014Eh Multi Function Analog Input 1 4 20ma Operator Terminal 0 n079 4 014Fh Multi Function Analog Frequency Bi...

Page 32: ...0 160 n099 0163h Overtorque Detection Time 0 1 10 0 Seconds 0 1 0 Output Frequency is Not stored when using up down function n100 0164h Up Down Memory Hold 1 Output Frequency is stored when using up d...

Page 33: ...ed 1 PID Enabled D Feed Forward 2 PID Enabled D Feedback 3 PID Enabled Reference PID D Feed Forward 4 PID Enabled Reference PID D Feedback 5 Inverted PID Enabled D Feed Forward 6 Inverted PID Enabled...

Page 34: ...400 0 n148 0194h Reserved 3 n149 0195h Pulse Input Scaling 9 100 3300 1 33khz 2550 0 1440 Hz Max Output Frequency 1 1f Output 6 6f Output 12 12f Output 24 24f Output n150 0196h Pulse Monitor Output Fr...

Page 35: ...0 rdy Ready Status rEd Read Executes CPy Copy Executes vFy Verify Executes vA Drive Capacity Display n176 11 01B1h Parameter Copy Function Sno Software No Display rdy 0 Read Prohibited n177 11 01B2h P...

Page 36: ...sabled Vector Control Mode Only 0 0 Disabled n194 01C2h Factory Setting MNTR Display 1 Enabled 0 n195 n198 01C3 01C6h Reserved 3 n199 01C7h Current Detect Adj Gain U Phase 0 000 2 000 1 000 6 n200 01C...

Page 37: ...ange dependant on n018 setting 6 Value differs according to inverter capacity 7 Set to 0 Forward Reverse command is set to terminal S3 S1 becomes the Run command and S2 the Stop command 8 Up Down comm...

Page 38: ...message is structured as follows Table 6 2 Modbus Error Message Slave Address 02h Function Code 83h Error Code 02h Lower 30h CRC 16 Upper F1h The following table indicates the fault code for the spec...

Page 39: ...ve Then the n003 parameter should be set up for the desired control you have chosen See the table below for parameter settings Select the appropriate Command Priority table on the following pages base...

Page 40: ...nce 5 O 9 Multi function Input Reference 6 O 001h A Multi function Input Reference 7 O 003h unused 008h 0 Multi function Output Contact O 2 1 Multi function Output Photo coupler 1 O 3 2 Multi function...

Page 41: ...ulti function Input Reference 5 O 9 Multi function Input Reference 6 O 001h A Multi function Input Reference 7 O 003h unused 008h 0 Multi function Output 1 Contact O 4 1 Multi function Output 2 Photo...

Page 42: ...Reference 4 O 8 Multi function Input Reference 5 O 9 Multi function Input Reference 6 O 001h A Multi function Input Reference 7 O 003h unused 008h 0 Multi function Output 1 Contact O 3 1 Multi functi...

Page 43: ...ions for the GPD315 drive Table A 1 Product Specifications Environmental Conditions Ambient Temperature 10 to 50 degrees C 14 to 122 degrees F Storage Temperature 1 20 to 60 degrees C 4 to 140 degrees...

Page 44: ...own support is available on a 24 hour 7 day basis Help us help you When you call please have the following information available Have this manual at hand The support associate will refer to it Drive m...

Reviews: