In process of editing a spot weld process using AB Micrologix 1400 controller, Panelview plus 7 HMI, RSlogix 500 and Factory Talk ME 10.
From the panel view the number of total spot welds are entered (1-20) tied to C5:0/preset
The operator can select to weld a part using six combinations of weld quantity tied to a weld schedule. Example: total welds =8, the first weld schedule = 4 (7:69) , second weld schedule =1 (N7:68), third weld schedule = 1 (N7:67), forth weld schedule =1 (N7:66) and fifth weld schedule =1 (N7:56)
The recipe is then downloaded to the controller.
What I am trying to do is monitor the C5 accumulator with a compare statement and when the first four welds are complete, change the weld controller schedule to the next one. Stay in the next weld schedule until N7:69 and N7:68 equal to the C5 accumulator and the move to the third weld sequence and so on.
I tried this using the add function and it will calculate the first two and would not calculate the rest. So I have switched to trying to use a CPT instruction.
Does this have a chance of working?
Any guidance is appreciated.
From the panel view the number of total spot welds are entered (1-20) tied to C5:0/preset
The operator can select to weld a part using six combinations of weld quantity tied to a weld schedule. Example: total welds =8, the first weld schedule = 4 (7:69) , second weld schedule =1 (N7:68), third weld schedule = 1 (N7:67), forth weld schedule =1 (N7:66) and fifth weld schedule =1 (N7:56)
The recipe is then downloaded to the controller.
What I am trying to do is monitor the C5 accumulator with a compare statement and when the first four welds are complete, change the weld controller schedule to the next one. Stay in the next weld schedule until N7:69 and N7:68 equal to the C5 accumulator and the move to the third weld sequence and so on.
I tried this using the add function and it will calculate the first two and would not calculate the rest. So I have switched to trying to use a CPT instruction.
Does this have a chance of working?
Any guidance is appreciated.