Commissioning of the Festo CMMT Drives with Allen-Bradley ControlLogix/CompactLogix via EtherNet/IP
Festo · Uploaded · 9:46 · Watch on YouTube
Festo application engineer Dan Popovich walks through commissioning Festo CMMT drives with an Allen-Bradley ControlLogix or CompactLogix controller over EtherNet/IP. He covers downloading firmware and EDS files, configuring a second axis in Studio 5000, and testing fault reset, enable, and homing.
Transcript
Captions as a .vtt fileEmbed with the transcript
- 0:04Hello, my name is Dan Popovich.
- 0:07I'm a mechatronics application engineer with the Festo Application Engineering Group,
- 0:11and today I will be showing you how to commission the Festo CMMT drives
- 0:14with Allen-Bradley CompactLogix via Ethernet IP using Festo Telegram 908 and CIP Sync Part 2,
- 0:21how to add a second access followed by downloading and commissioning.
- 0:25Now let's navigate to the Festo website, www.festo.com, U.S.,
- 0:30and here we will be searching for the CMMT drives.
- 0:33We type in CMMT in the search window, and after we find the CMMT drive, we click on it.
- 0:39This takes us to CMMT drive page, and here we click on Downloads,
- 0:43followed by a click on Software tab,
- 0:45and here we will find all the files that we need for CIP Sync.
- 0:48We start with the firmware.
- 0:50We select the CMMT ASMP drive first,
- 0:53then we click on Firmware Package down arrow to select the firmware package 37.1.4.
- 0:58We repeat this process for the CMMT STMP.
- 1:03We go next to the EDS files,
- 1:05and we download the version 37.1.4 for the AS drive,
- 1:09and then for the ST drive.
- 1:13And lastly, following the same procedure,
- 1:15we go to the function blocks for Rockwell,
- 1:17and from there we download the version 3.2.
- 1:22Once downloaded, we extract the files from the zipped downloads in their native folders,
- 1:27and from there we will move them all to a newly created CIP Sync folder to use them for our configuration.
- 1:33Now let's get back to our project in Studio 5000 that we created for the first episode.
- 1:39We copy and paste the CMMT AS drive in the I.O. tree,
- 1:43and we make the necessary adjustments.
- 1:44We change the name and the I.P. address to match the second CMMT AS drive F.A.S. configuration.
- 1:51Now we go to the motion group,
- 2:02and copy and paste the first axis and create the second axis and rename accordingly.
- 2:21Next, we go to the motion group, and verify the settings.
- 2:24We need to make sure the group has an update time of 4 milliseconds.
- 2:28Then we go to Motion Task, which is an event-triggered task.
- 2:31We double-check its settings, making sure the event is selected.
- 2:34The motion group execution is the trigger,
- 2:37and execution time is 4 milliseconds, and priority is 1.
- 2:40Then we open the read-write routine, and we copy the code for the axis 1,
- 2:44and change it to the axis 2,
- 2:46renaming every tag inside the instructions for the axis 2.
- 2:50Pay attention to the grouping of the instructions.
- 2:52First are the read instructions, followed by UID instruction,
- 2:56followed by a write and IOT instruction for each additional axis.
- 2:59Every write instruction must be followed by its IOT instruction,
- 3:04and the very end, add the UIE instruction.
- 3:07This guarantees that the write instructions have the highest execution priority.
- 3:11Now let's rename the tags inside the copied instructions.
- 3:45Now we go to the main task, main routine,
- 3:47and do the same for the Festo AOI's instructions.
- 3:50We copy and paste the first axis,
- 3:52and then we change the copied instructions to the axis 2 or y-axis in our case.
- 3:57At this point, we are ready to download the program and test the logic.
- 6:04When we do this for the first time,
- 6:06we open Studio 5000 without opening a project,
- 6:09then we click on the Communications tab.
- 6:11From the drop-down menu, we click on Select Communication Software.
- 6:15From here, we choose RS Links Classic.
- 6:17Then we open the previous project we have been working on.
- 6:20We click on the Communications tab.
- 6:23Then from the drop-down menu, we select RS Who.
- 6:25And from here, we can see the available communication drivers
- 6:29to make it easier for those not familiar with Rockwell.
- 6:32I selected the USB driver for my PLC communications.
- 6:35We first select the processor the USB cable is connected to,
- 6:38then click on Set Project Path followed by the Download button
- 6:41to begin downloading the program to the PLC.
- 6:44We click on Download again.
- 6:53After the download, we go online to review the code
- 6:55and take care of any errors if they exist.
- 6:57We also need to correct the communications paths
- 6:59in the Message Read and Message Write instructions.
- 7:44To verify that the edits were done correctly,
- 7:46we execute the init instructions and wait for about 30 seconds.
- 7:50The instructions have to go through the busy state,
- 7:52and if it passes the init done bit is set to high,
- 7:55then we verify that all errors are cleared
- 7:57in the init and Message Write instructions.
- 8:00Now that we have communications established,
- 8:02we need to test the fault reset
- 8:04and the drive enable instructions
- 8:05followed by the drive home instructions.
- 8:08We toggle the appropriate bits to execute each instruction.
- 8:11Please note that the homing instruction
- 8:12can be configured to execute a homing in place
- 8:15or the FAS homing configuration.
- 8:50A successful fault reset clears all the drive errors or faults,
- 8:53then the enable must follow the reset
- 8:55and before homing can be done,
- 8:57the successful enable will set the axis.
- 8:59Enable bit and position task activated bits high.
- 9:03After the enable, we execute the homing.
- 9:05I selected the FAS method
- 9:07by turning on the start homing procedure bit.
- 9:10If the homing is successful,
- 9:11then the referenced bit is set high.
- 9:17This concludes the episode 2,
- 9:19How to Add a Second Axis,
- 9:21Part of the CIP Sync Series.
- 9:23We thank you for following us,
- 9:25and we hope that this video was instructive for you.
- 9:28We hope to see you again on future episodes.
- 9:30We will be tackling MAMs,
- 9:32Motion Axis Moves Mags,
- 9:33Motion Axis Gearing Instruction,
- 9:35adding a third axis,
- 9:37a rotary axis,
- 9:38and motion axis camming
- 9:40and linear interpolated moves.
토론
누군가 댓글을 달면 메일로 알려 드려요. 계정은 필요 없어요.
뉴스레터
Get our free newsletter with new robots, prices and robotics news.