WEBVTT

NOTE
Commissioning of the Festo CMMT Drives with Allen-Bradley ControlLogix/CompactLogix via EtherNet/IP
Transcript by RoboGeeks: https://robogeeks.org/videos/amoConv668M

1
00:00:04.460 --> 00:00:06.660
Hello, my name is Dan Popovich.

2
00:00:07.060 --> 00:00:10.960
I'm a mechatronics application engineer with the Festo Application Engineering Group,

3
00:00:11.240 --> 00:00:14.800
and today I will be showing you how to commission the Festo CMMT drives

4
00:00:14.800 --> 00:00:21.800
with Allen-Bradley CompactLogix via Ethernet IP using Festo Telegram 908 and CIP Sync Part 2,

5
00:00:21.800 --> 00:00:25.020
how to add a second access followed by downloading and commissioning.

6
00:00:25.500 --> 00:00:30.340
Now let's navigate to the Festo website, www.festo.com, U.S.,

7
00:00:30.340 --> 00:00:33.160
and here we will be searching for the CMMT drives.

8
00:00:33.160 --> 00:00:38.900
We type in CMMT in the search window, and after we find the CMMT drive, we click on it.

9
00:00:39.400 --> 00:00:43.320
This takes us to CMMT drive page, and here we click on Downloads,

10
00:00:43.440 --> 00:00:45.160
followed by a click on Software tab,

11
00:00:45.520 --> 00:00:48.500
and here we will find all the files that we need for CIP Sync.

12
00:00:48.880 --> 00:00:49.840
We start with the firmware.

13
00:00:50.400 --> 00:00:53.240
We select the CMMT ASMP drive first,

14
00:00:53.620 --> 00:00:58.840
then we click on Firmware Package down arrow to select the firmware package 37.1.4.

15
00:00:58.960 --> 00:01:02.400
We repeat this process for the CMMT STMP.

16
00:01:03.160 --> 00:01:04.780
We go next to the EDS files,

17
00:01:05.180 --> 00:01:09.120
and we download the version 37.1.4 for the AS drive,

18
00:01:09.400 --> 00:01:10.780
and then for the ST drive.

19
00:01:13.360 --> 00:01:15.020
And lastly, following the same procedure,

20
00:01:15.160 --> 00:01:16.840
we go to the function blocks for Rockwell,

21
00:01:17.280 --> 00:01:19.580
and from there we download the version 3.2.

22
00:01:22.840 --> 00:01:27.040
Once downloaded, we extract the files from the zipped downloads in their native folders,

23
00:01:27.040 --> 00:01:33.240
and from there we will move them all to a newly created CIP Sync folder to use them for our configuration.

24
00:01:33.580 --> 00:01:38.520
Now let's get back to our project in Studio 5000 that we created for the first episode.

25
00:01:39.240 --> 00:01:42.680
We copy and paste the CMMT AS drive in the I.O. tree,

26
00:01:43.000 --> 00:01:44.580
and we make the necessary adjustments.

27
00:01:44.580 --> 00:01:51.060
We change the name and the I.P. address to match the second CMMT AS drive F.A.S. configuration.

28
00:01:51.600 --> 00:02:02.260
Now we go to the motion group,

29
00:02:02.480 --> 00:02:06.760
and copy and paste the first axis and create the second axis and rename accordingly.

30
00:02:21.030 --> 00:02:24.050
Next, we go to the motion group, and verify the settings.

31
00:02:24.590 --> 00:02:27.490
We need to make sure the group has an update time of 4 milliseconds.

32
00:02:28.070 --> 00:02:31.210
Then we go to Motion Task, which is an event-triggered task.

33
00:02:31.210 --> 00:02:34.310
We double-check its settings, making sure the event is selected.

34
00:02:34.790 --> 00:02:36.590
The motion group execution is the trigger,

35
00:02:37.010 --> 00:02:39.990
and execution time is 4 milliseconds, and priority is 1.

36
00:02:40.530 --> 00:02:43.970
Then we open the read-write routine, and we copy the code for the axis 1,

37
00:02:44.170 --> 00:02:45.830
and change it to the axis 2,

38
00:02:46.250 --> 00:02:49.590
renaming every tag inside the instructions for the axis 2.

39
00:02:50.030 --> 00:02:51.850
Pay attention to the grouping of the instructions.

40
00:02:52.450 --> 00:02:55.730
First are the read instructions, followed by UID instruction,

41
00:02:56.130 --> 00:02:59.330
followed by a write and IOT instruction for each additional axis.

42
00:02:59.330 --> 00:03:04.290
Every write instruction must be followed by its IOT instruction,

43
00:03:04.630 --> 00:03:07.090
and the very end, add the UIE instruction.

44
00:03:07.630 --> 00:03:11.450
This guarantees that the write instructions have the highest execution priority.

45
00:03:11.850 --> 00:03:14.210
Now let's rename the tags inside the copied instructions.

46
00:03:45.270 --> 00:03:47.390
Now we go to the main task, main routine,

47
00:03:47.730 --> 00:03:50.050
and do the same for the Festo AOI's instructions.

48
00:03:50.530 --> 00:03:52.290
We copy and paste the first axis,

49
00:03:52.630 --> 00:03:57.090
and then we change the copied instructions to the axis 2 or y-axis in our case.

50
00:03:57.090 --> 00:06:03.640
At this point, we are ready to download the program and test the logic.

51
00:06:04.560 --> 00:06:06.000
When we do this for the first time,

52
00:06:06.060 --> 00:06:08.780
we open Studio 5000 without opening a project,

53
00:06:09.200 --> 00:06:11.180
then we click on the Communications tab.

54
00:06:11.580 --> 00:06:14.860
From the drop-down menu, we click on Select Communication Software.

55
00:06:15.480 --> 00:06:17.520
From here, we choose RS Links Classic.

56
00:06:17.980 --> 00:06:20.580
Then we open the previous project we have been working on.

57
00:06:20.960 --> 00:06:22.700
We click on the Communications tab.

58
00:06:23.060 --> 00:06:25.720
Then from the drop-down menu, we select RS Who.

59
00:06:25.720 --> 00:06:29.000
And from here, we can see the available communication drivers

60
00:06:29.000 --> 00:06:32.040
to make it easier for those not familiar with Rockwell.

61
00:06:32.340 --> 00:06:35.260
I selected the USB driver for my PLC communications.

62
00:06:35.700 --> 00:06:38.480
We first select the processor the USB cable is connected to,

63
00:06:38.800 --> 00:06:41.640
then click on Set Project Path followed by the Download button

64
00:06:41.640 --> 00:06:43.860
to begin downloading the program to the PLC.

65
00:06:44.340 --> 00:06:45.820
We click on Download again.

66
00:06:53.220 --> 00:06:55.420
After the download, we go online to review the code

67
00:06:55.420 --> 00:06:57.360
and take care of any errors if they exist.

68
00:06:57.360 --> 00:06:59.940
We also need to correct the communications paths

69
00:06:59.940 --> 00:07:02.560
in the Message Read and Message Write instructions.

70
00:07:44.200 --> 00:07:46.220
To verify that the edits were done correctly,

71
00:07:46.700 --> 00:07:49.980
we execute the init instructions and wait for about 30 seconds.

72
00:07:50.500 --> 00:07:52.640
The instructions have to go through the busy state,

73
00:07:52.920 --> 00:07:55.360
and if it passes the init done bit is set to high,

74
00:07:55.720 --> 00:07:57.740
then we verify that all errors are cleared

75
00:07:57.740 --> 00:07:59.560
in the init and Message Write instructions.

76
00:08:00.100 --> 00:08:01.960
Now that we have communications established,

77
00:08:02.500 --> 00:08:04.100
we need to test the fault reset

78
00:08:04.100 --> 00:08:05.780
and the drive enable instructions

79
00:08:05.780 --> 00:08:07.560
followed by the drive home instructions.

80
00:08:08.100 --> 00:08:10.840
We toggle the appropriate bits to execute each instruction.

81
00:08:11.520 --> 00:08:12.920
Please note that the homing instruction

82
00:08:12.920 --> 00:08:15.320
can be configured to execute a homing in place

83
00:08:15.320 --> 00:08:17.600
or the FAS homing configuration.

84
00:08:50.080 --> 00:08:53.420
A successful fault reset clears all the drive errors or faults,

85
00:08:53.820 --> 00:08:55.480
then the enable must follow the reset

86
00:08:55.480 --> 00:08:56.880
and before homing can be done,

87
00:08:57.240 --> 00:08:59.200
the successful enable will set the axis.

88
00:08:59.960 --> 00:09:02.820
Enable bit and position task activated bits high.

89
00:09:03.380 --> 00:09:05.420
After the enable, we execute the homing.

90
00:09:05.420 --> 00:09:07.500
I selected the FAS method

91
00:09:07.500 --> 00:09:09.640
by turning on the start homing procedure bit.

92
00:09:10.040 --> 00:09:11.180
If the homing is successful,

93
00:09:11.340 --> 00:09:12.960
then the referenced bit is set high.

94
00:09:17.510 --> 00:09:19.190
This concludes the episode 2,

95
00:09:19.570 --> 00:09:20.970
How to Add a Second Axis,

96
00:09:21.190 --> 00:09:22.790
Part of the CIP Sync Series.

97
00:09:23.230 --> 00:09:24.870
We thank you for following us,

98
00:09:25.030 --> 00:09:27.350
and we hope that this video was instructive for you.

99
00:09:28.010 --> 00:09:30.270
We hope to see you again on future episodes.

100
00:09:30.270 --> 00:09:32.250
We will be tackling MAMs,

101
00:09:32.350 --> 00:09:33.770
Motion Axis Moves Mags,

102
00:09:33.850 --> 00:09:35.410
Motion Axis Gearing Instruction,

103
00:09:35.850 --> 00:09:37.090
adding a third axis,

104
00:09:37.550 --> 00:09:38.530
a rotary axis,

105
00:09:38.990 --> 00:09:40.490
and motion axis camming

106
00:09:40.490 --> 00:09:42.290
and linear interpolated moves.
