Hello friends. I need to write a program.
This is exactly what is asked of me:
When Sensor 1 and Sensor 2 give output, it will allow Robot to Weld to 1st Fixture.
When the welding is finished, the 1st Fixture welding finished signal will come from the Robot.
! In order for the operator not to reuse the same part, I need to make sure that the part is taken from the 1st Fixture. In this, I am asked to use the following method.
Sensor 1 and Sensor 2 should have no output for at least 15 seconds.
(I need to use the negative edge of Sensor 1 and Sensor 2 for this.)
And with this, the Operator will enter and exit the Area Sensor at least once,
I have to create a signal that he's doing it.
No signal from sensors 1 and 2 for 15 seconds,
Operator input and output to the Area Sensor,
"Fixture 1 reset" signal will be generated when signals are received.
After Fixture 1 Reset signal; When Sensor 1 and Sensor 2 output; It will allow the Robot to Weld to Fixture 1 again.
Sensor 1 : I0.0
Sensor 2 : I0.1
From PLC to Robot; Send Welding permission to Fixture 1: Q1.0
From robot to PLC; 1. Fixture Send welding end signal : I1.0
No signal from Sensor 1 and Sensor 2 at the same time for 15 seconds: M0.0
Area sensor Signal I2.0
Input and output to Area Sensor at least 1 time, signal : M2.0
Fixture 1 Reset : Q3.0
Below is the project where I created the symbols.
View attachment Example_project_for_help.zip
This is exactly what is asked of me:
When Sensor 1 and Sensor 2 give output, it will allow Robot to Weld to 1st Fixture.
When the welding is finished, the 1st Fixture welding finished signal will come from the Robot.
! In order for the operator not to reuse the same part, I need to make sure that the part is taken from the 1st Fixture. In this, I am asked to use the following method.
Sensor 1 and Sensor 2 should have no output for at least 15 seconds.
(I need to use the negative edge of Sensor 1 and Sensor 2 for this.)
And with this, the Operator will enter and exit the Area Sensor at least once,
I have to create a signal that he's doing it.
No signal from sensors 1 and 2 for 15 seconds,
Operator input and output to the Area Sensor,
"Fixture 1 reset" signal will be generated when signals are received.
After Fixture 1 Reset signal; When Sensor 1 and Sensor 2 output; It will allow the Robot to Weld to Fixture 1 again.
Sensor 1 : I0.0
Sensor 2 : I0.1
From PLC to Robot; Send Welding permission to Fixture 1: Q1.0
From robot to PLC; 1. Fixture Send welding end signal : I1.0
No signal from Sensor 1 and Sensor 2 at the same time for 15 seconds: M0.0
Area sensor Signal I2.0
Input and output to Area Sensor at least 1 time, signal : M2.0
Fixture 1 Reset : Q3.0
Below is the project where I created the symbols.
View attachment Example_project_for_help.zip