Configuration of Altivar ATV630 Drive to a M5ontr80 through the DTM Browser in Ecostruxure Control Expert
Demonstrate a M580 with RSTP RIO drop with a ATV630U07M3 off of service port on a BMECRA31210. Demonstrate usage of SoMove to connect and set the Parameter List – Port MB TCP – Generic Settings & Protocol & Drive Profiles. Demonstrate usage of SoMove to update the Parameters Layout – Command and Reference. Demonstrate addition of the ATV630 to the DTM Browser tool to integrate drive control from the M580 in an Animation Table. Demonstrate setting DRIVECOM command register and the Line Frequency Reference to bring the drive and motor to life.
This is not intended as a training course but more of a high level ‘How To’ in integrating an Altivar drive into a M580 via DTM Browser. All IP addresses for the M580 are default IP addresses when starting a new project. User Windows options may be slightly differ from the screenshots provided in this document.
Required Hardware & Software
Ecostruxure Control Expert (Unity Pro)
- 2- BMEXBP0400
- ATV630U07M3 Demo case
- 4-standard Ethernet cables
Manual EAV64318.08 Altivar Process ATV600 Variable Speed Drives Programming Manual
Table of IP Adresses to Use
|M580 Service Port||192.168.10.1||255.255.0.0||192.168.10.1|
|M580 RSTP RIO Ports||192.168.11.1||255.255.0.0||192.168.10.1|
|RIO Drop BMECRA31210||192.168.11.2||255.255.0.0||192.168.10.1|
Optional table to record your own IP addresses
Section 1: Setup Ethernet Connection on your PC
We need to first configure the hardwired port of your PC to connect to the Service Ports of your M580’s
Click on your Start button and type “View Network Connections”.
The view network connections window will open up.
Double click on your Local Area Connection.
You will be presented with the Local Area Connection Status screen, click on Properties.
You will be presented with the LAN Area Connection Properties screen, double click on Internet Protocol Version 4 (TCP/IPv4).
You wiII be presented with the Internet Protocol Version 4 (TCP/1Pv4) Properties screen.Configure the IP address of the PC to be 192.168.10.99, set the Subnet mask to 255.255.0.0 & set the Default gateway to 192.168.10.100. Click OK.
Section 2: Setup an Ecostruxure Control Expert (Unity Pro) Project on your PC
Open your Control Expert (Unity Pro) software [Start] [All Programs] [Ecostruxure Control Expert] Control Expert
Go to File and choose New.
Choose you corresponding M580 rack and CPU that you are using. In our case, choose the BMEXBP0400 and the BMEP582040 and click on OK. (or a configuration that matches your hardware).
Double click on the Configuration in the Project Browser to see the M580 PAC rack.
Right click on the default CPS4002 and choose Delete Module.
Double click on the now empty Supply slot and select your BMXCPS2000 and click on OK.
Double click on the ports on the graphical image of your M580 PAC.
Choose the IPConfig tab and not the Main IP address (Service Port IP), the IP address A (RSTP Remote I/O address), Subnetwork mask address and Gateway address.
Double click on your EIO Bus in your Project Browser to configure your RSTP Ethernet remote I/O drop.
Double click on the remote I/O node.
Choose your corresponding RSTP remote 1/0 hardware. In this case it is a BMEXBP0400 and BMECRA31210 (SV >--2.10). Click on OK. (or choose the hardware that you have available).
Double click on the empty power supply slot on the rack and add your power supply. In this case we are using a BMXCPS2000 and click on OK.
For the BMECRA31210 to work correctly, you must have the TFTP, EIP & DHCP_BOOTP settings enabled. By default the M580 comes with these disabled. Back in the 0.0 : EIO CommHeadRIODIO8L2 window (double click on the ports on the graphical image of your M580 PAC as shown on page 10), choose the Security tab and choose Unlock Security so all options below is appear as Enabled. Close the 0.0 : EIO CommHeadRIODIO8L2 window and choose yes to accept the modifications.
Go to the PLC menu and Set Address.
The Set Address screen will be active, ensure that the check mark is next to the PLC header. Enter the IP address in the Address field to the the Service Port of the CPU that you are connecting to. Set Media to TCPIP. Click Test Connection.
Upon successful connection, you are informed. Click on OK.
Go to the PLC menu and Connect.
In Unity Pro XL, go to the PLC menu and choose Transfer Project to PLC.
Choose to Transfer the project to the controller.
Pay attention to the bottom bar in the Control Expert.
Leave your Control Expert (Unity Pro) running in the background.
Section 3: Initial Configuration of the ATV630U07M3
The Home button on the keypad should take you to the screen shown to the left. Use the Center touch wheel and OK button to maneuver menu selection. Move your finger in a clockwise/counter clockwise direction on the touch wheel to maneuver selections.
Use the touch wheel to move your selection down to Communication. Click on the OK button.
Use the touch wheel to move your selection down to Comm Parameters. Click on the OK button.
Use the touch wheel to move your selection down to Embd Eth Config. Click on the OK button.
Use the touch wheel to move your selection down to IP Mode Ether. Embd and choose Fixed. Click on the OK button. Use the touch wheel to move your selection down to IP address and press OK. Use the touch wheel to increment/decrement the number of the octet. Use F2 and F3 to switch between octets. When all four octets are populated, press the ESC key. Repeat the step above for the Mask and Gateway fields. Ensure to
cycle the power on the drive once the values are entered for them to take effect.
Section 4: Configuration, Connection & Initial Download to the ATV630U07M3 from SoMove
Connect directly to the ATV630 via Ethernet to the programming PLC and launch the SoMove.
Double check the ports on the bottom of the drive before cabing up, one port is is for Modbus and the other is for Ethernet even though they are both RJ45 ports (See below).
Select Create a Project OFF-line.
Choose the ATX6XX drive and click on Next.
Enter in the Model number of the drive ATV630U07M3 and click on Create.
You will be presented with the newly created project.
Go to the Communication menu and choose Connect to Device.
You will want to choose to Store to device and Connect. The drive may go into error state when the keypad screen turns red.
Notice nothing was found since it is looking at IP range 127.0.0.1. Click Modbus TCP and then on the Advanced Setting icon.
Enter the Target Address that we specified on the Altivar keypad earlier. Set scan type to Single and click on OK.
AGAIN- Double check the ports on the bottom of the drive before cabing up, one port is is for Modbus and the other is for Ethernet even though they are both RJ45 ports. Failure to verify may damage equipment.
Click the Scan Network button and the drive should appear. Click the Connect button.
You will be presented with a Warning that needs to be acknowledged. Click on OK.
If there is a different firmware in the drive vs. the latest firmware in the DTM, you will be prompted that the version are different. Click on Yes to acknowledge this.
Another Warning is presented that this could cause unanticipated equipment operation. Click on OK.
Choose Parameters List tab and then expand Fieldbus, expand Port – Modbus TCP and then go to Generic Settings. Apply the same IP, Subnet and Gateway that you entered on the keypad. Ensure to Apply Changes to Device (green checkbox).
Under the expanded Fieldbus & Port – Modbus TCP, go to Protocol & Drive Profiles.
Right click in the Outputs column and choose Add.
Search for LFR (Line Frequency Reference), check the box and search for LFR and press enter. Select the LFR parameter and it will populate under the Selected Parameters. Click on OK.
Notice LFR has now been added to the outputs. Ensure to Apply Changes to Device (green checkbox).
Next, choose the Parameters Layout tab and choose the Drive & Command and Reference option. Change the Control Mode Configuration to I/O Mode, you will receive another unanticipated equipment operation warning screen to click OK on. Ensure that FR1 is set to AI1. Set RFC to Digital Input 3, you will receive
another unanticipated equipment operation warning screen to click OK on. Set FR2 to Embedded Ethernet.
Set CCS to Digital Input 3, you will receive another unanticipated equipment operation warning screen to click OK on. Set CD2 to Ethernet. Note after these changes, the device is still synchronized. The picture inset in the screenshot is the ATV6xx demo to demonstrate the AI1 and DI3 control.
Section 5: Adding the ATV630 to the M580 via the DTM Browser in Control Expert or Unity
Go to Tools menu and select DTM Browser.
You will see the BMEP58_ECPU_EXT in the DTM Browser, Right click on the node and select Add.
Find the ATV6xx and click on the Add DTM.
Select the Modbus over TCP Channel and click OK.
Select Yes to confirm the modification.
You are presented with the Properties of the device, choose the Protocol Information tab and set the Protocol required field to Modbus over TCP.
Note that the IP for the ATV630 does not match. Double click on the 192.168.0.1 node in the DTM Browser.
Select the ATV6xx, ensure you set the IP address, Subnet Mask and Gateway the same as you entered in on the keypad for the drive. Set DHCP to Disabled and click on Apply.
To make certain that we use the correct interface to connect to the ATV630, choose Channel Properties and use the dropdown to select the IP that you set on your PC in the first section of this document. Ensure to click on the Apply button again as shown in the previous screenshot.
Back in the DTM Browser, find the ATV630 with the correct IP address, right click and choose Load Data from device.
You will be presented with a Warning that needs to be acknowledged. Click on OK.
Prompt presented informing you that the drive will be using the IP setting set in the SoMove. Click on OK.
After a successful Load from Device, you will be informed of the success. Click on OK.
Double click the ATV6xx node in the DTM Browser and an instance of SoMove will open in Control Expert.
Just check to make sure that the Parameters List tab –> Fieldbus -> Port – Modbus TCP -> Generic Settings match what you had entered in the standalone SoMove software.
Also ensure that the Parameters List tab –> Fieldbus -> Port – Modbus TCP -> Protocol & Drive Profiles match what you had entered into the standalone SoMove software.
Click on OK in the bottom right hand corner of the embedded SoMove.
Go to the PLC menu and Disconnect from the PAC. Choose the Build menu and choose Rebuild All Project. Close the DTM Browser. Redownload to the PAC.
Ensure that the Project is Equal to the PAC and in Run.
Double click Variables & FB Instances, the Data Editor should appear. Note the Data Editor has added a Device DDT for the ATV6cc.
Right click the Device DDT for the ATV6xx and choose Initialize Animation Table.
You should be presented with an Animation Table containing the ATV6xx Device DDT. Note that the ATC6xxFreshness bits are a value of 1 indicating that the the drive is seen and the current values are real time and “fresh”. Notice the Inputs and outputs contain the same variables that you configured in the Parameters List tab –> Fieldbus -> Port – Modbus TCP -> Protocol & Drive Profiles in the standalone SoMove software. Click on the Modification button, this will enable you to change values in this editor.
Set the DRIVECOM to a 1 and the Line frequency to a value between 1 and 1000. Once the values are set, toggle the DI3 on the demo kit. Also, if you look at the DRIVECOM: Status word as binary you may see the bits changes with the switch toggles.