Page 3
Any warnings provided by YASKAWA must be promptly provided to the end user. YASKAWA offers an express warranty only as to the quality of its products in conforming to standards and specifications published in the YASKAWA manual.
Page 4
Introduction This manual is intended as an overview of parameter access for the Yaskawa model G7 drive and describes how to connect the G7 drive to RS- 232, RS-422 or RS-485. Refer to the G7 Drive Technical Manual (TM.G7.01) for detailed parameter information.
Chapter 1 - Connections This chapter describes how to connect the G7 drive to a RS-232, RS-422 or RS-485 network. Connection Check Sheet.............. 8 Verify Operation................9 G7 Drive Connections ..............10 Serial Network Connections ............11 Communications Parameters ............ 13 Run/Stop and Frequency Reference Source ......
G7 drive to be completely discharged. Measure the DC bus voltage and verify that it is at a safe level. 4: Connect the G7 drive to an RS-232 network. Note: It is not possible to use the drive’s keypad and an RS-232 connection at the same time.
Refer to the G7 drive Technical Manual for information on connecting and operating the G7 drive. Remove power from the G7 drive and wait for the charge lamp to be completely extinguished. Wait at least five additional minutes for the G7 drive to be completely discharged.
The RS-232 network is a single ended network with limited data transmission rates and cable lengths. The G7 drive RS-232 data transmission is fixed at 9600bps, no parity, 8 data bits and 1 stop bit. The maximum cable length is 50 ft (16 m). It is recommended that Yaskawa cable UWR00468-2 be used.
Page 12
RS-485 2-Wire Network RS-485 2-wire networks can be either single or multi-drop networks, with each slave device on the network assigned a unique node address. A maximum of 31 devices may reside on any network segment before a repeater is required. The maximum segment length is 4000 ft (1200 m). Set the Termination Resistor S1 switch to ON (slide the switch to the right) on the last device on the network.
Node Address – H5-01. The node address is set through G7 drive parameter H5-01. When communicating via RS-422 or RS-485, a unique node address between 0 and 20h (32 decimal), inclusive, must be entered. The default G7 drive address is 1Fh (31 decimal).
Page 14
B1-01 or B1-02 must also be set to a 2 (Serial Communication) for fault monitoring to occur. If the CE fault is enabled, the G7 will flash CALL on the keypad after power up until a message is received. The drive will trip and respond according to H5-04 if communication is lost (a message is not received) for more than 2 seconds after successful communication has been initiated.
Run/Stop and Frequency Reference The Run/Stop and Frequency Reference commands can originate from: Serial communication (Built-in Modbus: Keypad or R+/-, S+/- Terminals) Keypad (Digital Operator) Terminal Strip Option Card Parameter B1-01 (Run/Stop Method Selection) allows the selection of the origin of the Run/Stop command. Parameter B1-02 (Reference Selection) allows the selection of the origin of the Frequency Reference command.
Verify Communication The following is a quick reference guide for serial communications to the G7 drive. Make a copy of this page and check-off each item as it is completed. For detailed information please refer to the detailed sections that follow.
Page 17
Send a command message to the G7 drive from the controller and verify the data of the command and response messages. 3.1: Verify the contents of the command message. 3.2: Verify the contents of the response message. Notes:...
Chapter 2 - Message Formats This chapter provides information on the message (telegram) contents and configuration. Protocol ..................20 Read Multiple Registers – Function Code 03H......21 Write Single Register – Function Code 06H ......23 Loop-Back Test – Function Code 08H ........25 Write Multiple Registers –...
Yaskawa refers to as MEMOBUS. The G7 drive supports Modbus functions 3, 6, 8 and 10h. The message format varies depending upon the function code of the message. For each function code, there is a command message from the master and a response message from the slave. The following sections review the format of the command and response messages for each function.
Lower Each G7 drive slave address is set via parameter H5-01. Valid slave addresses must be in the range of 1 ~ 20 hex (1 ~ 32 dec) and entered as a hexadecimal number. No two slaves may have the same address. The master addresses the slave by placing the slave address in the Slave Address field of the message.
Page 22
Read Multiple Registers Normal Response Message Table 2.3 Read Normal Response Message Description Data Slave Address Function Code Number of Data Bytes Upper Starting Register Lower Upper Next Register Lower Upper Next Register Lower Upper Last Register Lower Upper CRC-16 Lower The normal response message contains the same slave address and function code as the command message, indicating to the master which specific slave is responding and to what type of function it is responding.
Lower Each G7 drive slave address is set via parameter H5-01. Valid slave addresses must be in the range of 1 ~ 20 hex (1 ~ 32 dec) and entered as a hexadecimal number. No two slaves may have the same address. The master addresses the slave by placing the slave address in the Slave Address field of the message.
Page 24
Write Single Register Normal Response Message Table 2.6 Write Register Normal Response Message Description Data Slave Address Function Code Upper Register Address Lower Upper Data Lower Upper CRC-16 Lower The normal response message contains the same slave address, function code, register address and data as the command message, indicating to the master which slave is responding and to what type of function it is responding.
Lower Each G7 drive slave address is set via parameter H5-01. Valid slave addresses must be in the range of 1 ~ 20 hex (1 ~ 32 dec) and entered as a hexadecimal number. No two slaves may have the same address. The master addresses the slave by placing the slave address in the slave address field of the message.
Page 26
Loop-Back Normal Response The normal Loop-Back Test response is identical to the command message. Table 2.9 Loop-Back Normal Response Message Description Data Slave Address Function Code Upper Test Code Lower Upper Data Lower Upper CRC-16 Lower Loop-Back Fault Response Table 2.10 Loop-Back Fault Response Message Description Data Slave Address...
Lower Each G7 drive slave address is set via parameter H5-01. Valid slave addresses must be in the range of 1 ~ 20 hex (1 ~ 32 dec) and entered as a hexadecimal number. No two slaves may have the same address. The master addresses the slave by placing the slave address in the Slave Address field of the message.
Page 28
Write Multiple Registers Normal Response Message Table 2.12 Write Registers Normal Response Message Description Data Slave Address Function Code Upper Starting Register Lower Upper Quantity Lower Upper CRC-16 Lower The normal response message contains the same slave address, function code, starting register and quantity as the command message, indicating to the master which slave is responding and to what type of function it is responding.
No Response The slave disregards the command message and does not return a response message in the following cases: In broadcasting of data (slave address is 0), all slaves execute, but do not respond. When a communication error (overrun, framing, parity, or CRC-16) is detected in the command message. When the slave address in the command message does not coincide with the address set in the slave.
CRC-16 Calculation The last two bytes of a message contain the CRC-16 (Cyclical Redundancy Check). The CRC-16 is one method for verifying the validity of the message contents and is part of the protocol. The CRC-16 field checks the contents of the entire message, regardless of any parity check method used for the individual characters of the message.
Page 31
CRC-16 Calculation Example in C void getMBCRC(char *, int, char *) // function prototype void getMBCRC(char *buf, int bufLen, char *crc) { // Function name and parameter list returning a void // *buf pointer to character array used to calculate CRC // bufLen number of characters to calculate CRC for // *crc pointer to the array that contains the calculated CRC...
Chapter 3 - Troubleshooting This chapter describes basic troubleshooting methods for serial communication. General Information ..............34 RS-232 Communication.............. 35 RS-422/RS-485 Communication ..........37 RS-422/RS-485 Self-Test ............40...
Page 34
General Information Please fill in the information on this and the following pages prior to contacting customer support. If customer support is necessary, please have the information below available. 1: G7 Drive Model CIMR-_____ 4: Control Board ETC-_____ 2: Input__ VAC____Hz...
RS-232 Communication The following is a quick reference guide for troubleshooting RS-232 communication to the G7 drive. Make a copy of the following pages and check-off each item as it is completed. For detailed information on the RS-232 standard please refer to EIA RS-232-C or later revision. For information on the G7 drive RS-232 interface, refer to previous sections of this manual.
Page 36
3.3: Verify that the contents of the message adhere to the protocol format as described previously. 3.3.1: Verify that the node address is valid. 3.3.2: Verify that the function code is valid. 3.3.3: Verify that the register address is valid. 3.3.4: Verify that the number of data bytes is valid.
RS-422/RS-485 Communication The following is a quick reference guide for troubleshooting RS-422/RS-485 communication to the G7 drive. Make a copy of the following pages and check-off each item as it is completed. For detailed information on the RS-422/RS-485 standard please refer to EIA RS-422-A or later revision.
Page 38
Send a message from the controller to the G7 drive. 4.1: Connect an oscilloscope between the G7 drive’s R+ and R- terminals for RS-422/RS-485 4-wire networks or between terminals R+/S+ and R-/S- for RS-485 2-wire networks. 4.1.1: Verify that the message pulse train exists and contains the correct number of pulses. Refer to the chapter Message Formats for information on the message contents.
Page 39
Verify the contents of the response message. 5.1: Connect an oscilloscope between the controller R+ and R- terminals for RS-422 and RS-485 4-Wire networks or between terminals R+/S+ and R-/S- for RS-485 2-wire networks. 5.1.1: Verify that the message pulse train exists and contains the correct number of pulses. Refer to the chapter Message Formats for information on the message contents.
Set parameter H1-05 to 67 (communication self-test). Terminal S7 is just an example. Any terminal can be used. Remove power from the G7 drive and wait for the charge lamp to be completely extinguished. Wait at least five additional minutes for the G7 drive to be completely discharged.
Command Registers (Read/Write) for Modbus RTU Command registers are those used to control the operation of the G7 drive either through a network interface (option card) or via serial communication (defined as Modbus built into the drive’s keypad port or terminal strip). These registers are available during an active Run command.
Broadcast Registers (Write Only) Broadcast Registers are those registers used to control the simultaneous operation of multiple devices either through a network interface (option card) or via Modbus RTU communication. These registers are available during drive Run. The “Address” column contains the register address in hexadecimal format. Drive registers are always referenced in hexadecimal format. The “Function”...
Monitor Registers (Read Only) The following table lists monitor parameters for the G7 drive. These parameters are used to monitor G7 drive information and cannot be written. The “U-##” column contains the reference, if it exists, to the “U” monitor, parameter displayed via the operator keypad.
Page 47
Table 4.3 G7 Monitor Registers (Read only) U-## Addr. Function Description OH3 - Motor Overheat Alarm Drive Not Enabled (Attempting to run when drive Enable input is not closed. See drive Enable, H1-XX = 6A) 001Bh Minor Fault Contents 3...
Page 49
Table 4.3 G7 Monitor Registers (Read only) U-## Addr. Function Description U1-06 0045h Output Voltage Reference Units 0.1VAC U1-07 0046h DC Bus Voltage Units 1.0VDC U1-08 0047h Output Power Units 0.1kW U1-09 0048h Torque Reference Units 0.1% Terminal S1 Terminal S2...
Page 50
Table 4.3 G7 Monitor Registers (Read only) U-## Addr. Function Description U1-15 004Eh Analog Input Terminal A1 Level Units 0.1% U1-16 004Fh Analog Input Terminal A2 Level Units 0.1% U1-17 0050h Analog Input Terminal A3 Level Units 0.1% U1-18 0051h Motor Secondary Current (Iq) Units 0.1%...
Page 51
Table 4.3 G7 Monitor Registers (Read only) U-## Addr. Function Description U2-05 0084h Output Current at Previous Fault Units 0.1A U2-06 0085h Motor Speed at Previous Fault Units 0.01Hz U2-07 0086h Output Voltage at Previous Fault Units 0.1VAC U2-08 0087h DC Bus Voltage at Previous Fault Units 1.0 VDC...
The following table lists user accessible parameters for the G7 drive. The “Name” column contains the parameter name. The “Address” column contains the register address in hexadecimal format. G7 drive registers are always referred to in hexadecimal format. If the parameter values are chosen from a list of possible values, the list of choices can be found in the “Data” column. Parameter limits and a short description of the parameter function is contained in the “+/- Limits - Description”...
Page 53
Table 4.4 “A” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG English Japanese Deutsch Operator Language A1-00 0100h Français Selection Italiano Español Português Operation Only A1-01 0101h Access Level User Level (Q) Advanced Level (A) V/F with Encoder Feedback A1-02 0102h...
Page 54
Table 4.5 “B” Parameters Access Level Name Address Description Data Range Unit Default During w/PG Operator Terminals b1-01 0180h Reference Source Modbus Communication Option Card Pulse Input Operator Terminals b1-02 0181h Run Source Modbus Communication Option Card Ramp to Stop Coast to Stop b1-03 0182h...
Page 55
Table 4.5 “B” Parameters Access Level Name Address Description Data Range Unit Default During w/PG Number of Search Restarts b3-19 01F2h 0 ~ 10 (Speed Detection Method) Search Priority During Under High Speed Priority b3-20 01F3h Current Detection Stop Priority (Speed Detection Method) b4-01 01A3h...
Page 56
Table 4.6 “C” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG C1-01 0200h Accel Time 1 0.0 ~ 6000.0 Sec 0.1 Sec 10.0 Sec C1-02 0201h Decel Time 1 0.0 ~ 6000.0 Sec 0.1 Sec 10.0 Sec C1-03 0202h...
Page 57
Table 4.7 “D” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG d1-01 0280h Frequency Reference 1 0.0 ~ 400.0 Hz 0.01 Hz 0.0 Hz d1-02 0281h Frequency Reference 2 0.0 ~ 400.0 Hz 0.01 Hz 0.0 Hz d1-03 0282h...
Page 58
Table 4.8 “E” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG E1-01 0300h Input Voltage 0.0 ~ 255.0/510.0 VAC 1 VAC kVA Dep. E1-04 0303h Maximum Frequency 40.0 ~ 400.0 Hz 0.1 Hz 60.0 Hz E1-05 0304h Maximum Voltage...
Page 59
Table 4.9 “F” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG 1024 F1-01 0380h PG Pulses/Revolution 0 ~ 60000 Pulses 1 Pulse Pulses Ramp to Stop Coast to Stop PG Feedback Loss Selection F1-02 0381h (PGO) Fast-Stop (C1-09) Alarm Only...
Page 60
Table 4.9 “F” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Frequency Reference Output Frequency Output Current Motor Speed Output Voltage DC Bus Voltage Output Power (kW) Torque Reference Terminal A1 Level Terminal A2 Level Terminal A3 Level Motor Secondary Current Motor Excitation Current...
Page 61
Table 4.9 “F” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG During Run 1 Zero Speed Fref/Fout Agree1 Fref/Set Agree 1 Frequency Detection 1 Frequency Detection 2 Inverter Ready DC Bus Undervoltage Baseblock 1 Option Reference Remote Operation Torque Detection 1 N.O.
Page 62
Table 4.9 “F” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Trace Sample Time F6-04 03A5h 0 ~ 60000 (CP-916 Option Only) Display in Amps Output Current Unit F6-05 03A6h Selection 100% / 8192 Disabled Torque Reference/Limit F6-06 03A7h...
Page 63
Table 4.10 “H” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG 3-Wire Control Local/Remote Selection Option/Inverter Selection Multi-Step Reference 1 Multi-Step Reference 2 Multi-Step Reference 3 Jog Frequency Reference Multi-Step Accel/Decel 1 External Baseblock NO External Baseblock NC Accel/Decel Ramp Hold OH2 Alarm Signal...
Page 64
Table 4.10 “H” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG DC Injection Braking Command Speed Search 1 Speed Search 2 Energy Savings Mode Speed Search 3 Digital Input Terminal S3 KEB Ride Thru NC H1-01 0400h Function Selection...
Page 65
Table 4.10 “H” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Baseblock 2 Motor 2 Selected Regenerating Restart Enabled Overload (OL1) OH Pre-alarm Digital Output Terminal H2-01 040Bh In Torque Limit M1-M2 Function Selection In Speed Limit In Speed Limit (Torque Control Only) Zero Servo Complete...
Page 66
Table 4.10 “H” Parameters Access Digital Operator Display Name Address Data Range Unit Default During Text OLV2 w/PG Frequency Bias Frequency Gain Auxiliary Reference 1 (Replaces D1-02) Auxiliary Reference 2 (Replaces D1-03) Voltage Bias Accel/Decel Gain DC Injection Braking Current Overtorque/Undertorque Detection Level Stall Prevention During Run...
Page 67
Table 4.10 “H” Parameters Access Digital Operator Display Name Address Data Range Unit Default During Text OLV2 w/PG ACR (Iq) Output ACR (Id) Output PID Input PID Output PID Setpoint Analog Output Terminal FM H4-01 041Dh Estimated Motor Flux Function Selection Id Compensation Value ASR Output Without Filter Feed Forward Output...
Page 68
Table 4.11 “L” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Disabled Standard Fan Cooled Motor Overload (OL1) L1-01 0480h Motor Selection Standard Blower Cooled Vector Duty Motor Overload (OL1) L1-02 0481h 0.1 ~ 5.0 min 0.1 min 1.0 min Time Constant...
Page 69
L7-07 04C9h Selection During PI Control Accel/Decel Dynamic Braking Not Provided Resistor Protection Selection L8-01 04ADh (Only for Yaskawa 3% Provided heatsink mounted resistors) Overheat (OH) L8-02 04AEh 50 ~ 130 Deg 1 Deg 95 Deg Pre-Alarm Level Ramp to Stop...
Page 70
Table 4.11 “L” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG 2/3 Phase Loss Detection Disabled Ground Fault (GF) L8-09 04B5h Selection Enabled Fan On Only During Run Cooling Fan On/Off L8-10 04B6h Selection Fan Always On Fan Off Delay Time L8-11 04B7h...
Page 71
Table 4.12 “N” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Disabled Hunting Prevention n1-01 0580h Selection Enabled n1-02 0581h Hunting Prevention Gain 0.00 ~ 2.50 0.01 1.00 n1-03 0582h Hunting Prevention Time 0 ~ 500 ms 1 ms 10 ms Speed Feedback Regulator...
Page 72
Table 4.13 “O” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG Control Method Motor Speed Output Voltage Reference DC Bus Voltage Output Power (kW) Torque Reference Input Terminal Status Output Terminal Status Internal Control Status 1 Elapsed Time Flash ID Terminal A1 Level...
Page 73
Table 4.13 “O” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG No Change User Defaults o2-03 0507h Set Defaults (A1-03 = 1110) Clear All Disabled o2-05 0509h Operator M.O.P. Selection Enabled Disabled Operator Disconnect o2-06 050Ah Detection Selection Enabled...
Page 74
Table 4.14 “P” Parameters Access Level Name Address Description Data Range Unit Default During OLV2 w/PG P1-01* 0600h CASE Parameter 1 P1-02* 0601h CASE Parameter 2 P1-03* 0602h CASE Parameter 3 P1-04* 0603h CASE Parameter 4 P1-05* 0604h CASE Parameter 5 P1-06* 0605h CASE Parameter 6...
Modbus TCP/IP Specific Registers (Only for use with the CM090 Modbus TCP/IP option card) The Modbus TCP/IP Option Card CM090 differs slightly from Modbus RTU in its register structure. The CM090 card has a different set of Command registers and additional monitor registers. However, all Monitor and Parameter registers listed earlier in this chapter can also be accessed over Modbus TCP/IP.
Page 76
Table 4.15 Modbus TCP/IP Interface Registers Addr. Function Description During Run Zero Speed Reverse Direction Fault Reset Active Speed Agree drive Ready Minor Fault (Alarm) Fault 2000h Status OPE Fault (Keypad Setting Error) Power Loss Ride Thru Remote Mode Multi-Function Output 1 (M1-M2) Multi-Function Output 2 (M3-M4) Multi-Function Output 3 (M5-M6) Motor 2 Selected...
Page 77
Table 4.15 Modbus TCP/IP Interface Registers (continued) Addr Function Description PUF - DC Bus Fuse Failure UV1 - Main Circuit Undervoltage UV2 - Control Power Undervoltage UV3 - Pre-charge Contactor Answerback Failure Reserved GF - Ground Fault OC - Overcurrent OV - Overvoltage 2009h Error 1...
G7 drive. When data is written to a Command register (000h ~ 0FFh) in the G7, the data is activated as soon as it is written, but will be gone when power is lost (volatile memory or RAM). When data is written to a Parameter register in the G7 (100h ~ 7FFh), the data goes into a temporary off-line memory area.
Modbus Fault Decoding for Monitors The following table provides the fault code data for all G7 faults for Modbus fault trace / fault history registers. Table 4.17 Modus Fault Decoding Information For Monitors U2-01, U2-02, U3-01 thru U3-04, and U3-09 thru U3-14...
Chapter 5 - User Notes This chapter allows the user to enter information specific to their application. Notes ................... 82 User Parameter Settings .............83 Hex/Dec Conversion Table............91...
User Parameter Settings Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes A1-00 Select Language A1-01 Access Level A1-02 Control Method A1-03 Parameter Initialization A1-05 Enter Password A2-01 User Parameter 1 A2-02 User Parameter 2 A2-03 User Parameter 3 A2-04 User Parameter 4 A2-05...
Page 84
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes b3-13 Search Estimation P Gain b3-14 Bidirectional Search Selection b3-17 Search Restart Level 150% b3-18 Search Restart Time 0.1 Sec b3-19 Number of Search Restarts b3-20 Search Restart Selection b4-01 Delay-On Timer 0.0 Sec...
Page 85
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes C3-04 Slip Compensation During Regen C3-05 Output Voltage Limit Selection C4-01 Torque Compensation Gain C4-02 Torque Compensation Time Control Meth C4-03 Forward Torque Comp at Start 0.00 % C4-04 Reverse Torque Comp at Start 0.00 % C4-05...
Page 86
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes E1-03 V/F Pattern Selection E1-04 Maximum Frequency 60.0 Hz E1-05 Maximum Voltage kVA Dep. E1-06 Base Frequency 60.0 Hz E1-07 Midpoint Frequency A Control Meth E1-08 Midpoint Voltage A Control Meth E1-09 Minimum Frequency...
Page 88
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes H4-02 Terminal FM Gain 100.00 % H4-03 Terminal FM Bias 0.00 % H4-04 Terminal AM Selection H4-05 Terminal AM Gain 50.00 % H4-06 Terminal AM Bias 0.00 % H4-07 Terminal FM Signal Type H4-08 Terminal AM Signal Type...
Page 89
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes L7-02 Torque Limit Reverse Motoring 200 % L7-03 Torque Limit Forward Regen 200 % L7-04 Torque Limit Reverse Regen 200 % L7-06 Torque Limit Filter Time 200 ms Torque Limit During L7-07 Accel/Decel L8-01...
Page 90
Table 5.1 User Parameter Settings Parameter Description Default User Setting Notes o2-12 Fault Trace/History Initialization o2-14 Watt Hour Monitors Initialization P1-01 CASE Parameter 1 P1-02 CASE Parameter 2 P1-03 CASE Parameter 3 P1-04 CASE Parameter 4 P1-05 CASE Parameter 5 P1-06 CASE Parameter 6 P1-07...
Need help?
Do you have a question about the G7 and is the answer not in the manual?
Questions and answers