Micrologix 1200
well ive got my machine up and cycling except fpr the good and bad
Part pickoffs i need to make one work when it sees a 1 and the other work when it sees a 0 but i can make the bit shift work but if i get 2 true's one following directly behind another it only works on the first one? What am i doing wrong??
SOR XIC I:0.0/0 OTL B3:2/0 EOR
SOR XIO I:0.0/2 BST BSL #B3:10 R6:0 B3:2/0 1 NXB OTU B3:2/0 BND EOR
SOR XIC B3:10/1 TON T4:0 1.0 2 2 EOR
SOR XIC T4:0/TT OTE O:0.0/0 EOR
SOR END EOR
This is what ive been trying. i is my bad part input i:2 shifts the data but like i said if i get 2 1's in a row it only works one of them. why?
Dave
well ive got my machine up and cycling except fpr the good and bad
Part pickoffs i need to make one work when it sees a 1 and the other work when it sees a 0 but i can make the bit shift work but if i get 2 true's one following directly behind another it only works on the first one? What am i doing wrong??
SOR XIC I:0.0/0 OTL B3:2/0 EOR
SOR XIO I:0.0/2 BST BSL #B3:10 R6:0 B3:2/0 1 NXB OTU B3:2/0 BND EOR
SOR XIC B3:10/1 TON T4:0 1.0 2 2 EOR
SOR XIC T4:0/TT OTE O:0.0/0 EOR
SOR END EOR
This is what ive been trying. i is my bad part input i:2 shifts the data but like i said if i get 2 1's in a row it only works one of them. why?
Dave