2/13/2019 1:42 PM | |
Joined: 12/18/2014 Last visit: 11/3/2024 Posts: 34132 Rating: (4250)
|
I try the second version. I hope that it meets your wishes. AttachmentSetpoint_0BA8.Standard_V2.zip (270 Downloads) |
This contribution was helpful to1 thankful Users |
2/20/2019 10:33 AM | |
Joined: 2/10/2018 Last visit: 9/24/2024 Posts: 9 Rating: (0) |
I understand that is problematic, if my explanation is not clear. I have made some alterations to your program, which is working in large parts. But i am having trouble getting the setpoint addition / retraction to work. B010 should get ether a setpoint addition or retraction from I1 or I2, This mathematical function is made every time the Rotation Complete Signal is sent from I6. Set_Aq+I1 or Set_Aq-I2 But if no setpoint addition or retraction is added via i1/i2, then the previous setpoint set_Aq should be added to the Aq in B011 when the rotation complete signal is sent. Set_Aq +Aq But i cant get it to accumulate the setpoint value in Aq Set_Aq starts out at 1 I6=Set_Aq +Aq setpoint = 1+1=2 I6=Set_Aq +Aq setpoint = 1+2=3 I6=(Set_Aq+ i1)+Aq setpoint = (1+0.5)+3=4.5 I6=(Set_Aq+i1)+Aq setpoint = (1.5+0.5)+4.5=6.5 I6=Set_Aq +Aq setpoint = 2+6.5=8.5 I6=Set_Aq +Aq setpoint = 2+8.5=10.5 I6=(Set_Aq-i2)+Aq setpoint = (2-0.5)+10.5=9 I6=(Set_Aq-i2)+Aq setpoint = (1.5-0.5)+9=10 I6=(Set_Aq-i2)+Aq setpoint = (1-0.5)+10=10.5 I6=Set_Aq+Aq setpoint = 0.5+10.5= 11 I6=Set_Aq+Aq setpoint = 0.5+11= 11.5 is this even possible?
AttachmentSetpoint_0BA8.Standard_V3.lsc.zip (241 Downloads) |
2/20/2019 11:02 AM | |
Joined: 12/18/2014 Last visit: 11/3/2024 Posts: 34132 Rating: (4250)
|
Now I can not understand anymore what you want to do. |
Follow us on