Application Note (Syllabus)
GFK-3167A
April 2020
PACMOTION VFD
APPLICATION NOTE (SYLLABUS)
PACMotion VFD Syllabus
GFK-3167A April 2020
Contents
Revision History .................................................................... |
iv |
Introduction VFD Basic Setup ................................................. |
1 |
Signal Wiring Example............................................................................................. |
1 |
IO Configuration ..................................................................................................... |
2 |
Power Wiring Example ............................................................................................ |
3 |
NOTE 1: Modbus/TCP Ethernet Demo (Demo Case with Modbus/TCP |
|
Option Card)...................................................................................... |
4 |
Note 2: PROFINET Demo (Demo Case with PROFINET Option Card .......................... |
4 |
NOTE 3: Modbus RTU Serial Demo (RS-485 2-wire) and Modbus/TCP Demo |
|
5 |
|
NOTE 4: Modbus/TCP Ethernet Demo .......................................................... |
5 |
NOTE 5: Modbus/TCP User Defined Function Block Examples..................... |
6 |
NOTE 6: PROFINET User Defined Function Block Examples ......................... |
6 |
NOTE 7: Using Bluetooth USB or Serial Cable to PACMotion with VFD Suite: |
|
7 |
|
NOTE 8: PACMotion Fieldbus Option Modules and Setup ........................... |
7 |
NOTE 9: PACMotion VFD Fieldbus PDI/PDO Data Map and Addressing ...... |
8 |
NOTE 10: PACMotion VFD Complete PDI/PDO Data Map and Addressing .. 8 |
|
NOTE 11: PACMotion VFD Demo Case Details ............................................. |
9 |
Modbus/TCP Ethernet Demo (Note 1)................................... |
10 |
PROFINET Controller Demo (Note 2)..................................... |
13 |
VFD Settings ......................................................................................................... |
13 |
VFD I/O Signals...................................................................................................... |
13 |
Option Module Details .......................................................................................... |
14 |
Bus Specific Technical Data ................................................................................... |
15 |
Hardware Insertion and Removal........................................................................... |
15 |
PROFINET Slave Module Settings ........................................................................... |
15 |
Starting the system ............................................................................................... |
15 |
Supporting Files .................................................................................................... |
16 |
PROFINET Process Data Exchange.......................................................................... |
16 |
Fieldbus Connection Timeout................................................................................ |
16 |
ii
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
MODBUS RTU SERIAL DEMO (NOTE 3) ......................................... |
17 |
Supporting Files .................................................................................................... |
20 |
Modbus RTU Connection Timeout......................................................................... |
21 |
Drive Parameter Access ......................................................................................... |
21 |
MODBUS/TCP DEMO (NOTE 4) .................................................. |
22 |
Supporting Files .................................................................................................... |
23 |
Modbus/TCP Connection Timeout......................................................................... |
23 |
USER DEFINED FUNCTION BLOCK – MODBUS/TCP (NOTE 5)............. |
25 |
USER DEFINED FUNCTION BLOCK – PROFINET (NOTE 6) ................ |
30 |
Setting Fieldbus Connection Timeout Preferences................................................. |
37 |
PROFINET Process Data Exchange Map .................................................................. |
38 |
Supporting Files .................................................................................................... |
39 |
Other Modbus/TCP UDFBs..................................................................................... |
40 |
Supporting Files .................................................................................................... |
40 |
Modbus/TCP UDFB to VFD PME Projects...................................................... |
40 |
Modbus/TCP UDFB to VFD Toolchest Drawer .............................................. |
41 |
Modbus/TCP UDFB to VFD XML Block Code ................................................. |
41 |
BLUETOOTH USB AND SERIAL CABLE (NOTE 7) ............................... |
42 |
Communications to the VFD ................................................................................. |
42 |
Serial RS-485 Communications to the VFD............................ |
48 |
Supporting Files .......................................................................................... |
49 |
PACMotion VFD Fieldbus Option Modules and Setup (NOTE 8)
50
MODBUS/TCP FIELDBUS OPTION MODULE................................................................... |
50 |
Bus Specific Technical Data ................................................................................... |
50 |
IP Address Setup ................................................................................................... |
51 |
Start-Up and Operation ......................................................................................... |
51 |
LEDs 51 |
|
Network Status LED .................................................................................... |
52 |
Module Status LED ...................................................................................... |
52 |
Modbus TCP Data Exchange ........................................................................ |
52 |
Modbus TCP Connection Timeout ............................................................... |
53 |
iii
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Drive Parameter Access – Direct Address Method ....................................... |
53 |
Drive Parameter Access – Indirect Address Method ..................................... |
53 |
PROFINET FIELDBUS OPTION MODULE............................................................. |
54 |
Bus Specific Technical Data ......................................................................... |
54 |
Hardware Insertion and Removal ................................................................ |
55 |
PDO/PDI Data Map and Addressing (Note 9)......................... |
56 |
Modbus/TCP PDO Data (or Built-in Modbus RTU Serial Port) . 56 |
|
Modbus/TCP or RTU PDI Data ................................................................................ |
57 |
PROFINET PDO Data .............................................................................................. |
59 |
PROFINET PDI Data................................................................................................ |
61 |
PACMotion VFD Data Map and Addressing (Note 10)............ |
63 |
Complete Address Mapping Modbus/TCP, Modbus RTU, PROFINET....................... |
63 |
PACMotion VFD Demo Case Details (Note 11)....................... |
64 |
Quickpanel to CPE100 (Ethernet) and CPE100 to VFD (PROFINET) ......................... |
64 |
Quickpanel to CPE100 (Ethernet) and CPE100 to VFD (PROFINET) ......................... |
65 |
PACMotion VFD Demo Case and Factory Reset ...................................................... |
67 |
General Contact Information................................................................................. |
68 |
Technical Support ................................................................................................. |
68 |
Revision |
Date |
Description |
|
|
|
A |
April 2020 |
Initial Release |
|
|
|
iv
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Basic overview for setup and operation of the PACMotion VFD.
Figure 1: Signal Wiring Example
G, L1, L2, L3
Terminals 1 - 13
Terminals 14 - 18
G, +, BR, U, V, W
PACMotion VFD Syllabus |
1 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Default configuration for I/O given here. Refer to GFK-3111 and GFK-3112 for details
Figure 2: IO Configuration (Pinout)
PACMotion VFD Syllabus |
2 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Figure 3: Power wiring and Group 1 Parameters Example (VFD/Motor Setup)
Related Documentation
For more details on wiring and setup refer to documents:
•GFK-3111 PACMotion VFD AC Variable Speed Drive User Guide
•GFK-3112 PACMotion VFD AC Variable Speed Drive Advanced User Guide.
PACMotion VFD Syllabus |
3 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
PACMotion VFD Syllabus
A collection of technical Application Notes and Data
Figure 4: CPE100 TO VFD VIA MODBUS/TCP OPTION MODULE WITH QUICKPANEL
Figure 5: CPE100 TO VFD VIA PROFINET OPTION MODULE WITH QUICKPANEL
PACMotion VFD Syllabus |
4 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Figure 6: Quickpanel Plus or pc w/PME simulator to VFD Built-in Serial Port
Figure 7: Quickpanel Plus or pc w/PME simulator to VFD Modbus/TCP Option Module
PACMotion VFD Syllabus |
5 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Figure 8: CPE100 to VFD Modbus/TCP Option Module
PDO1 - 4
PDI1 - 4
Figure 9: CPE100 to VFD PROFINET Option Module
%AI1 to 8
%AQ1 to 4
PACMotion VFD Syllabus |
6 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
Figure 10: Bluetooth BLE USB Stick
Figure 11: Fieldbus Option Module
PACMotion VFD Syllabus |
7 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
NOTE 9: PACMotion VFD Fieldbus PDI/PDO Data Map and
Addressing
Figure 12: PACMOTION VFD FIELDBUS PDI/PDO DATA MAP AND ADDRESSING
NOTE 10: PACMotion VFD Complete PDI/PDO Data Map and
Addressing
PACMotion VFD Syllabus |
8 |
PACMotion VFD Syllabus |
|
GFK-3167A |
April 2020 |
PACMotion VFD Syllabus |
9 |
PACMotion VFD Syllabus |
Section 2 |
GFK-3167A |
April 2020 |
Figure 13: Modbus/TCP Ethernet Configuration
This Demo uses the CPE100 as the Initiating device for Modbus/TCP communications. VFD Parameters
1. Set to the following VFD parameter values:
Parameter |
Value and Description |
|
|
P1-12 |
4 (Fieldbus) |
P1-14 |
201 (Extended Menu Access) |
P5-05 |
0.0 (Disable communication loss timeout) |
|
|
QuickPanel Plus Ethernet Settings
2.Set the following IP Address/Mask: IP address = 192.168.1.7
Subnet mask = 255.255.255.0
VFD Modbus/TCP Option Module settings
3.Use a DHCP server or the HMS IPConfig software to set the IP address of the Modbus/TCP module. Use the following settings:
IP address = 192.168.1.5 Subnet mask = 255.255.255.0
Modbus/TCP Ethernet Demo |
10 |
PACMotion VFD Syllabus |
Section 2 |
GFK-3167A |
April 2020 |
Starting the system
4.As shown in the picture above, connect one ethernet port of the VFD Modbus/TCP option module to the QuickPanel and connect the other ethernet port of the VFD Modbus/TCP option module to the top port of CPE100.
5.Power up the devices.
6.Using a laptop PC with PAC Machine Edition, load in the PAC Machine Edition project:
“VFD_DEMOCASE_MBTCP_Vx” and Download/Run the CPE100 and QuickPanel targets. This will use the CPE100 as a Modbus/TCP Master.
7.The QuickPanel Screen should show live PDI/PDO Data. Information on this data is given below.
Modbus/TCP Process Data Exchange
The mapping of Process Data Output/Input to Modbus/TCP Registers is shown below.
Process Data Word |
Modbus/TCP Register1 * |
PDO1 |
300001 |
|
|
PDO2 |
300002 |
|
|
PDO3 |
300003 |
|
|
PDO4 |
300004 |
|
|
PDI1 |
400001 |
|
|
PDI2 |
400002 |
|
|
PDI3 |
400003 |
|
|
PDI4 |
400004 |
|
|
Modbus/TCP Connection Timeout
The VFD Modbus/TCP interface allows the user to set the “Communication Loss Timeout” and “Communication Loss Action” values. These parameters are at addresses P5-05 and P5-06 respectively. The Timeout units are 1 = 0.1 sec and the range is from 0.0 (disable) to 5.0 seconds. A setting of 0.0 seconds will allow the VFD to continue running if communications is lost.
1 Modbus Clients may address the first Modbus register as register 300001/400001. This assumes an address offset starting at 1. For |
|
Clients that use zero based addressing just subtract 1. |
|
Modbus/TCP Ethernet Demo |
11 |
PACMotion VFD Syllabus |
Section 2 |
GFK-3167A |
April 2020 |
Drive Parameter Access
The Modbus/TCP Interface allows the user to read/write the drive parameters. To perform this function, the user can directly access the parameter. Simply add the parameter number to the Modbus offset of 400000.
For example:
Read parameter P1-01 (Maximum Frequency), perform the following
Read Modbus/TCP Address 400101 value (scaling in 0.1 Hz).
Write parameter P1-01 (Maximum Frequency) = 60.0 Hz, perform the following
Write to Modbus/TCP Address 400101 value = 600 (scaling in 0.1 Hz)
Supporting Files
Figure 14: VFD Demo Case file
VFD_DEMOCASE_MBTCP_V2.zip
Right-click the icon to Copy the file.
Modbus/TCP Ethernet Demo |
12 |
PACMotion VFD Syllabus |
Section 3 |
GFK-3167A |
April 2020 |
Figure 15: CPE100 (PROFINET Controller) to VFD PROFINET Slave Demo
1.VFD Parameters must be set to the following values:
For help on changing parameters Refer to Manual GFK-3111.
|
Parameter |
|
Value and Description |
|
|
||
|
|
|
|
|
P1-12 |
|
4 (Fieldbus) |
|
P1-14 |
|
201 (Extended parameter description) |
|
P5-05 |
|
0.0 (Disable communication loss timeout) |
|
|
|
|
Digital
By default, the VFD signals Digital Input 1 (DI1) and Safe Torque Off (STO) must be energized to allow the VFD to Run. These signals are wired to and powered by the demo RSTi-EP outputs. The outputs are set automatically when a certain screen is used on the QuickPanel.
CPE100 to VFD PROFINET Demo |
13 |
PACMotion VFD Syllabus |
Section 3 |
GFK-3167A |
April 2020 |
Analog
The Analog I/O of the RSTi-EP module allow various analog signals to control/monitor the VFD.
The following is a default map of the I/O points used in the Demo unit:
CPE100 |
PACMotion VFD |
Signal |
|
|
|
%Q00001 |
DI1 |
Enable Drive |
|
|
|
%Q00002 |
DI2 |
Reverse |
|
|
|
%Q00003 |
DI3 |
Set Point 1 |
|
|
|
%I00001 |
DI1 |
Drive Enabled |
|
|
|
%AQ00001 |
AI1 |
Speed (reference) |
|
|
|
%AI00001 |
AO1 |
Speed (actual) |
|
|
|
24VDC |
STO + |
Safe Torque + |
|
|
|
0VDC |
STO - |
Safe Torque - |
|
|
|
1. To use PROFINET with the VFD a PROFINET Option Module must be installed.
The PROFINET option card permits the PACMotion VFD Drive to connect to a PROFINET network.
IC866-OC-P PROFINET Option Card for VFD
|
|
RJ45 Connectors & Network Activity LEDs, |
|
|
|
|
PROFINET Option Card |
|
PROFINET Option Card |
|
|
|
|
|
|
[1] |
LED: NS |
[A] |
LED: Activity |
|
|
|
|
[2] |
RJ45: P1 |
[B] |
LED: Link |
|
|
|
|
[3]Labeling: PROFINET I/O
[4]RJ45: P2
[5]LED: MS
CPE100 to VFD PROFINET Demo |
14 |
PACMotion VFD Syllabus |
Section 3 |
GFK-3167A |
April 2020 |
Baud rate |
10/100 Mbaud in full duplex mode |
|
|
Connection technology |
2 × RJ45 |
|
|
Remove power from the VFD. Using a T9 driver bit, backout the 2 option module screws approximately 4 or 5 turns each. This should allow the locking tabs to retract to a flat position. Insert the module into the VFD fieldbus option module cage and gently press it into place. Secure the T9 screws until they touch the module. This will engage the locking tabs to hold it in place. Do not over tighten.
(Note: If the T9 screws are not backed out first the module will not insert or remove properly.)
To remove the option module remove power from the VFD. Using a T9 driver bit backout the option module 2 screws approximately 4 or 5 turns each. Gently pull the module out by pulling on the screws.
1. With the PROFINET option module installed power up the VFD.
Using the PROFINET DCP tool, which is part of the PAC Machine Edition Utilities, set the following VFD PROFINET Slave values example:
Device Name |
IP Address |
vfd-1 |
192.168.0.2 |
|
|
2. The QuickPanel Plus Ethernet Settings must be set to the following values:
IP address = 192.168.0.7 Subnet mask = 255.255.255.0
3.Connect the VFD PROFINET option module to an available PROFINET port on the CPE100 (the lower 3 ports) and the QuickPanel to the top ethernet port on the CPE100 and power up the devices.
This is done inside the official PACMotion VFD Demo case.
4.Using a laptop PC with PAC Machine Edition, load in the PAC Machine Edition project: “VFD_DEMOCASE_PN_Vx” and Download/Run the QuickPanel and CPE100 targets through the front panel ports labeled “PROFINET/HMI” and “PLC”.
CPE100 to VFD PROFINET Demo |
15 |
PACMotion VFD Syllabus |
Section 3 |
GFK-3167A |
April 2020 |
Figure 16: VFD Demo Case file
VFD_DEMOCASE_PN_V6.zip
Right-click the icon to Copy the file.
The mapping of Process Data Output/Input to Modbus RTU Registers is shown below.
Process Data Word |
Typical CPE100 Address |
|
|
PDO1 |
%AI00001 |
|
|
PDO2 |
%AI00002 |
|
|
PDO3 |
%AI00003 |
|
|
PDO4 |
%AI00004 |
|
|
PDI1 |
%AQ00001 |
|
|
PDI2 |
%AQ00002 |
|
|
PDI3 |
%AQ00003 |
|
|
PDI4 |
%AQ00004 |
|
|
The VFD interface allows the user to set the “Communication Loss Timeout” and “Communication Loss Action” values. These parameters are at addresses P5-05 and P5-06 respectively. The Timeout units are 1 = 0.1 sec and the range is from 0.0 (disable) to 5.0 seconds. A setting of 0.0 seconds will allow the VFD to continue running if communications is lost.
CPE100 to VFD PROFINET Demo |
16 |
PACMotion VFD Syllabus |
Section 5 |
GFK-3167A |
April 2020 |
Figure 17: Quickpanel Plus or PC w/PME simulator to VFD Built in Serial Port
1. VFD Parameters must be set to the following values:
Parameter |
Value and Description |
|
|
|
|
P1-12 |
4 |
(Fieldbus) |
P1-14 |
201 (Extended parameter description) |
|
P5-01 |
1 |
(Fieldbus address) |
P5-03 |
1 |
(Modbus RTU Baud rate 19.2Kbps) |
P5-04 |
0 |
(Modbus data format, no parity, 1 stop bit) |
P5-05 |
0.0 (Disable communication loss timeout) |
|
P5-16 |
0 |
(Extended Modbus drive address) |
|
|
|
2.QuickPanel Plus with COM2 wiring (the 7 inch QuickPanel Plus does not have a COM2):
Note: To use a 7 inch QuickPanel Plus you would have to add a USB to RS-485/2-wire serial port.
Modbus/TCP Demo |
17 |
PACMotion VFD Syllabus |
Section 5 |
||
GFK-3167A |
April 2020 |
||
|
3. Set the QuickPanel Plus DIP switches for RS-485 2 wire operation. |
|
|
|
|
|
|
|
Figure 18: RS-485 2 Wire Operation |
|
|
Modbus/TCP Demo |
18 |