Ac micro drives for industrial applications. 200 v class, three-phase input: 0.1 to 22 kw. 200 v class, single-phase input: 0.1 to 4.0 kw. 400 v class, three-phase input: 0.37 to 30 kw. (766 pages)
Technical References Refer to the following publications for further information about the GPD 515/G5: • GPD 515/G5 Technical Manual Publication TM 4515 • GPD 515/G5 RS-232C/485 Interface Card Installation Sheet Publication 02Y00025-0401 Refer to the following Modicon publication for technical information on Modbus RTU protocol: •...
ONTENTS Technical References / Technical Support Contents Chapter 1 GPD 515/G5 and Serial Communication Introduction to GPD 515 Modbus RTU Communication Standard RS-232D Serial Communication The RS-232D to RS-485 Converter Board Figure 1-1. The CM085 Board Chapter 2 RS-232D Serial Communication RS-232D Serial Communication Figure 2-1.
Page 4
Chapter 8 Error Codes and Troubleshooting Communication Error (CE) Modbus Error Codes Figure 8-1. Response Message (Fault) GPD Failure Codes Chapter 9 Command Priority Command Priority Table 9-1. Set up for Serial Communication Control Table 9-2. Set up for External Terminals Control Table 9-3.
Chapter 1 GPD 515/G5 and Serial Communication • Introduction to GPD 515/G5 Modbus RTU Communication • Standard RS-232D Serial Communication • The RS-232D to RS-485 Converter Board • Figure 1-1. The CM085 Board Note: The AC Drive referenced in this manual may be named GPD 515, G5, or GPD 515/G5.
Introduction to GPD 515 Modbus RTU Communication This manual describes the set-up and protocol for Modbus Communication. The GPD 515 offers RS-232D serial communication as a standard, and RS-485 as an option. The Modbus RTU protocol requires that the controller communicates using a master-slave technique, in which only one device (the master) can initiate transactions.
The RS-232D to RS-485 Converter Board The GPD 515 offers RS-485 serial communications as an option. RS-485 allows a maximum transmission distance of 4000 feet. RS-485 allows multidrop (multiple devices) communication. To obtain RS-485 communications an optional converter board must be purchased. This RS-232D to RS-485 Converter Board is represented by the MagneTek part number CM085.
RS-232D Serial Communication RS-232D Serial Communication is accessed through connector 6CN on the GPD 515ís control board. Pin 1 on the 6CN connector is for the transmission of data, Pin 2 is for the receipt of data, and pin 4 is for the ground connection. The RS-232D pin out is shown in the diagram below. GPD515 Connector Connector...
Chapter 3 Installation of the CM085 Board • Installation Procedure • Figure 3-1. Position of the CM085 Board on the GPD 515 Drive Installation of the CM086 Board...
Page 11
Installation Procedure These procedures should be followed when installing the CM085 board into the GPD 515 drive. 1. Turn the main power OFF to the drive. Remove the front cover of the drive to verify that the CHARGE lamp is off. 2.
Connection of Multiple Drives With the RS-485/RS-422 Conversion Board (CM085) multiple drives may be connected together for a multiple drive communication system. The following diagram illustrates the connection between multiple CM085 boards. S/R (+) RS-485 S/R (-) S/R (+) CM085 S/R ( BOARD Shielded Sheath...
Wiring Instructions 1. Locate terminal block at TC1 on the CM085 board. (See Figure 1-1 in this manual.) TC1 should have 4 terminal locations (1, 2, 3 and 4) on it. 2. A twisted shielded wire should be used for connection to TC1. The shielded wire should be separated and connected per the drawing below to eliminate interference due to noise.
Terminating Resistor Dip Switch SW1 is located on the lower right hand corner of the CM085 board. (See Figure 4-3 below) When SW1 is on, a termination resistor (100 Ohms) is connected between S/R (+) and S/R (-). CM085 BOARD Figure 4-3.
Chapter 5 Setting GPD 515 Parameters for Communication • Run/Stop and Frequency Selection • Communication Set up Parameters • ìENTERî Command Setting GPD 515 Parameters for Communication...
Run/Stop and Frequency Selection The run/stop commands and frequency reference command can originate from serial communication, the Digital Operator, the external terminals, or an option board. The origin of the run/stop command does not have to be the same as the origin for the frequency reference command.
Serial Communication Set up Parameters The GPD 515 has parameters used for the set up of serial communication. These communication set up parameters are H5-01 through H5-05 and o2-09. Parameter H5-01 - Serial Communication Station Address Parameter H5-01 (or Modbus Register 41Ch) is used to set the Modbus slave address of the GPD 515 drive.
Page 19
Parameter H5-04 - Stopping Method after Serial Communication Error Parameter H5-04 (or Modbus Register 41Fh) is used to determine the method of stopping the motor if there is a communication error. The table below indicates the stopping methods that can be used when a communication error occurs.
ìENTERî Command The GPD 515 has two types of memory: ëVolatileí and ëNon-Volatileí. Data held in the Volatile memory will be lost when power is removed from the drive. Data held in Non-Volatile memory will be retained when power is removed from the drive. Different types of registers are stored in different areas of memory.
Chapter 6 The Message Format • Message Functions • Read Multiple Registers • Loop Back Test • Write Multiple Registers • No Response Message • CRC-16 The Message Format...
Message Functions In communicating to the GPD 515 drive via Modbus RTU, there are three message functions available. The master specifies the function to be executed by the slave according to the function code. The following table shows the types of function codes available, and the length (quantity) and contents of the message according to the function.
Read Multiple Registers - 03h The multiple register read function (03h) allows the master to request information from the slave. The command message of a multiple register read is structured as shown below. Command Message SLAVE ADDRESS FUNCTION CODE START- UPPER REGISTER LOWER...
Page 25
Normal Response Message SLAVE ADDRESS FUNCTION CODE NO. OF DATA BYTES The starting register, 20h START- (Frequency Reference), UPPER has a value of 1770h or REGISTER 6000 dec. (60.00 Hz) LOWER CONTENTS The next register, 21h UPPER (Output Frequency), has NEXT REGISTER a value of 1770h or 6000...
Page 26
Fault Response Message SLAVE ADDRESS 80h + FUNC. CODE ERROR CODE LOWER CRC-16 UPPER The fault response message contains the same slave address as the command message, indicating to the master which slave is responding. The function code of a fault response message is actually a value of 80h plus the original function code of 03h.
Loop-back Test - 08h The loop-back test function (08h) is used for checking signal transmission between master and slaves. The command message format is shown below. Command Message SLAVE ADDRESS FUNCTION CODE TEST UPPER CODE LOWER UPPER DATA LOWER LOWER CRC-16 UPPER Each GPD 515ís slave address is set in advance by the drive parameter H5-01.
Page 28
Normal Response Message SLAVE ADDRESS FUNCTION CODE TEST UPPER CODE LOWER UPPER DATA LOWER LOWER CRC-16 UPPER A normal response message for the loop-back test should be identical to the command message. Fault Response Message SLAVE ADDRESS 80h + FUNC. CODE ERROR CODE LOWER CRC-16...
Write Multiple Registers - 10h The multiple register write function (10h) allows the master to write data to the driveís registers. The multiple register write message format is shown below. Command Message SLAVE ADDRESS FUNCTION CODE UPPER START- REGISTER LOWER UPPER QTY.
Page 31
The quantity indicates how many consecutive registers are to be written to. The quantity may range from 1 to 16 registers. If the quantity is greater than 16, an error code of ë3í is returned in the fault response message. In this command message there is two consecutive registers to be written to: 01h-Operation Command and 02h- Frequency Reference.
Page 32
A CRC-16 value is generated from a calculation using the values of the address, function code, starting register number, and quantity value of the message. The procedure for calculating a CRC-16 value is described at the end of this chapter. How the response message is handled by the master depends on what master is used.
No Response Message The slave disregards the command message and does not return the respond message in the following cases: 1. In simultaneous broadcasting of data (slave address field is 0), all slaves execute but do not respond. 2. When a communication error (overrun, framing, parity, or CRC-16) is detected in the command message.
Page 34
Typical CRC-16 Calculation Program in Quick Basic: crcsum# = &HFFFF& crcshift# = &H0& crcconst# = &HA001& PRINT "***************************************************" PRINT PRINT " CRC-16 calculator" PRINT PRINT "***************************************************" PRINT "If entering data in hex, preceed the data with '&H'" PRINT " Example: 32decimal = 20hex = &H20" PRINT "***************************************************"...
Page 35
CRC-16 Calculation Example: A two byte message for a read-out of a 0011 0010 0000 1001 Shift #5 1010 0000 0000 0001 CRC-16 specified coil status is as follows. constant A001h 1001 0010 0000 1000 Result of EX Slave Address = 2 0000 0010 0100 1001 0000 0100 Shift#6...
Page 36
After calculating the CRC-16 upper and lower values they are inserted into the message format as shown below. Slave Address = 2 0000 0010 0000 0111 Function Code = 7 0100 0001 CRC-16 Lower = 41h 0001 0010 CRC-16 Upper = 12h 6-16 The Message Format...
Page 38
Simultaneous Broadcast Registers (Write only) REGISTER FUNCTION DATA DESCRIPTION (in hex) 001* Operational Signals Stop Forward Run Reverse Run not used not used External Fault Fault Reset not used not used 002* Frequency Reference Frequency Reference (6000 = 100%) (1) Notes: 1.
Page 40
Monitor Registers (Read only) REGISTER FUNCTION DESCRIPTION (in hex) 010h Status Signal Run Command At zero speed Reverse Operation Reset Signal Input Speed Agreed Drive Ready Minor Fault Major Fault 8-15 will return zeros 011h Drive Fault Contents oPE Error not used Program Mode 1CN Status:...
Page 41
Monitor Registers (continued) REGISTER FUNCTION DESCRIPTION (in hex) 015h Fault Content 2 External Fault 3 (EF3) External Fault 4 (EF4) External Fault 5 (EF5) External Fault 6 (EF6) External Fault 7 (EF7) External Fault 8 (EF8) not used Overspeed (oS) Speed Deviation (DEV) PG Open (PGo) Input Phase Loss (PF)
Page 43
Drive Parameter Registers (U1-XX / Monitor Only) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION (in hex) FUNCTION SETTING 020h U1-01 Frequency Reference Frequency Reference of drive (0.1 Hz) (1) 021h U1-02 Output Frequency Output Frequency of drive (0.1 Hz) (1) 022h U1-03 Output Current...
Page 44
Drive Parameter Registers (U1-XX / Monitor Only) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION (in hex) FUNCTION SETTING 02Bh U1-12 Operation Status Zero-Speed Reverse Run Reset Signal Input Speed Agree Drive Operation Ready Minor Fault Major Fault 02Ch U1-13 Elapsed Time hours 02Dh...
Page 45
Drive Parameter Registers (U2-XX / Fault Trace and U3-XX / Fault History) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION (in hex) FUNCTION SETTING 080h U2-01 Current Fault Code of current fault (1) 081h U2-02 Last Fault Code of second to current fault (1) 082h U2-03 Frequency Ref.
Page 46
Drive Parameter Registers (U2-XX / Fault Trace and U3-XX / Fault History) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION (in hex) FUNCTION SETTING 08Ch U2-13 Drive Status at Fault Running at the time of fault Zero-Speed at the time of fault Reverse Running at the time of fault Reset Signal Input at the time of fault Speed Agree at the time of fault...
Page 47
Drive Parameter Registers (Read/Write) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 100h A1-00 Language Selection English Japanese 101h A1-01 Parameter Access Level Monitor Only User Program Quick-start Basic Advanced 102h A1-02 Control Method Selection V/f Control V/f with PG Feedback Open Loop Vector...
Page 48
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 180h b1-01 Reference Selection Digital Operator Terminal Serial Communication Option PCB 181h b1-02 Operation Method Selection Digital Operator Terminal Serial Communication Option PCB 182h b1-03 Stopping Method Selection...
Page 49
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 18Eh b3-01 Speed Search Selection Disabled Enabled 18Fh b3-02 Speed Search Current 0 to 200% 190h b3-03 Speed Search Decel Time 0.0 to 10.0 seconds 191h Reserved 192h...
Page 50
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 200h C1-01 Acceleration Time 1 0.00 to 600.00 or 0.0 to 6000.0 seconds (1) 10.0 (1) 201h C1-02 Deceleration Time 1 0.00 to 600.00 or 0.0 to 6000.0 seconds (1) 10.0 (1) 202h C1-03...
Page 51
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 213h C4-01 Torque Compensation Gain 0.00 to 2.50 1.00 214h C4-02 Torque Compensation Time 0 to 10000 Constant 215h C5-01 ASR Proportional Gain 1 0.00 to 300.00 216h C5-02...
Page 52
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 280h d1-01 Frequency Reference 1 0.00 to 400.00 Hz (1) 0.00 281h d1-02 Frequency Reference 2 0.00 to 400.00 Hz (1) 0.00 282h d1-03 Frequency Reference 3...
Page 53
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 300h E1-01 Input Voltage Setting 155 to 255V (230V unit) 310 to 510V (460V unit) 301h E1-02 Motor Selection General Purpose Motor (TEFC) Blower Cooled Motor (TENV or TEBC) 302h...
Page 54
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 313h E2-06 Motor Leakage Inductance 0.0 to 30.0% 314h E2-07 Motor Iron-core Saturation Coefficient 1 0.00 to 0.50 0.50 315h E2-08 Motor Iron-core Saturation Coefficient 2 0.00 to 0.75 0.75 316h...
Page 55
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 380h F1-01 Encoder (PG) Constant 0 to 60000 ppr 381h F1-02 Operation Selection at PG Open Ramp to Stop Circuit Coast to Stop Fast-Stop Alarm Only 382h...
Page 56
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 38Dh F2-01 AI-14 Bi-polar or Uni-polar Input 3-channel Individual Selection 3-channel Addition 38Eh F3-01 DI-16 Digital Input Option BCD 1% BCD 0.1% BCD 0.01% BCD 1 Hz BCD 0.1 Hz...
Page 57
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 400h H1-01 Multi-function Input (terminal 3) 0 to 77h 401h H1-02 Multi-function Input (terminal 4) 0 to 77h 402h H1-03 Multi-function Input (terminal 5) 0 to 77h 3 (or 0) (1) 403h...
Page 58
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 415h H4-01 Multi-function Analog Monitor 1 1 to 31h Selection (terminal 21) 416h H4-02 Multi-function Analog Monitor 1 Gain 0.00 to 2.50 1.00 417h H4-03...
Page 59
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 480h L1-01 Motor Overload Protection Disabled Selection Enabled 481h L1-02 Motor Overload Protection Time 0.1 to 5.0 minutes Constant 482h L2-01 Momentary Power Loss Disabled Detection Selection Power Loss Ride-thru...
Page 60
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE Stall Prevention Level during Running 48Dh L3-06 30 to 200% 48E-48Fh Reserved 490h L4-01 Speed Coincidence Frequency 0.0 to 400.0 Hz 491h L4-02 Speed Coincidence Width 0.0 to 20.0 Hz...
Page 61
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 49Ch L6-05 Torque Detection Level 2 0 to 300% 49Dh L6-06 Torque Detection Time 2 0.0 to 10.0 seconds 49Eh L7-01 Forward Torque Limit 0 to 300% 49Fh L7-02...
Page 62
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 500h o1-01 Monitor Selection 4 to 28, 32, 33 (2) 501h o1-02 Monitor Selection after Power-up Frequency Reference Output Frequency Output Current Selected Monitor 502h o1-03...
Page 63
Drive Parameter Registers (Read/Write) (continued) REGISTER PARAMETER PARAMETER PARAMETER LIMITS / DESCRIPTION INITIAL (in hex) FUNCTION SETTING VALUE 50Ah o2-06 Operation Selection when Digital Disabled (operation continues) Operator is disconnected Enabled (motor coast to stop; fault) 50Bh o2-07 Elapsed Operating Hour Timer Set 0 to 65535 hours 50Ch o2-08...
Page 64
Special Registers (Read / Write) REGISTER FUNCTION DATA DESCRIPTION (in hex) FFDDh ACCEPT Activates newly written data FFFDh ENTER Activates newly written data and saves to Non-Volatile memory 7-28 Registers...
Communication Error Once the data, sent from the master device, is received the drive, the received data is checked for CRC, parity, overrun, framing, and receiving buffer overflow. If all checked items pass, the data has been received normally. A communication error is declared if any of the checked data does not pass.
Modbus Error Codes If there is an error in the command message, an error code will be returned in the response message. A fault response message is structured as follows: SLAVE ADDRESS 80h + FUNC. CODE ERROR CODE UPPER CRC-16 LOWER Figure 8-1.
Page 68
Drive Failure Digital Operator Hexadecimal Alarm, minor fault, Display Code or Major Fault DC Bus Fuse Open DC Bus Undervoltage CTL PS Undervoltage MC Answerback Short Circuit Ground Fault Overcurrent Overvoltage Heatsink Overtemperature Drive Overheat Motor Overload Drive Overload Overtorque 1 Overtorque 2 Dynamic Braking Transistor Dynamic Braking Resistor...
Chapter 9 Command Priority • Command Priority • Table 9-1. Set up for Serial Communication Control • Table 9-2. Set up for External Terminal Control • Table 9-3. Set up for Digital Operator Control • Table 9-4. Set up for Option PC Board Control Command Priority...
Command Priority The setting of parameter b1-02 determines the origin of operation commands. This was discussed in detail in Chapter 5, Setting GPD 515 Parameters for Communication. Some commands may be accessed by a source other than the one set up by parameter b1-02, as illustrated in the Tables 9-1, -2, -3, and -4 on the following pages.
Table 9-1: Set up for Serial Communication Control This table indicates the functions or commands that can be accessed via serial communication, external terminals, or the Digital Operator when the drive is set up for serial communication (b1-02 = 2). The ìOî indicates that the function is Operable from that source, and ìn/aî indicates that the function is not available from that source.
Table 9-2: Set up for External Terminals Control This table indicates the functions or commands that can be accessed via serial communication, external terminals, or the Digital Operator when the drive is set up for external terminal control (b1-02 = 1). The ìOî indicates that the function is Operable from that source, and ìn/aî indicates that the function is not available from that source.
Table 9-3: Set up for Digital Operator Control This table indicates the functions or commands that can be accessed via serial communication, external terminals, or the digital operator when the driveís parameter b1-02 is set up for digital operator control (b1-02 = 0). The ìOî indicates that the function is Operable from that source, and ìn/aî...
Page 74
Table 9-4: Set up for Option PC Board Control This table indicates the functions or commands that can be accessed via serial communication, external terminals, or the Digital Operator when the drive is set up for option PC board control (b1- 02 = 3).
Appendix A Product Specifications The following table indicates the environmental specifications for the CM085 Board. (CM085) RS-232 to RS-485 Converter Board for GPD 515 Ambient Temperature –10 to +40 degrees C (+14 to +104 degrees F) Storage Temperature –20 to +60 degrees C (–4 to +140 degrees F) Relative Humidity 90% noncondensing Altitude...
Appendix B Spare Parts List Description Source Part Number GPD 515 / Modbus RTU RS-232 to RS-485 Converter Board Yaskawa CM085 RS-232 Connector Kit for 6CN Yaskawa CM087 GPD 515 / Modbus RTU Technical Manual Yaskawa TM 4025 Miscellaneous GPD 515 Technical Manual...
Page 77
Please phone us at 1-800-541-0939 for technical support. Additional technical information is available at www.drives.com. Data subject to change without notice. NCL, GPD, and VCD are trademarks of Yaskawa, Inc. Modicon, ModConnect, Modbus, Modbus Plus and 984 are trademarks of Modicon, Inc.
Need help?
Do you have a question about the GPD 515/G5 Modbus RTU and is the answer not in the manual?
Questions and answers