00:06In this video, we will simulate scene 4 of Factory Yo y Tia Portal.
00:11For this we go to the Factory Yo website, select scene 4,
00:16in which the use of sensors as actuators is observed, in which at the beginning there will be 3 boxes,
00:24Then the process continues; the last sensor stops the Kenbayer's incoming movement.
00:32To do this, we first go to Factory Yo, select scene 4,
00:38It's important to clarify here that I've already prepared the elements to be simulated.
00:45We're going to show some elements; once the elements are displayed, we'll change their names.
00:50So we have buttons like Start, Stop, Reset, an emergency button, and the display.
00:55In the power circuit we have the sensors, which are set at a certain moment,
01:00At the beginning, middle and end, we have the Kenbayer entry and exit points,
01:05limiter or emitter of elements, boxes is forced, in removal,
01:09This is also forced, so that the boxes are imitated and discarded; the display is in whole numbers.
01:23Once the elements are established, we move on to Drives, as in previous videos,
01:29It is important to clarify here that the sensors and actuators are already in place.
01:42How do we do this? Remember that we go to configuration, we have the input terminals
01:48and output, in the configuration type will be Word, general model S7200 PLC, for the display will be
01:56of the double interotino type, once Factory Yo is configured, we will move on to TIA Portal,
02:05Here we open the PLC1200 template for Factory Yo; this template allows communication between Factory Yo,
02:12and TIA Portal,
02:42We go to PLC Variables, we set the input and output variables,
02:47Thus, for emergencies, we have the Boolean data type, in I10.0,
02:55Be on I10.1,
03:03Damage in direction I10.2,
03:10Sensor 1, in direction I10.3,
03:17Sensor 2, in direction I10.4,
03:24Sensor 3, in direction I10.5,
03:30Input canvaer as an actuator at Q0.0,
03:41At Canvaer exit in the direction Q0.1,
03:45The Lisset will be a boolean input data I10.6,
03:50Green and red light like Q2 and Q0.3.
04:21The yellow light as a crossroads point
04:37And the display as QD20, DIN double integer data type
05:11It is also necessary to set flags or memories such as DB, Enable, DB, Q, DB, UD, at addresses M0.0 through
05:20M0.3
05:51The yellow light as a crossroads point
05:53The programming is as follows: first, we perform the emergency logic, where the activation of a contact
06:00Normally closed, emergency, activates a coil in green light
06:06Next, another coil in the yellow light will also activate, as will the red LED in the yellow light.
06:18Kembaer entry, in diset, Kembaer exit in diset
06:31Memory M0.0, in Diset, the next memory also in Diset M0.1
06:52For the programming logic in drives, it will be as follows
07:07An emergency normally open contact, followed by another start normally open contact
07:25Activate a memory coil called DB, Enable, in Select
07:42Between the start and emergency contacts is another normally closed stop contact, which activates the memory called DB.
08:09The memory designated DB, Enables, in Diset, this memory will activate another coil with a green light
08:24Also, the memory called DB, Enables, in normally closed contact, this memory will activate another coil, red LED, red light
08:34The normally open contact will activate the yellow light
08:44There are also the other DB memories, Judy in Diset, and DB
08:48Q also in diset
08:55In the programming logic, for counting the boxes, it starts from the emergency contact.
09:00Since it is the complete stop, then in series with a memory and a sensor 2, this goes
09:06to the input connection of a TUD counter
09:08We make another connection from an emergency contact to memory M0.0
09:12Enabled in series with the sensor, in connection to the counter, we make another connection with the emergency contact
09:23In series with the reset contact, this goes to the counter's dial in a count of 3.
09:56Subscribe to the channel!
10:01The display will be at the counter's output; for programming, the markers will be reset and select.
10:07Thus, in another emergency contact, the M0.0 memory is serialized
10:11We add another marker or auxiliary memory called counter 0
10:16Q, in series with sensor 2, this will activate a coil DB, Q
10:20For sensor 3, it will activate another DB coil, Judy, in parallel with another DB marker, Q.
10:44Subscribe to the channel!
10:52Subscribe to the channel!
11:11Subscribe to the channel!
11:24Subscribe to the channel!
11:26For the incoming Kembaer, the schedule is as follows:
11:30From the normally open contact comes a memory M0.0
11:34Next, sensor 1, normally closed, is interlocked with the auxiliary normally closed DB, Q
11:40All this to the activation of an entry Kembaer coil
12:10For the outgoing Kembaer, the schedule is as follows:
12:13From the normally open contact comes a memory M0.0
12:17Next, sensor 2, normally closed, is interlocked with the normally open auxiliary DB, Q
12:23All this to the activation of a Kembaer output coil
12:42We finalized and compiled the program
12:50And we uploaded the program to the PLC1200 in simulation.
13:04Here, TIA Portal compiles the programming as long as it is correct, which is the case here.
13:13Now we make the connection between the simulated PLC1200, or S7 PLC SIM, with Factor IO, and move on to the simulation
13:27Here, when Start is pressed, the movement begins; at sensor 2, the movement is stopped for the moment, after 3
13:33continuous boxes, up to sensor 3 which stops the incoming Kembaer
14:06Subscribe to the channel!
14:08In an emergency, everything comes to a complete stop.
14:12For the moment, the DICET resets the system, and we press Start again, which returns normal operation.
14:41We also have actuators like Stop, which stops the movement
14:55You have everything you need. If you found this helpful, don't forget to subscribe.
Comentarios