Menu

Topic-icon _AIC vs _CIA (and _PIC vs _CIP)

More
1 month 3 weeks ago #29534309 by LROBBINS

I have tried to glean this from the user' manual, but ...

If an analog (or pulse) input is configured as a Motor Command, is there any difference between what is returned by GetValue (_AIC,cc) and GetValue (_CIA,cc) or the pulse equivalents?

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #29534317 by Gabriel_Isko

Yes. _AIC will return the filtered input from an analog input regardless of which signal it is mapped to, or if it is mapped to a signal at all. _CIA returns the motor command from the analog channels. This is what get's applied to the motor channel if you are in analog command mode. However, _CIA will return this value whether the controller is in analog command mode or not.

The best way to differentiate them is by their arguments. _AIC is given an input channel argument, as it reports the filtered value per input channel. _CIA is given the Motor Output channel as an argument, as it reports motor commands.

It should work the same way for the pulse command equivalent runtime queries.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #29534327 by LROBBINS

Thanks for your quick reply, but I think you missed the if part of my question:

If an analog (or pulse) input is configured as a Motor Command

In that case, and only that case, my reading of your reply is that the answer is not Yes rather than no -- the values returned by _AIC and _CIA would be the same.

Or have I mis-interpreted something?

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #29534445 by Gabriel_Isko

Yes, they should be equivalent. But it is incorrect to call them the exact same value.

Please Log in or Create an account to join the conversation.

Time to create page: 0.130 seconds
Go to top