background image

GPD315/V7 Modbus RTU Technical Manual TM 4325

Page

iv

Tables

Table 1-1 Serial Setup ................................................................................................................. 1
Table 2-1. Functions of Terminals ................................................................................................. 3
Table 2-2. Applicable Wire Size for Terminal Connections ............................................................ 3
Table 3-1. Run/Stop Selection....................................................................................................... 5
Table 3-2. Frequency Reference Selection ................................................................................... 5
Table 3-3. Modbus Time out Detection.......................................................................................... 6
Table 3-4. Modbus Frequency Reference Unit Selection .............................................................. 6
Table 3.5 Modbus Baud Rate Selection ....................................................................................... 7
Table 3.6 Modbus Parity Selection............................................................................................... 7
Table 4-1 Supported Modbus RTU Function Codes ..................................................................... 9
Table 4-2 Read Command Message.......................................................................................... 10
Table 4-3 Read Normal Response Message.............................................................................. 11
Table 4-4 Read Fault Response Message ................................................................................. 12
Table 4-5 Loop Back Command Message ................................................................................. 12
Table 4-6 Loop Back Normal Response Message ..................................................................... 13
Table 4-7 Loop Back Fault 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 Registers ............................................................................ 20
Table 5-2 Command Registers .................................................................................................. 20
Table 5-3 Monitor Registers ....................................................................................................... 21
Table 5-4 Drive Parameters ....................................................................................................... 23
Table 6-1 n151 Settings ............................................................................................................. 34
Table 6-2 Modbus Error Message .............................................................................................. 34
Table 6-3 Modbus Error Codes .................................................................................................. 34
Table 7-1 n003 Settings ............................................................................................................. 35
Table 7-1: Set up for Serial Communication Control .................................................................. 36
Table 7-2: Set up for External Terminals Control........................................................................ 37
Table 7-3: Set up for Digital Operator Control ............................................................................ 38
Table A-1 Product Specifications................................................................................................ 39

Figures

Figure 2-1 Location of Terminals and Dip switches ...................................................................... 2
Figure 2-2 Shielded Wire Termination.......................................................................................... 2
Figure 2.3 Interconnection of Drives using RS-485...................................................................... 4
Figure 2.4 Interconnection of Drives using RS-422...................................................................... 4
Figure 4-1 CRC Calculation in Quick Basic................................................................................ 18
Figure 4-2 CRC Calculation in C................................................................................................ 19

Содержание GPD 315/V7

Страница 1: ...GPD 315 V7 Modbus RTU Technical Manual...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: