Refer to the following Modicon publication for technical information on Modbus RTU protocol:
•Modicon Modbus Protocol Reference Guide
Publication PI-MBUS-300 Rev. D
Technical Support
Technical Support Center-
Provide telephone assistance related to installation, start-up, programming, and
troubleshooting drives and communication products. For technical phone support
call 1-800-541-0939.
Technical References / Technical Support i
CONTENTS
Technical References / Technical Support i
Contents 1
Chapter 1 GPD 515/G5 and Serial Communication 1-1
Introduction to GPD 515 Modbus RTU Communication 1-2
Standard RS-232D Serial Communication 1-2
The RS-232D to RS-485 Converter Board 1-3
Figure 1-1. The CM085 Board 1-3
Chapter 2 RS-232D Serial Communication 2-1
RS-232D Serial Communication 2-2
Figure 2-1. RS-232D Pin-out at 6CN Connector 2-2
Chapter 3 Installation of CM085 Board 3-1
Installation Procedure 3-2
Figure 3-1. Position of the CM085 Board on the GPD 515 Drive 3-2
Table 9-1. Set up for Serial Communication Control 9-3
Table 9-2. Set up for External Terminals Control 9-4
Table 9-3. Set up for Digital Operator Control 9-5
Table 9-4. Set up for Option Board Control 9-6
Appendix A Product Specifications A-1
Appendix B Spare Parts List B-1
Contents 2
Chapter 1
GPD 515/G5 and Serial Communication
• Introduction to GPD 515/G5 Modbus RTU Communication
• Standard RS-232D Serial Communication
•Figure 1-1. The CM085 Board
Note: The AC Drive referenced in this manual may be named GPD
515, G5, or GPD 515/G5. These are physically the same drive. This
manual will use the name GPD 515 hereafter.
• The RS-232D to RS-485 Converter Board
GPD 515 and Serial Communication 1-1
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 other devices (the
slaves) respond by supplying the requested data to the master, or by taking the action requested.
The GPD 515 drive must act in the slave mode.
A complete understanding of drive programming and operation is required before attempting
serial communication operation. A full discussion of programming and operation is covered in the
GPD 515 technical manual TM 4515.
GPD 515 / Modbus RTU Specifications
The data that may be sent or received from the drive consists of:
-Run Command
-Frequency Reference
-Fault Contents
-Drive Status
-Drive Parameter Settings
The following table illustrates whether the serial communication specifications are fixed or user
selectable. If the specification is fixed, the fixed value is shown in the last column. If the
specification is selectable, the range of allowed values is shown in the last column.
Communication Specification Fixed or Selectable Range
Baud Rate Selectable 2400, 4800, or 9600 bps
Data Bit Fixed 8
Parity Selectable None, Even, or Odd
Stop Bit Fixed 1
Nodes RS-232D point-to-point only
Nodes Selectable for RS-485 maximum of 31 nodes
Standard RS-232D Serial Communication
The GPD 515 drive offers RS-232D serial communications as a standard feature of the drive.
RS-232D has a maximum transmission distance of 50 feet. RS-232D only allows point-to-point
communications. The specifications for wiring and pin outs for RS-232D are given in Chapter 2.
1-2 GPD 515 and Serial Communication
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.
Read this manual thoroughly before installation, operation, maintenance, and inspection of the
CM085 Option Board.
The CM085 option board employs CMOS technology which may be damaged by static electricity.
Use proper electrostatic discharge (ESD) procedures when handling this board.
The CM085 board is used to convert the drive’s RS-232D standard function to offer RS-485
interface. The following diagram illustrates the CM085 board. (The figure is not actual size.)
CAUTION
Figure 1-1. The CM085 Board
GPD 515 and Serial Communication 1-3
Chapter 2
RS-232D Serial Communication
RS-232D Serial Communication
•
•
Figure 2-1. RS-232D Pin-out at 6CN Connector
RS-232D Serial Communication 2-1
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
2CN
Connector
1CN
Connector
Cable Specifications:
-cable should be a shielded, thin twisted wire 22-28 AWG
-cable pinout is as follows:
Computer - 9 Pin Female
6CN
Connector
Figure 2-1. RS-232D Pin-out at 6CN Connector
GPD 515 Connector for 6CN
D shell
3 - Tx2 - Rx
2 - Rx1 - Tx
5 - GND4 - GND
1
2
3
4
Tx
Rx
GND
-pinout for devices other than a computer (PC), such as a PLC, may vary.
2-2 RS-232D Communication
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 3-1
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. Position the CM085 board onto the control board of the drive, lining up the 2CN connector on
the CM085 board with the 2CN connector on the control board of the drive.
3. Position the two spacer holes on the right side of the CM085 board with the plastic stand-offs
on the control board. Snap the CM085 board onto the stand-offs tightly.
4. Plug the 6CN cable from the CM085 board into location 6CN on the control board.
5. Connect the green wire (labeled ëEí) from the CM085 board to terminal 12 on the drive.
6. After installing the CM085 board onto the drive, connect with peripheral devices and replace
the cover of the drive.
CM085
Board
2CN
Connector
Ground
Terminal
Spacer Holes
inserted onto
stand-offs
E
6CN
Connection
Drive Control
Board
Main Control
Terminals
Terminal Block
Figure 3-1. Position of the CM085 Board on t he GPD 515 Drive
3-2 Installation of CM086 Board
Chapter 4
Wiring of the CM085 Board
Connection of Multiple Drives
•
• Figure 4-1. CM085 Connection Diagram
Wiring Instructions
•
• Figure 4-2. Shielded Wire Termination
• Table 4-1. Functions of Terminal Block TC1
• Table 4-2. Applicable Wire Sizes for Terminal
Block TC1
Terminating Resisto r
•
• Figure 4-3. SW1 Location on the CM085 Board
Wiring of the CM085 Board 4-1
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.
(+)
RS-485
(-)
Shielded Sheath
Connection
S/R (+)
S/R (-)
S/R (+)
S/R (-)
S/R (+)
S/R (-)
TC1
1
2
3
4
SW1
TC2
Ground
Connection
TC1
1
2
2CN
CM085
BOARD
6CN
2CN
Shielded Sheath
Connection
Figure 4-1. Interconnection Diagram
4-2 Wiring of the CM085 Board
3
4
SW1
TC2
Ground
Connection
CM085
BOARD
6CN
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.
SHIELD SHEATH
OUTER JACKET
DO NOT
CONNECT
TO
EXTERNAL
CIRCUIT
TO TC1
TERMINALS
TO TC2
(E)
WRAP BOTH ENDS
OF SHEATH WITH
INSULATING TAPE
CRIMP
CONNECTION
Figure 4-2. Shielded Wire Termination
3. The function terminal block TC1 is described in the table below.
4. It is important that an appropriate wire size is selected. When the wire gauge is too thick,
it may apply pressure to the CM085 board and cause failure. When the wire gauge is too
thin, it may lead to imperfect contact or a break in the wire. The table below indicates
the suggested wire size to be used at TC1.
Pin
FunctionsRemarks
No.
1S/R (+)RS-485 input/output (+)Use as input at
3S/R (+)RS-485 input/output (+)Use as output at
Table 4-2. Applicable Wire Sizes for Terminal Block TC1
[mm2]AWGI [A]VAC [V]
Twisted wire1.01612125
Single wire1.51612125
UL-22-1610300
CSA-28-1610300
CSA-28-1610150
5. When stripping the wire end to be connected at TC1, approximately 5.5 mm of wire
should be exposed to make a good connection.
Note: Avoid sources of electric interference capable of inducing noise into the cable.
Communication and signal wiring should be kept separate from power wiring. If communication
or signal wiring must cross power wiring, it must cross at a right angle.
Wiring of the CM085 Board 4-3
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 (-).
TC1
1
2
3
4
on
SW1
TC2
Figure 4-3. SW1 Location on the CM085 Board
For one-to-one connections of the CM085 card and a master device set SW1 to ON as shown
below.
RS-485
2CN
CM085
BOARD
ON
Master Device
CM085 Board
If multiple CM085 cards are connected to a master device, set SW1 on the last CM085 board to
ON as shown below.
RS-485
OFF
Master Device
CM085 Board
OFF
CM085 Board
OFF
CM085 Board
4-4 Wiring of the CM085 Board
ON
CM085 Board
Chapter 5
Setting GPD 515 Parameters for
Communication
Run/Stop and Frequency Selection
•
Communication Set up Parameters
•
ìENTERî C ommand
•
Setting GPD 515 Parameters for Communication 5-1
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. Parameter b1-01 (Reference Selection) allows you to set up the origin of the
frequency reference, and parameter b1-02 (Operatoin Mode Selection) sets the origin of the
run/stop commands. Parameter b1-01 is Modbus register number 180h, and b1-02 is Modbus
register 181h. The charts shown below illustrate the possible frequency reference and run/stop
selections.
Parameter b1-01 (180h)
Setting
0Digital Operator
1External Terminals
2Serial Communication
3Option board
The default setting of parameter b1-01 is ë1í.
Parameter b1-02 (181h)
Setting
0Digital Operator
1External Terminals
2Serial Communication
3Option board
The default setting of parameter b1-02 is ë1í.
Frequency Reference Selection
Operation Method Selection
(Run/Stop)
5-2 Setting GPD 515 Parameters for Communication
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. The slave address can be any number from 1 to 1F in hexadecimal (or 1 to 31
decimal). Two nodes may not have the same address. The default setting for parameter H5-01
is ë1Fíh.
Parameter H5-02 - Serial Communication Baud Rate Selection
Parameter H5-02 (or Modbus Register 41Dh) is used to select the baud rate. The table below
indicates the baud rates that may be selected.
Setting Value (in hex)Baud Rate Selection
01200 bps
12400 bps
24800 bps
39600 bps
The default setting of parameter H5-02 is ë3í.
Parameter H5-03 - Serial Communication Parity Selection
Parameter H5-03 (or Modbus Register 41Eh) is used to select the parity . The table below
indicates the parity that may be selected.
Setting Value (in hex)Parity Selection
0No parity
1Even parity
2Odd parity
The default setting of parameter H5-03 is ë0í.
Communication Error (CE)
A communication error can occur only after communication has been established between the
master and the drive. The drive waits for the master to initiate communication.
The message data is always checked for CRC, parity, overrun, framing, and overflow. If the data
has discrepancies in any of these areas a communication error will occur. If the drive does not
receive a message (addressed to its appropriate slave address set up in H5-01) within a period of
2 seconds, a time-out occurs. A time-out can also cause a communication error if it is enabled
(see parameter H5-05).
Parameters H5-04 and H5-05 are the set up parameters that determine how the drive will respond
to a communication error.
Setting GPD 515 Parameters for Communication 5-3
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.
Setting Value (in hex)Stopping Method
0Decelerate to stop
1Coast to stop
2Fast Stop
3Alarm Only / Continue Operation
The default setting of parameter H5-04 is ë3í.
Parameter H5-05 - Serial Fault Detection Selection
Parameter H5-05 (or Modbus Register 420h) is used to enable or disable the Time-out detection.
The table below indicates how to enable or disable the communication error.
Setting Value (in hex)Time-out Detection Selection
0disabled
1enabled
The default setting of parameter H5-05 is ‘1’.
Parameter o2-09 - Initial Mode Select
Parameter o2-09 (or Modbus Register 50Dh) determines the Modbus Register Address of the
operational signals register and frequency reference register. Set this parameter to ë1í so that the
Modbus Register Addresses of the Operation Signal register is 001h and the Frequency
Reference register is 002h. The Modbus Register Address for Operation Signals is 00h and the
Frequency Reference register is 01h for flach software versions previous to ‘1024’ and CPU
version ‘20’.
The default setting for parameter o2-09 is ‘0’.
Note: Power must be cycled to the drive,
to make the serial communication set up parameters effective.
5-4 Setting GPD 515 Parameters for Communication
ì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.
Command Data:
The command registers (000h to 00Fh) are stored in Volatile memory. When writing to a
command register the new data becomes active immediately. In the case of a power loss all data
stored in these registers will not be retained.
Monitor Data:
The monitor registers (010h to 01Fh) are stored in Volatile memory. These registers can not be
written to (read only registers). Any data read from the monitor registers will not be retained
during a power loss situation.
Parameter Data:
The parameter registers (100h to 50Dh) are stored in Non-Volatile memory. When writing new
data to parameter registers, an ëENTERí command must be given for the new data to become
active.
There are two different types of ëENTER’ commands, ‘ACCEPT’ and ‘ENTER’. For an ‘ACCEPT’,
write the value ‘0’ to Modbus register FFDDh. This causes data to become “active”. If a power
loss occurs, the data will not be retained. For an ‘ENTER’, write the value ‘0’ to Modbus register
FFFDh. This causes data to become “active” and saves the date to Non-Volatile memory. If a
power loss occurs, the data will be retained.
Some Parameter Data registers may be written to while the drive is running. These parameters
are called run operative parameters. For a list of these paremeters, refer to Appendix A, Table
A1-11 of the GPD 515 technical manual (TM 4515).
All other Parameter Data registers may only be written to when the drive is stopped. These are
called non-run operative parameters.
If new data is written to any parameter serially, and is not followed by an ‘ENTER’ command, a
“Busy Write Protected” message will flash on the Digital Operator display if an attempt is then
made to change a parameter using the Digital Operator.
The same message will be displayed if an attempt is made to change a parameter via the Digital
Operator while the contents of the ‘ENTER’ command register is any value other than ‘0’.
NOTE
Use the ‘ENTER’ (FFFDh) command only when necessary!
The life of the EEPROM (Non-Volatile memory) on the GPD 515 will support a finite number of
operations. This means that the ‘ENTER’ command, value ‘0’ written to
register FFFDh, can only be used a maximum of a 100,000 times to store data in the EEPROM.
After the specified number of operations, the EEPROM may fault
control board to be replaced.
(ERR)
requiring the GPD 515
Setting GPD 515 Parameters for Communication 5-5
Chapter 6
The Message Format
Message Functions
•
Read Multiple Registers
•
Loop Back Test
•
Write Multiple Registers
•
No Response Message
•
CRC-16
•
The Message Format 6-1
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.
Function
Code (hex)
3Read Multiple Registers88737
8Loop-back test8888
10Write Multiple Registers114188
The message format varies depending upon the function of the message. For each function,
there is a command message from the master and a response message initiated from the slave.
The following sections review the format of the command message and the response message
for each function.
Function
Command
Message
min.
(bytes)
max.
(bytes)
Response
Message (Normal)
min.
(bytes)
max.
(bytes)
6-2 The Message Format
Read Multiple Registers - 03h
N
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
STARTING
REGISTER
O.
UPPER
LOWER
UPPER
03h
00h
20h
00h
QTY.
LOWER
LOWER
04h
45h
CRC-16
UPPER
F0h
Each GPD 515ís slave address is set in advance by the drive parameter H5-01. Valid slave
addresses must be in the range of 1 to 31 decimal (1 to 1F hex). No two slaves may have the
same address. The master addresses the slave by placing the slave address in the address field
of the message. In the command message above, the slave is addressed at 2.
The function code of this message is 03h (read multiple registers).
The starting number is the first register to be read. In the command message above the starting
register is 20h, indicating that the first register is the Frequency Reference. A listing of the GPD
515ís registers is shown in Chapter 7, Registers.
The quantity indicates how many consecutive registers are to be read. 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 four consecutive registers to be
read: 20h-Frequency Reference, 21h-Output Frequency, 22h-Output Current, and 23h-Control
Method.
A CRC-16 value is generated from a calculation using the values of the address, function code,
and data sections of the message. The procedure for calculating a CRC-16 is described at the
end of this chapter. When the slave receives the command message it calculates a CRC-16
value and compares it to the one in CRC-16 field of the command message. If these two CRC-16
values are the same the slave has received the proper command message. If the two CRC-16
values are not the same the slave will not respond.
If the command message has a valid slave address, function code, starting register, and quantity
value, the slave will respond with a normal response message. If the command message has an
invalid slave address, function code, starting register, and/or quantity the slave will respond with a
fault response message.
The Message Format 6-3
6-4 The Message Format
Normal Response Message
SLAVE ADDRESS
FUNCTION CODE
NO. OF DATA BYTES
STARTING
REGISTER
CONTENTS
UPPER
LOWER
03h
08h
17h
70h
The starting register, 20h
(Frequency Reference),
has a value of 1770h or
6000 dec. (60.00 Hz)
The next register, 21h
(Output Freque ncy), has
a value of 1770h or 6000
dec. (60.00 Hz).
The next register, 22h
(Output Current), has a
value of 109h or 265 dec.
NEXT
REGISTER
CONTENTS
NEXT
REGISTER
CONTENTS
UPPER
LOWER
UPPER
LOWER
17h
70h
01h
09h
(drive rating / 8192).
NEXT
REGISTER
CONTENTS
UPPER
LOWER
00h
00h
The next register, 23h
(Control Method), has a
value of 00h or 0 dec.
CRC-16
LOWER
UPPER
38h
AC
h
(V/f Control).
The normal response message contains the same slave address and function code as the
command message, indicating to the master which slave is responding and to what type of
function it is responding.
The number of data bytes is the number of data 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 response message contains 8 upper and 8 lower bits of data for each
register that has been read from the drive.
A CRC-16 value is generated from a calculation using the values of the address, function code,
number of data bytes, and register data sections 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. When the master receives the response message it
should calculate a CRC-16 value and compare it to the one in the CRC-16 field of the response
message. If these two CRC-16 values are the same the master has received the proper
response message.
The Message Format 6-5
Fault Response Message
SLAVE ADDRESS
80h + FUNC. CODE
ERROR CODE
LOWER
CRC-16
UPPER
83h
02h
30h
F1h
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. This indicates to the master that the message is a fault response message, instead
of a normal response message.
The error 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 be read from an invalid register. A complete listing of the error codes is shown in
Chapter 8, Troubleshooting and Error Codes.
A CRC-16 value is generated from a calculation 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. How the response message is handled by the master
depends on what master is used. When the master receives the fault response message it
should calculate a CRC-16 value and compare it to the one in the CRC-16 field of the fault
response message. If these two CRC-16 values are the same the master has received the
proper fault response message.
6-6 The Message Format
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
08h
00h
CODE
LOWER
UPPER
00h
A5h
DATA
LOWER
LOWER
37h
DAh
CRC-16
UPPER
8Dh
Each GPD 515ís slave address is set in advance by the drive parameter H5-01. Valid slave
addresses must be in the range of 1 to 31 decimal (1 to 1F hex). No two slaves may have the
same address. The master addresses the slave by placing the slave address in the address field
of the message. In the command message above, the slave is addressed at 1.
The function code of this message is 08h (loop-back test).
The test code must be set to ë0000í. This function specifies that the data passed in the
command message is to be returned (looped back) in the response message.
The data section contains arbitrary data values. These data values are used to verify that the
slave receives the correct data.
A CRC-16 value is generated from a calculation using the values of the address, function code,
test code, and data sections of the message. The procedure for calculating a CRC-16 is
described at the end of this chapter. When the slave receives the command message it
calculates a CRC-16 value and compares it to the one in CRC-16 field of the command message.
If these two CRC-16 values are the same the slave has received the proper command message.
If these two CRC-16 values are not the same the slave does not respond.
If the command message has 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 data value the slave will respond with a fault
response message.
The Message Format 6-7
Normal Response Message
SLAVE ADDRESS
FUNCTION CODE
TEST
UPPER
08h
00h
CODE
LOWER
UPPER
00h
A5h
DATA
LOWER
LOWER
37h
DAh
CRC-16
UPPER
8Dh
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
88h
01h
CRC-16
LOWER
UPPER
87h
C0h
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 08h. This indicates to the master that the message is a fault response message, instead
of a normal response message.
The error code indicates where the error occurred in the command message. A complete listing of
the error codes is shown in Chapter 8, Troubleshooting and Error Codes.
A CRC-16 value is generated from a calculation using the values of the address, function code,
and data sections 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. When the master receives the fault response message it should calculate a
CRC-16 value and compare it to the one in the CRC-16 field of the fault response message. If
these two CRC-16 values are the same the master has received the proper fault response
message.
6-8 The Message Format
Write Multiple Registers - 10h
N
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
STARTING
REGISTER
O.
UPPER
LOWER
UPPER
QTY.
LOWER
NO. OF DATA BYTES
UPPER
DATA TO
FIRST
REGISTER
DATA TO
NEXT
REGISTER
LOWER
UPPER
LOWER
LOWER
CRC-16
10h
00h
01h
00h
02h
04h
00h
01h
17h
70h
6Dh
The first register, 01h
(Operation Command) has
a value of 01h or 1 dec.
(forward run command)
The next register, 02h
(Frequency Reference) has
a value of 1770h or 6000
dec. (60.00 Hz)
UPPER
B7h
Each GPD 515ís slave address is set in advance by the drive parameter H5-01. Valid slave
addresses must be in the range of 1 to 31 decimal (1 to 1F hex). No two slaves may have the
same address. The master addresses the slave by placing the slave address 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 operation signals (register 1h) and frequency reference (register 2h) to all slaves on the
network. The master can send a single transmission to all the slaves simultaneously. This is
called simultaneous broadcasting. In a simultaneous broadcast message all of the slaves on the
network act upon one message. Simultaneous Broadcast registers are shown in Chapter 7,
Registers (page 7-2).
The function code of this message is 10h (write multiple registers).
The starting register number is the first register to be written to. In the command message above
the starting number is 01h, indicating that the first register is the frequency reference. A listing of
the GPD 515ís registers is shown in Chapter 7, Registers.
The Message Format 6-9
6-10 The Message Format
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.
The number of data bytes is the number of bytes of data to be written to the drive. The number of
data bytes is actually the quantity times 2, since there are two bytes of data in each register.
The data section of the response message contains 8 upper and 8 lower bits of data for each
register that is being written to.
A CRC-16 value is generated from a calculation using the values of the address, function code,
starting register number, quantity, number of data bytes, and data sections of the message. The
procedure for calculating a CRC-16 is described at the end of this chapter. When the slave
receives the command message it calculates a CRC-16 value and compares it to the one in CRC16 field of the command message. If these two CRC-16 values are the same the slave has
received the proper command message. If these two CRC-16 values are not the same the slave
does not respond.
If the command message has a valid slave address, function code, starting register number,
quantity, number of data bytes, and data values, the slave will respond with a normal response
message. If the command message has an invalid slave address, function code, starting register
number, quantity, number of data bytes, and/or data values the slave will respond with a fault
response message.
Normal Response Message
SLAVE ADDRESS
FUNCTION CODE
STARTING
REGISTER
NUMBER
UPPER
LOWER
UPPER
10h
00h
01h
00h
QTY.
LOWER
LOWER
02h
10h
CRC-16
UPPER
08h
The normal response message contains the same slave address and function code as the
command message, indicating to the master which slave is responding and to what type of
function it is responding.
The starting number is the first register that was written to. In the response message above the
starting number is 01h, indicating that the first register is the operation command.
The quantity indicates how many consecutive registers were written to.
The Message Format 6-11
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. When the master receives the response message it
should calculate a CRC-16 value and compare it to the one in the CRC-16 field of the response
message. If these two CRC-16 values are the same the master has received the proper
response message.
Fault Response Message
SLAVE ADDRESS
80h + FUNC. CODE
ERROR CODE
LOWER
90h
02h
CDh
CRC-16
UPPER
C1h
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 10h. This indicates to the master that the message is a fault response message, instead
of a normal response message.
The error 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 to an invalid register. A complete listing of the error codes is shown
in Chapter 8, Troubleshooting and Error Codes.
A CRC-16 value is generated from a calculation 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. How the response message is handled by the master
depends on what master is used. When the master receives the fault response message it
should calculate a CRC-16 value and compare it to the one in the CRC-16 field of the response
message. If these two CRC-16 values are the same the master has received the proper
response message.
6-12 The Message Format
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.
3.
When the slave address in the command message does not coincide with the address
set in the slave.
4.
When the command message data length is not proper.
CRC-16
At the end of the message, the data for CRC error checking is sent in order to detect errors in
signal transmission. In Modbus RTU, the error check is conducted in the form of a CRC-16
(Cyclical Redundancy Check). The CRC field checks the contents of the entire message. It is
applied regardless of any parity check method used for the individual characters of the message.
The CRC field is two bytes, containing 16-bit binary value. The CRC value is calculated by the
transmitting device, which appends the CRC to the message. The receiving device 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 started by first preloading a 16-bit register to all 1ís. Then a process begins of
applying successive 8-bit bytes of the message to the current contents of the register. Only the
eight bits of data in each character are used for generating the CRC. Start and stop bits, and the
parity bit (if one is used) do not apply to the CRC.
During generation of the CRC, each 8-bit character is exclusive ëORíed with the register contents.
Then the result is shifted in the direction of the least significant bit (LSB), with a zero filled into the
most significant bit (MSB) position. The LSB is extracted and examined. If the LSB is a 1, the
register is then exclusive ëORíed with a preset, fixed value (A001h). If the LSB is a 0, no
exclusive OR takes place.
This process is repeated until eight shifts have been performed. After the last (eighth) shift, the
next 8-bit byte is exclusive ëORíed with the registerís current value, and the process repeats for
eight more shifts as described above. The final contents of the register, after all the bytes of the
message have been applied, is the CRC value.
For applications using a host computer, a detailed example of a CRC generation using Quick
Basic is shown on the following page.
The Message Format 6-13
Typical CRC-16 Calculation Program in Quick Basic:
CLS
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 "***************************************************"
PRINT
INPUT "Enter 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# = (INT(crcsum# / 2)) AND &H7FFF&
IF crcsum# AND &H1& THEN
crcsum# = crcshift# XOR crcconst#
ELSE
crcsum# = crcshift#
END IF
NEXT shift
NEXT bytenum
lower& = crcsum# AND &HFF&
upper& = (INT(crcsum# / 256)) AND &HFF&
After calculating the CRC-16 upper and
lower values they are inserted into the
message format as shown below.
0000 0010
0000 0111
0100 0001
0001 0010
Slave Address = 2
Function Code = 7
CRC-16 Lower = 41h
CRC-16 Upper = 12h
6-16 The Message Format
Chapter 7
Registers
Simultaneous Broadcast Registers
•
Command Registers
•
Monitor Registers
•
Drive Parameter Re gisters
•
Special Registers
•
Registers 7-1
Simultaneous Broadcast Registers (Write only)
p
REGISTERFUNCTIONBITDATADESCRIPTION
(in hex)NO.SET
001*Operational Signals00Sto
1Run
10Forward Run
1Reverse Run
2not used
3not used
41External Fault
51Fault Reset
6not used
7not used
002*Frequency Reference
Notes:
1. Scaling depends on the setting of o1-03.
* Set parameter o2-09 to ‘1’ so that the Modbus Register Address of the Operation Signals register is 01h and the Frequency Reference register is 02h. The
Modbus Register Address for Operation Signals register is 00h and the Frequency Reference is 01h for flash software versions previous to ‘1024’
and CPU version ‘20’.
1. Desired frequency of 35.75 Hz requires a value of 3575 in register data code 002h. Scaling depends on the setting of o1-03.
2. Effective when H2-01 = 0Fh.
3. Effective when H2-02 = 0Fh.
4. Effective when H2-03 = 0Fh.
5. Effective when H4-01 = 1Fh.
6. Effective when H4-04 = 1Fh.
* Set parameter o2-09 to ‘1’ so that the Modbus Register Address of the Operation Signals register is 01h and the Frequency Reference register is 02h. The
Modbus Register Address for Operation Signals register is 00h and the Frequency Reference is 01h for flash software versions previous to ‘1024’
and CPU version ‘20’.
7-3Registers
Monitor Registers (Read only)
y
(
)
)
)
)
)
)
ge (oV)
)
)
)
)
)
)
)
)
REGISTERFUNCTIONBITDESCRIPTION
(in hex)NO.
010hStatus Signal0Run Command
1At zero speed
2Reverse Operation
3Reset Signal Input
4Speed Agreed
5Drive Read
6Minor Fault
7Major Fault
024hU1-05Motor SpeedMotor Speed (in 0.1 Hz)
025hU1-06Output VoltageOutput Voltage (in 0.1 V)
026hU1-07DC Bus VoltageDC Bus Voltage (in 1 V)
027hU1-08Output PowerOutput Power (in 0.1 kW)
028hU1-09Torque ReferenceTorque Reference (in 0.1%)
029hU1-10Input Terminal Status0Input Terminal 1 closed
02ChU1-13Elapsed Timehours
02DhU1-14Software No. (CPU ID No.)software version number
02EhU1-15Control Circuit Term 13 Input Voltage
02FhU1-16Control Circuit Term 14 Input Voltage
030hU1-17Control Circuit Term 16 Input Voltage
031hU1-18Motor Secondary Current (Iq)Motor Secondary Current-Iq (0.1%)
032hU1-19Motor Exciting Current (Id)Motor Rated Primary Current-Id (0.1%)
033hU1-20Output Frequency after Soft-startMax. Output Frequency (0.01 Hz)
034hU1-21Automatic Speed Regulator (ASR)
Input
035hU1-22Automatic Speed Regulator (ASR)
Output
036hU1-23Speed Deviation Regulator InputSpeed Deviation Regulator Input (0.01%)
037hU1-24PID Feedback AmountPID Feedback Amount (0.01%)
038hU1-25DI - 16 H Input Statusdisplays an input value according to the setting of F3-01
039hU1-26Output Voltage Reference VqOutput Voltage-Vq (0.1V)
03AhU1-27Output Voltage Reference VdOutput Voltage-Vd (0.1V)
03BhU1-28Software No. CPUprocessor version number
03DhU1-32ACR Output q AxisASR Output q Axis (0.1%)
03EhU1-33ACR Output d AxisASR Output d Axis (0.1%)
03FhU1-34OPE Detectedparameter setting error
1Zero-Speed
2Reverse Run
3Reset Signal Input
4Speed Agree
5Drive Operation Ready
6Minor Fault
7Major Fault
Input voltage signal at terminal 13 (+10V / +100.0% ∼ -10V / -100.0%)
Input voltage or mAmp signal at terminal 14 (+10V / +100.0% ∼ -10V / -
100.0%) or (4mA / 0.0% ∼ 20mA / 100.0%)
Input voltage signal at terminal 16 (+10V / +100.0% ∼ -10V / -100.0%)
080hU2-01Current Fault
081hU2-02Last Fault
082hU2-03Frequency Ref. at FaultFrequency Reference at the time of the current fault (0.0 to 400.0 Hz)
083hU2-04Output Frequency at FaultOutput Frequency at the time of current fault (0.0 to 400.0 Hz)
084hU2-05Output Current at FaultOutput Current at the time of current fault (drive rating /8192)
085hU2-06Motor Speed at FaultMotor Speed at the time of current fault (in 0.1 Hz)
086hU2-07Output Voltage at FaultOutput Voltage at the time of current fault (in 0.1 V)
087hU2-08DC Bus Voltage at FaultOutput Voltage at the time of current fault (in 1 V)
088hU2-09Output kWatts at FaultOutput Power at the time of current fault (in 0.1 kW)
089hU2-10Torque Reference at FaultTorque Reference at the time of current fault (in 0.1%)
08AhU2-11Input Terminal Status at Fault0Input Terminal 1 closed at time of fault
08BhU2-12Output Terminal Status at Fault0Control Circuit terminals 9 & 10: ìClosedî
Code of current fault
Code of second to current fault
1Input Terminal 2 closed at time of fault
2Input Terminal 3 closed at time of fault
3Input Terminal 4 closed at time of fault
4Input Terminal 5 closed at time of fault
5Input Terminal 6 closed at time of fault
6Input Terminal 7 closed at time of fault
7Input Terminal 8 closed at time of fault
08ChU2-13Drive Status at Fault0Running at the time of fault
1Zero-Speed at the time of fault
2Reverse Running at the time of fault
3Reset Signal Input at the time of fault
4Speed Agree at the time of fault
5Drive Operation Ready at the time of fault
6Minor Fault
7Major Fault
08DhU2-14Elapsed Time at FaultElapsed Time at the time of fault (in hrs.)
090hU3-01Last Fault
091hU3-02Fault Message 2
092hU3-03Fault Message 3
093hU3-04Fault Message 4
094hU3-05Elapsed Time 1Elapsed Time at the most recent fault occurrence
095hU3-06Elapsed Time 2Elapsed Time at the second to most recent fault occurrence
096hU3-07Elapsed Time 3Elapsed Time at the third to most recent fault occurrence
097hU3-08Elapsed Time 4Elapsed Time at the fourth to most recent fault occurrence
Notes (for this page only):
1. List of Drive Error Codes can be found in Chapter 8, Error Codes and Troubleshooting.
184hb1-05Zero Speed Operation0Run at Frequency Reference
(level determined by E1-09)1Stop0
185hb1-06Logic Input Scan Rate02ms - 2 scans1
186hb1-07Local / Remote RUN Selection 0Cycle External Run0
187hb2-01DC Injection Braking Start
Frequency
188hb2-02DC Injection Braking Current0 - 100%50
189hb2-03DC Injection Braking Time at Start0.00 - 10.00 seconds0.00
18Ahb2-04DC Injection Braking Time at Stop0.00 - 10.00 seconds0.00
18Bh-18Dh
Reserved
0
1
2
3
1Terminal1
2Serial Communication
3Option PCB
1Coast to Stop0
2DC Injection to Stop
3Coast with Timer
18Fhb3-02Speed Search Current0 to 200%150
190hb3-03Speed Search Decel Time0.0 to 10.0 seconds2.0
191h
192hb4-01Timer Function ON-Delay Time0.0 to 300.0 seconds0.0
193hb4-02Timer Function OFF-Delay Time0.0 to 300.0 seconds0.0
194hb5-01PID Control Mode Selection0Disabled
195hb5-02PID Proportional Gain0.00 to 10.001.00
196hb5-03PID Integral Time0.0 to 360.0 seconds1.0
197hb5-04PID Integral Limit0.0 to 100.0%100.0
198hb5-05PID Differential Time0.00 to 10.00 seconds0.00
199hb5-06PID Output Limit0.0 to 100.0%100.0
19Ahb5-07PID Offset Adjustment-100.0 to +100.0%0.0
19Bhb5-08PID Primary Delay0.00 to 10.00 seconds0.00
19Chb6-01Dwell Frequency at Start0.0 to 400.0 Hz0.0
19Dhb6-02Dwell Time at Start0.0 to 10.0 seconds0.0
19Ehb6-03Dwell Frequency at Stop0.0 to 400.0 Hz0.0
19Fhb6-04Dwell Time at Stop0.0 to 10.0 seconds0.0
1A0hb7-01Droop Control Gain0.0 to 100.00.0
1A1hb7-02Droop Control Delay Time0.03 to 2.00 seconds0.05
1A2hb8-01Energy Saving Gain0 to 100%80
1A3hb8-02Energy Saving Frequency0.0 to 400.0 Hz0.0
1A4hb9-01Zero-Servo Gain0 to 1005
1A5hb9-02Zero-Servo Completion Width0 to 1638310
200hC1-01Acceleration Time 1
201hC1-02Deceleration Time 1
202hC1-03Acceleration Time 2
203hC1-04Deceleration Time 2
204hC1-05Acceleration Time 3
205hC1-06Deceleration Time 3
206hC1-07Acceleration Time 4
207hC1-08Deceleration Time 4
208hC1-09Fast Stop Deceleration Time
209hC1-10Accel / Decel Time Setting Unit00.01 seconds1
20AhC1-11Accel / Decel Time Switching Freq.0.0 to 400.0 Hz0.00
20BhC2-01S-curve Characteristic at Accel Start0.0 to 2.50 seconds0.20
20ChC2-02S-curve Characteristic at Accel End0.0 to 2.50 seconds0.20
20DhC2-03S-curve Characteristic at Decel Start0.0 to 2.50 seconds0.20
20EhC2-04S-curve Characteristic at Decel End0.0 to 2.50 seconds0.20
20FhC3-01Slip Compensation Gain0.0 to 2.5
210hC3-02Slip Compensation Primary Delay
Time
211hC3-03Slip Compensation Limit0 to 250%200
212hC3-04Slip Compensation Selection0Disabled0
during Regeneration1Enabled
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
0.00 to 600.00 or 0.0 to 6000.0 seconds
10.1 seconds
0 to 10000 msec.
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
10.0
10.0
10.0
10.0
10.0
10.0
10.0
10.0
10.0
(2)
(2)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Notes (for this page only):
1. Values are dependent upon C1-10 setting.
2. Initial setting differs depending on the Control Method (A1-02).
213hC4-01Torque Compensation Gain0.00 to 2.501.00
214hC4-02Torque Compensation Time
Constant
215hC5-01ASR Proportional Gain 10.00 to 300.00
216hC5-02ASR Integral Time 10.0000 to 10.000 seconds
217hC5-03ASR Proprotional Gain 20.00 to 300.00
218hC5-04ASR Integral Time 20.0000 to 10.000 seconds
219hC5-05Automatic Speed Regulator (ASR)
Output Limit
21AhC5-06ASR Primary Delay Time0.000 to 0.500 seconds0.004
21BhC5-07ASR Switching Frequency0.0 to 400.0 Hz0.0
21ChC6-01Carrier Frequency Upper Limit
21DhC6-02Carrier Frequency Lower Limit
21EhC6-03Carrier Frequency Proportional Gain
21FhC7-01Hunting Prevention Selection0, 11
220hC7-02Hunting Prevention Gain0.00 to 2.501.00
221h
222-229h
22AhC8-08AFR Gain0.00 to 10.001.00
22B-23Fh
240hC8-30Carrier in Tune0Fc = 2kHz0
Reserved
Reserved
Reserved
0 to 10000
0.0 to 20.0%5.0
(2)
(2)
(2)
15.0
15.0
00
0.4 to 15.0 kHz
0.4 to 15.0 kHz
00 to 99
1Fc = C6-01
(1)
(1)
(1)
(1)
1)
(2)
(2)
(2)
Notes (for this page only):
1. Initial value differs depending on the Control Method (A1-02).
2. Setting range and initial value differ depending on the drive capacity and Control Method.
289hd2-01Frequency Reference Upper Limit0.0 to 110.0%100.0
28Ahd2-02Frequency Reference Lower Limit0.0 to 100.0 %0.0
28Bhd3-01Critical Frequency Rejection 10.0 to 400.0 Hz0.0
28Chd3-02Critical Frequency Rejection 20.0 to 400.0 Hz0.0
28Dhd3-03Critical Frequency Rejection 30.0 to 400.0 Hz0.0
28Ehd3-04Critical Frequency Rejection Width0.0 to 20.0 Hz1.0
28Fhd4-01Frequency Reference Hold0Disabled0
Function Selection1Enabled
280hd4-02Speed Limits0 to 100%25
291hd5-01Torque Control Selection0Speed Control0
300hE1-01Input Voltage Setting155 to 255V (230V unit)
301hE1-02Motor Selection0General Purpose Motor (TEFC)0
302hE1-03V/f Pattern Selection0 to Eh15 preset V/f patterns
303hE1-04Maximum Ooutput Frequency50.0 to 400.0 Hz60.0
304hE1-05Maximum Voltage0.0 to 255.0V (230V unit)
305hE1-06Maximum Voltage Frquency0.0 to 400.0 Hz60.0
306hE1-07Mid. Output Frequency0.0 to 400.0 Hz
307hE1-08Mid. Output Frqeuency Voltage155 to 250V (230V unit)
308hE1-09Min. Output Frequency0.0 to 400.0 Hz
309hE1-10Min. Output Frequency Voltage155.0 to 255.0V (230V unit)
30AhE1-11Mid. Frequency B0.0 to 400.0 Hz0.0
30BhE1-12Mid. Voltage B0.0 to 255.0 VAC0.0
30ChE1-13Base Voltage0.0 to 255.0 VAC0.0
30Dh
30EhE2-01Motor Rated Current0.00 to 99.99 or 100.0 to 1500.0 Amps
30FhE2-02Motor Rated Slip0.00 to 20.00 Hz
310hE2-03Motor no-Load Current0.00 to 99.99 or 100.0 to 1500.0 Amps
311hE2-04Number of Motor Poles2 to 48 poles4
312hE2-05Motor Line-to-Lline Resistance0.000 to 65.000 Ohms
Reserved
310 to 510V (460V unit)
1Blower Cooled Motor (TENV or
TEBC)
FhCustom Pattern (using E1-04 to
E1-10)
0.0 to 510.0V (460V unit)
310 to 510V (460V unit)
310.0 to 510.0V (460V unit)
230
460
Fh
230.0
460.0
(1)
(1)
(1)
(1)
(2)
(2)
(2)
(2)
Notes (for this page only):
1. Initial value differs depending on the Control Method (A1-02).
2. Initial value differs depending on drive capacity.
313hE2-06Motor Leakage Inductance0.0 to 30.0%
314hE2-07Motor Iron-core Saturation Coefficient 10.00 to 0.500.50
315hE2-08Motor Iron-core Saturation Coefficient 20.00 to 0.750.75
316hE2-09Motor Mechanical Loss0.0 to 10.0%0.0
317hE3-01Motor 2 Control Method Selection0V/f Control
318hE4-01Motor 2 Max. Output Frequency50.0 to 400.0 Hz7
319hE4-02Motor 2 Maximum Voltage0.0 to 255.0V (230V unit)
31AhE4-03Motor 2 Max. Voltage Frequency0.0 to 400.0 Hz60.0
31BhE4-04Motor 2 Mid. Output Frequency0.0 to 400.0 Hz
31ChE4-05Motor 2 Mid. Output Freq. Voltage0.0 to 255.0V (230V unit)
31DhE4-06Motor 2 Min. Output Frequency0.0 to 400.0 Hz
31EhE4-07Motor 2 Min. Output Freq. Voltage0.0 to 255.0V (230V unit)
31FhE5-01Motor 2 Rated Current0.00 to 99.99 or 100.0 to 1500.0 Amps
320hE5-02Motor 2 Rated Slip0.00 to 20.00 Hz
321hE5-03Motor 2 No-Load Current0.00 to 99.99 or 100.0 to 1500.0 Amps
322hE5-04Motor 2 Number of Poles2 to 48 poles4
323hE5-05Motor w Line-to-Line Resistance0.000 to 65.000 Ohms
324hE5-06Motor 2 Leakage Inductance0.0 to 30.0%
(2)
1V/f with PG Feedback2
2Open Loop Vector
3Flux Vector
230.0
0.0 to 510.0V (460V unint)
0.0 to 510.0V (460V unint)
0.0 to 510.0V (460V unint)
460.0
(1)
(1)
(1)
(1)
(2)
(2)
(2)
(2)
(2)
Notes (for this page only):
1. Initial value differs depending on the Control Method (A1-02).
2. Initial value differs depending on drive capacity (o2-04).
400hH1-01Multi-function Input (terminal 3)0 to 77h24h
401hH1-02Multi-function Input (terminal 4)0 to 77h14h
402hH1-03Multi-function Input (terminal 5)0 to 77h
403hH1-04Multi-function Input (terminal 6)0 to 77h
404hH1-05Multi-function Input (terminal 7)0 to 77h
405hH1-06Multi-function Input (terminal 8)0 to 77h
406hH2-01Multi-function Output (term. 9 & 10)0 to 37h0
407hH2-02Multi-function Output (term. 25-27)0 to 37h1
408hH2-03Multi-function Output (term. 26-27)0 to 37h2
409hH3-01Auto Speed Reference Signal00 to 10 V DC0
Level Selection (term. 13)1-10 to +10 V DC
40AhH3-02
40BhH3-03Auto Speed Reference Signal Bias-100.0 to +100.0%0.0
40ChH3-04
40DhH3-05Multi-function Analog Input 1 Select.0 to 1Fh0
40EhH3-06Multi-function Analog Input 1 Gain0.0 to 1000.0%100.0
40FhH3-07Multi-function Analog Input 1 Bias-100.0 to +100.0%0.0
410hH3-08Multi-function Analog Input 2 Signal00 to 10 V DC
411hH3-09Multi-function Analog Input 2 Select.0 to 1Fh1Fh
412hH3-10Multi-function Analog Input 2 Gain0.0 to 1000.0%100.0
413hH3-11Multi-function Analog Input 2 Bias-100.0 to +100.0%0.0
414hH3-12Analog Input Filter Time Constant0.00 to 2.00 seconds0.00
Auto Speed Reference Signal Gain
Multi-function Analog Input 1 Signal
Level Selection (term. 16)1-10 to +10 V DC
Level Selection (term. 14)1-10 to +10 V DC2
3 (or 0)
4 (or 3)
6 (or 4)
8 (or 6)
0.0 to 1000.0%100.0
00 to 10 V DC0
24 to 20 mA
(1)
(1)
(1)
(1)
Notes:
1. Initial value in the parentheses are values obtained at a 3-wire initialization.
Selection (terminal 21)
416hH4-02Multi-function Analog Monitor 1 Gain0.00 to 2.501.00
417hH4-03Multi-function Analog Monitor 1 Bias-10.0 to +10.0%0.0
418hH4-04Multi-function Analog Monitor 2
Selection (terminal 23)
419hH4-05Multi-function Analog Monitor 2 Gain0.00 to 2.500.50
41AhH4-06Multi-function Analog Monitor 2 Bias-10.0 to +10.0%0.0
41BhH4-07Multi-function Analog Monitor Signal00 to 10 V DC0
Level Selection (terminal 21 & 23)1-10 to +10 V DC
41ChH5-01Serial Communication Address0 to 1Fh1Fh
41DhH5-02Serial Communication Baud Rate01200 bps
41EhH5-03Serial Communication0No Parity
Parity Selection1Even Parity0
41FhH5-04Stopping Method after Serial0Ramp to Stop
49ChL6-05Torque Detection Level 20 to 300%150
49DhL6-06Torque Detection Time 20.0 to 10.0 seconds0.1
49EhL7-01Forward Torque Limit0 to 300%200
49FhL7-02Reverse Torque Limit0 to 300%200
4A0hL7-03Forward Regenerative Torque Limit0 to 300%200
4A1hL7-04Reverse Regenerative Torque Limit0 to 300%200
4A2-4A3h
4A4hL8-01Internal Dynamic Braking0Not Provided0
4A5hL8-02oH (Overheat) Protection Alarm Level50 to 110 oC100
4A6hL8-03Operation Selection after oH0Ramp to Stop
FFDDhACCEPT0Activates newly written data
FFFDhENTER0Activates newly written data and saves to Non-Volatile memory
7-28Registers
Chapter 8
Error Codes and Troubleshooting
Communication Erro r (CE)
•
Modbus Error Codes
•
• Figure 8-1. Fault Response Message
GPD 515 Failure Codes
•
Error Codes and Troubleshooting 8-1
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. A time-out detection can also cause a communication error. A time-out occurs if the
drive does not receive a valid message addressed to itself within two seconds. A time-out will
only cause a communication error if enabled by parameter H5-05 (as shown below).
The GPD 515 drive will operate according to the setting of parameter H5-04 when a
communication error (CE) occurs. The settings of H5-04 are as follows:
H5-04 SettingDescription
0Deceleration to stop, and the Digital Operator flashes ëCEí.
1Coast to stop, and the Digital Operator flashes ëCEí.
2Deceleration to stop (C1-09), and the Digital Operator flashes ëCEí.
3Operation continues, and the Digital Operator flashes ëCEí.
The default setting of H5-04 is ë3í.
8-2 Error Codes and Troubleshooting
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
xxh
03h
xxh
CRC-16
LOWER
xxh
Figure 8-1. Fault Response Message
The following table indicates the fault code for the specific type of fault that occurred.
Error CodeNameFault Content
01hFunction ErrorFunction Code other than 3, 8, or 10 (hex)
02hRegister No. ErrorUnregistered Register Number
03hNo. of RegistersNumber of registers > 16
21hData Setting ErrorAttempted to write beyond register‘s data limits
22hWrite-in ErrorWrite function is disabled for specified register
GPD 515 Fault Codes
The GPD 515 drive can have a drive fault, such as undervoltage, overload, external fault, etc.
When a drive failure occurs, it can be classified as an alarm, a minor fault, or a major fault. The
drive reacts differently with each type of failure. An alarm displays a warning indication, however
operation continues. Minor faults allow continued operation, and a contact will close only if one of
the multi-function outputs is set up as a minor fault contact. The major faults cause the motor to
coast to stop, and the fault signal output is present at terminals 18-20.
The GPD 515‘s parameters U2-01 (Current Fault), U2-02 (Last Fault), and U3-01 through
U3-04 (Last Fault; Fault Message 2, 3, & 4) each display a fault code representing the drive
failure. The following table indicates the abbreviation displayed on the Digital Operator and the
hexadecimal code viewed in drive parameters U2-01, U2-02 and U3-01 when a specific drive
failure occurs. The table also indicates whether the drive failure is an A – alarm, m – minor fault,
or M – major fault.
Error Codes and Troubleshooting 8-3
Drive FailureDigital Operator
Display
Hexadecimal
Code
Alarm, minor fault,
or Major Fault
DC Bus Fuse OpenPUF1M
DC Bus UndervoltageUV12A
CTL PS UndervoltageUV23A
Note: Further detail on drive failures can be found in Chapter 6 of technical manual
TM 4515.
8-4 Error Codes and Troubleshooting
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 9-1
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.
How to use the Command Priority Tables:
First, determine the source of control you wish to use for your GPD 515 drive. Then b1-02 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 based upon what type of
operation your drive is set up for.
Operation Commands
b1-02Run/Stop from:Use Table:On page #:
3Option PC Board9-49-6
2Serial Communication9-19-3
1External Terminals9-29-4
0Digital Operator9-39-5
The left hand column of the Command Priority tables is the source of the command (serial
communication, external terminals, and the Digital Operator). The middle column lists the
functions or commands, and the right most column indicates whether the functions are
operational or not available from each source.
9-2 Command Priority
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.
6Fault Contact (terminal 18 & 20)O
7Fault Contact Closed (effective when bit 6 =1)O
Data DescriptionFunction
Availability
O
O
O
O
O
O
(2)
(2)
(2)
(2)
(2)
(2)
O
O
O
(1)
(6)
(7)
(3)
(4)
(5)
(8)
(9)
(1)
Notes:
1Fault Reset (Multi-function Input terminal 4 default setting) is only effective when run command
received serially is ì0î while in stopped condition.
2. The availability of the multi-function input terminals vary depending upon the settings of H1-01,
H1-02, H1-03, H1-04, H1-05, H1-06 (the multi-function input settings), and A1-02 (Control
Method). See technical manual TM 4515.
3. Effective when H2-01 is ì0Fî.
4. Effective when H2-02 is ì0Fî.
5. Effective when H2-03 is ì0Fî.
6. Effective when H4-01 is ì1Fî.
7. Effective when H4-04 is ì1Fî.
8. Effective when o2-02 is ì1î.
9. Effective when o2-01 is ì1î.
Command Priority 9-3
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.
6Fault Contact (terminals 18 & 20)n/a
7Fault Contact Closed (effective when bit 6=1)n/a
Data DescriptionFunction
Availability
O
(2)
(2)
(2)
(2)
(2)
(2)
O
O
O
(1)
(3)
(4)
(1)
Notes:
1. Fault Reset (Multi-function Input terminal 4 default setting) is only effective only when external
terminal satisfies the following conditions:
2 wire mode
closed, or open in stopped condition.
3 wire mode
2. The availability of the multi-function input terminals vary depending upon the setting of A1-02
(Control Method). See technical manual TM 4515.
3. Effective only when o2-02 is ì1î.
4. Effective when o2-01 is î1î.
- Both forward run (term. 1) and reverse run (term. 2) commands are
- Run command (term. 1) or stop command (term. 2) is open in stopped
condition.
9-4 Command Priority
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î indicates that the function is not available from that source.
6Fault Contact (terminals 18 & 20)n/a
7Fault Contact Closed (effective when bit 6=1)n/a
Data DescriptionFunction
Availability
O
(2)
(2)
(2)
(2)
(2)
(2)
O
O
(1)
(3)
(1)
Notes:
1. Fault Reset (Multi-function Input terminal 4 default setting) is only effective only when in stopped
condition.
2. The availability of the multi-function input terminals vary depending upon the settings of H1-01,
H1-02, H1-03, H1-04, H1-05, H1-06 (the multi-function input settings), and A1-02 (Control
Method). See technical manual TM4515.
3. The jog command is only effective when in the stop condition.
Command Priority 9-5
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 (b102 = 3). The ìOî indicates that the function is Operable from that source, and ìn/aî indicates that
the function is not available from that source.
6Fault Contact (terminal 18 & 20)O
7Fault Contact Closed (effective when bit 6 =1)O
Data DescriptionFunction
Availability
O
O
O
O
O
O
(2)
(2)
(2)
(2)
(2)
(2)
O
O
O
(1)
(6)
(7)
(3)
(4)
(5)
(8)
(9)
(1)
Notes:
1Fault Reset (Multi-function Input terminal 4 default setting) is only effective when run command
received via option board is ì0î while in stopped condition.
2. The availability of the multi-function input terminals vary depending upon the settings of H1-01,
H1-02, H1-03, H1-04, H1-05, H1-06 (the multi-function input settings), and A1-02 (Control
Method). See technical manual TM 4515.
3. Effective when H2-01 is ì0Fî.
4. Effective when H2-02 is ì0Fî.
5. Effective when H2-03 is ì0Fî.
6. Effective when H4-01 is ì1Fî.
7. Effective when H4-04 is ì1Fî.
8. Effective when o2-02 is ì1î.
9. Effective when o2-02 is ì1î.
9-6 Command Priority
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 Humidity90% noncondensing
Altitude3300 feet
Vibration1G at less than 20 Hz, 0.2 G at 20 - 50 Hz
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.
GPD 515/G5 Modbus RTU
Yaskawa technical support is available to provide telephone assistance for installation, programming, & troubleshooting of Yaskawa drives. All support is available dur-
ing normal business hours. Emergency breakdown 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 model and all nameplate data.
• Motor type, brand, and all nameplate data.
For Troubleshooting, additional information may be required.
• Power distribution information (type – delta, wye; power factor correction; other
major switching devices used; voltage fluctuations)
• Installation wiring (separation of power & control wire; wire type/class used; distance between drive and motor, grounding.
• Use of any devices between the drive & motor (output chokes, etc.).
Please phone us at 1-800-541-0939 for technical support.
Additional technical information is available at www.drives.com.