Hello everyone i'm a senior in computer engineering from Rome,Italy.
I have to make a simple PLC project that involves coding an electromagnetic bridge crane in Ladder (using RSLogix500) and then i have to simulate it in Visual Basic 6.
I have to code two bridge crane (left and right) that must be able to move two objects from two different platforms (left and right) to a shared big platform in the middle.
I already coded the movement of the left bridge crane (i'm assuming i might be able to use the same exact code to move the right one(?)).
The problem is that i have no idea how to code in RSLogix a semaphore/mutex that allows the two cranes to reach the shared resource (with the shared resource being the big platform in the middle).
How do i connect the two cranes using this semaphore/mutex? do i have to copy paste the code for the left crane or can the two cranes share the same code?
I apologize for my english, tried my best, please if you can keep it very simple so that i can understand better what i'm supposed to do since i'm ABSOLUTELY new to the software RSLogix500.
If needed i can provide the code made up to this point, have a good day!
I have to make a simple PLC project that involves coding an electromagnetic bridge crane in Ladder (using RSLogix500) and then i have to simulate it in Visual Basic 6.
I have to code two bridge crane (left and right) that must be able to move two objects from two different platforms (left and right) to a shared big platform in the middle.
I already coded the movement of the left bridge crane (i'm assuming i might be able to use the same exact code to move the right one(?)).
The problem is that i have no idea how to code in RSLogix a semaphore/mutex that allows the two cranes to reach the shared resource (with the shared resource being the big platform in the middle).
How do i connect the two cranes using this semaphore/mutex? do i have to copy paste the code for the left crane or can the two cranes share the same code?
I apologize for my english, tried my best, please if you can keep it very simple so that i can understand better what i'm supposed to do since i'm ABSOLUTELY new to the software RSLogix500.
If needed i can provide the code made up to this point, have a good day!