The text of a manual · part 12 of 19
GS2 Series Drives User Manual, pages 111 to 120
Pages 111 to 120 of 190
The original document is the PDF (5.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the AutomationDirect GS2
Page 111
Chapter 5: GS2 Modbus Communications
Parameter Memory Addresses (continued) GS2 Parameter
Description
Hexadecimal
Modbus Decimal
Octal
PID Parameter Addresses P 7.00 P 7.01 P 7.02 쏆 P 7.10 쏆 P 7.11 쏆 P 7.12 쏆 P 7.13 쏆 P 7.14 쏆 P 7.15 쏆 P 7.16 쏆 P 7.17 쏆 P 7.20 쏆 P 7.21 쏆 P 7.22 P 7.23 P 7.24 P 7.25 P 7.26 P 7.27
Input Terminal for PID Feedback
0700
41793
3400
PV 100% Value
0701
41794
3401
PID Setpoint Source
0702
41795
3402
Keypad PID Setpoint
070A
41803
3412
PID Multi-setpoint 1
070B
41804
3413
PID Multi-setpoint 2
070C
41805
3414
PID Multi-setpoint 3
070D
41806
3415
PID Multi-setpoint 4
070E
41807
3416
PID Multi-setpoint 5
070F
41808
3417
PID Multi-setpoint 6
0710
41809
3420
PID Multi-setpoint 7
0711
41810
3421
Proportional Control
0714
41813
3424
Integral Control
0715
41814
3425
Derivative Control
0716
41815
3426
Upper Bound for Integral Control
0717
41816
3427
Derivative Filter Time Constant
0718
41817
3430
PID Output Frequency Limit
0719
41818
3431
Feedback Signal Detection Time
071A
41819
3432
PID Feedback Loss
071B
41820
3433
Display Parameter Addresses 쏆 P 8.00 쏆 P 8.01
User Defined Display Function
0800
42049
4000
Frequency Scale Factor
0801
42050
4001
쏆 Parameter can be set during RUN Mode.
1st Ed. Rev. C
12/2006
GS2 Series AC Drive User Manual
5–7
Page 112
Chapter 5: GS2 Modbus Communications
Parameter Memory Addresses (continued) GS2 Parameter
Description
Hexadecimal
Modbus Decimal
Octal
Communications Parameter Addresses P 9.00 P 9.01 P 9.02 P 9.03 P 9.04 P 9.05 쏆 P 9.07 P 9.08 쏆 P 9.11 쏆 P 9.12 쏆 P 9.13 쏆 P 9.14 쏆 P 9.15 쏆 P 9.16 쏆 P 9.17 쏆 P 9.18 쏆 P 9.19 쏆 P 9.20 쏆 P 9.21 쏆 P 9.22 쏆 P 9.23 쏆 P 9.24 쏆 P 9.25 쏆 P 9.26 쏆 P 9.27 쏆 P 9.28 쏆 P 9.29 쏆 P 9.30 쏆 P 9.31 P 9.41 P 9.42
Communication Address
0900
42305
4400
Transmission Speed
0901
42306
4401
Communication Protocol
0902
42307
4402
Transmission Fault Treatment
0903
42308
4403
Time Out Detection
0904
42309
4404
Time Out Duration
0905
42310
4405
Parameter Lock
0907
42312
4407
Restore to Default
0908
42313
4410
Block Transfer Parameter 1
090B
42316
4413
Block Transfer Parameter 2
090C
42317
4414
Block Transfer Parameter 3
090D
42318
4415
Block Transfer Parameter 4
090E
42319
4416
Block Transfer Parameter 5
090F
42320
4417
Block Transfer Parameter 6
0910
42321
4420
Block Transfer Parameter 7
0911
42322
4421
Block Transfer Parameter 8
0912
42323
4422
Block Transfer Parameter 9
0913
42324
4423
Block Transfer Parameter 10
0914
42325
4424
Block Transfer Parameter 11
0915
42326
4425
Block Transfer Parameter 12
0916
42327
4426
Block Transfer Parameter 13
0917
42328
4427
Block Transfer Parameter 14
0918
42329
4430
Block Transfer Parameter 15
0919
42330
4431
Serial Comm Speed Reference
091A
42331
4432
Serial Comm RUN Command
091B
42332
4433
Serial Comm Direction Command
091C
42333
4434
Serial Comm External Fault
091D
42334
4435
Serial Comm Fault Reset
091E
42335
4436
Serial Comm JOG Command
091F
42336
4437
GS Series Number
0929
42346
4451
Manufacturer Model Information
092A
42347
4452
쏆 Parameter can be set during RUN Mode.
5–8
GS2 Series AC Drive User Manual
Page 113
Chapter 5: GS2 Modbus Communications
GS2 Status Addresses The GS2 Series AC drive has status memory addresses that are used to monitor the AC drive. The status addresses and value definitions are listed below.
Status Addresses (Read Only) GS2 Status Addresses Description Status Monitor 1 Status Monitor 2 Frequency Command F Output Frequency H Output Current A DC Bus Voltage d Output Voltage U Motor RPM Scale Frequency (Low Word) Scale Frequency (High Word) Power Factor Angle % Load Firmware Version
Hexadecimal
Modbus Decimal
Octal
2100
48449
20400
2101
48450
20401
2102
48451
20402
2103
48452
20403
2104
48453
20404
2105
48454
20405
2106
48455
20406
2107
48456
20407
2108
48457
20410
2109
48458
20411
210A
48459
20412
210B
48460
20413
2110
48465
20420
Status Monitor 1 h2100
Error Codes: 00: No fault occurred 01: Over-current(oc) 02: Over-voltage(ov) 03: Overheat (oH) 04: Overload (oL) 05: Overload 1 (oL1) 06: Overload 2 (oL2) 07: External Fault (EF) 08: CPU failure 1 (cF1) 09: CPU failure 2 (cF2) 10: CPU failure 3 (cF3)
1st Ed. Rev. C
12/2006
11: Hardware Protection Failure (HPF) 12: Over-current during accel (ocA) 13: Over-current during decel (ocd) 14: Over-current during steady state (ocn) 15: Ground fault or fuse failure (GFF) 16: Low voltage (Lv) 17: Input power 3-phase loss (PHL) 18: External Base-Block (bb) 19: Auto adjust accel/decel failure (cFA) 20: Software protection code (codE)
GS2 Series AC Drive User Manual
5–9
Page 114
Chapter 5: GS2 Modbus Communications
Status Monitor 2 h2101 GS2 Memory Data (binary)
0
0
0
0
0
0
0
0
1
0
0
0
1
0
10
20
40
81
38
8 76
16
32
1
0
0
2
2101
4
0
8
1
16
2
32
3
64
4
8
5
6
6
12
7
25
8
2
9
51
10
24
11
48
12
96
13
92
14
4
GS2 Memory Address (hexadecimal) 15
Bits
Bit Values (decimal)
Status Monitor 2 - Memory Address h2101 Address Bit(s) Value AC Drive Status Bit(s) Binary (Decimal) 00 (0)
Drive operation stopped (STOP)
01 (1)
Run to Stop transition
10 (2)
Standby
11 (3)
Drive operation running (RUN)
1 (4)
JOG active
00 (0)
Rotational direction forward (FWD)
01 (8)
REV to FWD transition
10 (16)
FWD to REV transition
11 (24)
Rotational direction reverse (REV)
5
1 (32)
Source of frequency determined by serial comm interface (P4.00 = 5)
6
1 (64)
Source of frequency determined by AI terminal (P4.00 = 2, 3, or 4)
7
1 (128)
Source of operation determined by serial comm interface (P3.00 = 3 or 4)
8
1 (256)
Parameters have been locked (9-07 = 1)
9 to 15
N/A
Reserved
0 and 1
2
3 and 4
Frequency Command F (XXX.X)
h2102
Status location for the frequency setting of the AC drive.
Output Frequency H (XXX.X)
h2103
Status location for the actual operating frequency present at the T1, T2, and T3 terminal.
Output Current A h2104
Status location for the output current present at the T1, T2, and T3 terminals.
DC-BUS Voltage d (XXX.X) Status location for the DC Bus Voltage.
5–10
GS2 Series AC Drive User Manual h2105
Page 115
Chapter 5: GS2 Modbus Communications
Output Voltage U (XXX.X)
h2106
Status location for the output voltage present at the T1, T2, and T3 terminals.
Motor RPM h2107
Status location for the present estimated speed of the motor.
Scale Frequency (Low word)
h2108
Status location for result of output frequency x P 8.01 (low word).
Scale Frequency (High word)
h2109
Status location for result of output frequency x P 8.01 (high word).
Power Factor Angle h210A
Status location for the power factor angle.
% Load h210B
Status location for the amount of load on the AC drive. (Output Current ÷ Drive Rated Current) x 100.
Firmware Version h2110
Status location for the firmware version of the AC drive.
1st Ed. Rev. C
12/2006
GS2 Series AC Drive User Manual
5–11
Page 116
Chapter 5: GS2 Modbus Communications
Communicating with DirectLOGIC PLCs The following steps explain how to connect to and communicate with the GS2 Series AC drives using DirectLOGIC PLCs.
Step 1: Choose the Appropriate CPU. The GS2 Series AC drives will communicate with the following DirectLOGIC CPUs using Modbus communications: • DL05 • DL260
• DL06 • DL350
• DL250(-1) • DL450
Step 2: Make the Connections First you must decide what type of interface will work best for your application. The GS2 Comm Port can accomodate an RS-232C or an RS-485 connection. RS-232C An RS-232C connection is somewhat limited. The maximum RS-232C network cable length is 15 meters (50 feet). In addition, using the RS-232C interface will allow you to connect an AC drive to only one PLC. For an RS-232C connection, set the GS2 DIP switches SW2 and SW3 to RS232. RJ-12 (6P4C) Serial Comm Port
6
1
RS-232C Interface 2: GND 3: RXD 4: TXD 5: +5V
RS485
SW3
Switches SW2 and SW3 must be set to RS232 for an RS-232C connection.
SW2
RS232
Use the following wiring diagrams to connect your DirectLOGIC PLC to a GS2 Series AC drive with an RS-232C interface: DL05: RS-232C Connection Wiring DL05 PORT 2
1 0V
2 GND
3 RXD
4 TXD
4 TXD
3 RXD
GS2 Comm Port
DL350/DL450: RS-232C Connection Wiring DL350 PORT 2 DL450 PORT 1
GS2 Comm Port
1
DL06/DL250/DL260: RS-232C Connection Wiring PORT 2 1
6
2 TXD
3 RXD
3 RXD
4 TXD
5 CTS
2 GND
4 RTS 15
5–12
GS2 Comm Port
7 GND
GS2 Series AC Drive User Manual
2 TXD
3 RXD
3 RXD
4 TXD
5 CTS
2 GND
4 RTS 7 GND 25
Page 117
Chapter 5: GS2 Modbus Communications
RS-232C to RS-485 Conversion An RS-485 network cable can span up to 1000 meters (4000 feet). However, most DirectLOGIC PLCs require an FA-ISOCON (RS-232C to RS-422/485 network adapter) in order to make this type of connection. For an RS-485 connection, set the GS2 DIP switches SW2 and SW3 to RS485. RJ-12 (6P4C) Serial Comm Port
6
1
RS-485 Interface 2: GND 3: SG4: SG+ 5: +5V
RS485
SW3
SW2
Switches SW2 and SW3 must be set to RS485 for an RS-485 connection.
RS232
Use the following wiring diagrams to connect your DirectLOGIC PLC to a GS2 Series AC drive with an RS-485 interface: Note: If an FA-ISOCON module is used in your connection, set the module dipswitches S21 = ON; S22 - S27 = OFF; TERMINATE, BIAS, and DPX = ON. Refer to FA-ISOCON manual for more detailed information. DL05: RS-485 Connection Wiring DL05 PORT 2
1 0V 2 5V
6 COM A 5 +5VDC
3 RXD
4 TXD
4 TXD
3 RXD
5 RTS
2 CTS
6 0V
1 COM A
C
+V COM A
A D
No connection (for DL05)
GS2 Comm Port
TXD+ TXD-
4 SG+
RXD-
3 SG-
RXD+
2 COM
COM B
FA-ISOCON
DL250: RS-485 Connection Wiring C
DL250 PORT 2 1
6
2 TXD
3 RXD
3 RXD
4 TXD
A
D
24VDC + 24VDC -
GS2 Comm Port
TXD+ TXD-
5 CTS
15
+V COM A
4 SG+
RXD-
4 RTS
2 CTS
7 GND
6 GND
3 SG-
RXD+
2 COM
COM B
FA-ISOCON
DL350/DL450: RS-485 Connection Wiring DL350 PORT 2 DL450 PORT 1
C
1
2 TXD
3 RXD
3 RXD
4 TXD
5 CTS
25
1st Ed. Rev. C
12/2006
A
D
+V
24VDC +
COM A
24VDC -
TXDRXD-
4 RTS
2 CTS
7 GND
6 GND
GS2 Comm Port
TXD+
RXD+ COM B
4 SG+ 3 SG2 COM
FA-ISOCON
GS2 Series AC Drive User Manual
5–13
Page 118
Chapter 5: GS2 Modbus Communications
RS-485 DL06/DL260: RS-485 Connection Wiring
120⏲ Termination Resistor at both ends of network
TXD+ / RXD+
4 SG +
TXD– / RXD–
3 SG 2 GND Connect shield to signal ground
Signal GND RXD– 1
6
GS2 Comm Port
11 RTS+
0V TXD+ RXD+
RTS– CTS+
10 15
CTS–
DL06/DL260 CPU Port 2
TXD–
5
Note: The Termination Resistor is necessary only on large runs.
Step 3: Set AC Drive Parameters The following parameters need to be set as shown in order to communicate properly. P 3.00: 03 or 04 – Operation Determined by RS-232C/RS-485 interface. Keypad STOP is enabled (03) or disabled (04). P 4.00: 05 – Frequency determined by RS-232/RS-485 communication interface P 9.00: xx – Communication address 1-254 (unique for each device, see P 9.00) P 9.01: 01 – 9600 baud data transmission speed P 9.02: 05 – Modbus RTU mode <8 data bits, odd parity, 1 stop bit> Note: The previous list of parameter settings is the minimum required to communicate with a DirectLOGIC PLC. There may be other parameters that need to be set to meet the needs of your application.
Step 4: Configure the DirectLOGIC CPUs The DirectLOGIC CPUs must be configured to communicate with the GS2 Series AC drives. This set up includes setting up the communication port and adding instructions to your logic program. The set up for all of the DirectLOGIC CPUs is very similar. However, there may be some subtle differences between CPUs. Refer to the appropriate CPU User Manual for the specifics on your DirectLOGIC CPU. Note: For instructions on Modbus Configuration for your specific CPU, refer to the appropriate CPU User Manual.
5–14
GS2 Series AC Drive User Manual
Page 119
Chapter 5: GS2 Modbus Communications
DirectLOGIC Modbus Port Configuration The following configuration example is specific to the DL250(-1) CPU. Refer to the appropriate CPU User Manual for the specifics on your DirectLOGIC CPU. • In DirectSOFT, choose the PLC menu, then Setup, then “Secondary Comm Port”. • From the Port list box, choose “Port 2”. • For the protocol, select “Modbus”.
• In the Timeout list box, select “800 ms”. • Response Delay Time should be “0 ms”. • The Station Number should be set to “1” to make the DL250(-1) CPU a Modbus master. Note: The DL250(-1) network instructions used in Master mode will access only slaves 1 to 90. Each slave must have a unique number. • The Baud Rate should be set at “9600”. • In the Stop Bits list box, choose “1”. • In the Parity list box, choose “Odd”.
1st Ed. Rev. C
12/2006
GS2 Series AC Drive User Manual
5–15
Page 120
Chapter 5: GS2 Modbus Communications
DirectLOGIC Modbus Ladder Programming The set up for all of the DirectLOGIC CPUs is very similar. However, there may be some subtle differences between CPUs. Refer to the appropriate CPU User Manual for the specifics on your DirectLOGIC CPU. The following ladder program shows some examples of how to control the GS2 AC drive through Modbus RTU. The drive should be setup and tested for communications before it is connected to a load. WARNING: A drive should never be connected to a load until any applicable communication programs have been proven. Note: This program is for illustration purposes only, and is not intended for a true application.
In many drive applications, electromagnetic interference can sometimes cause frequent, short duration communication errors. Unless the application environment is perfect, an occasional communication error will occur. In order to distinguish between these non-fatal transients and a genuine communication failure, you may want to use the instructions as shown in Rungs 1 through 4. Rung 1 monitors the number of times that the PLC attempts to communicate with the AC drive. When the PLC’s communication attempts are successful, SP116 will count up, and SP117 will not count. Once the count reaches 9999, the counter will reset and resume counting. Note: SP116 and SP117 are special relays in the DirectLOGIC CPUs that monitor the PLC’s communications. SP116 is on when Port 2 is communicating with another device. SP117 is on when Port 2 has encountered a communication error. This rung counts every time Port 2 is busy communicating. DL250-1/260 Comm SP116 1 Comm Transaction Count CT0
(Continued next page)
5–16
GS2 Series AC Drive User Manual
CNT Comm Transaction Count CT0 K9999