i am making this elevator program in TIA portal
I have written a program but it is not complete yet
i created two arrays the first array is called state it has two bits 0,1 another has 6 elements , it detects the limit switch on the floor and writes 1 to that element of the array , and zero to one previous and one next floor ,
Next part is when i need to record all the calls from all the floors i need help
https://www.dropbox.com/s/03001d1d3u5em3i/elevator.zip?dl=0
I have written a program but it is not complete yet
i created two arrays the first array is called state it has two bits 0,1 another has 6 elements , it detects the limit switch on the floor and writes 1 to that element of the array , and zero to one previous and one next floor ,
Next part is when i need to record all the calls from all the floors i need help
https://www.dropbox.com/s/03001d1d3u5em3i/elevator.zip?dl=0