|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Phil,
The limit switch rule was in place in 2009 not CAN bus use. From 2009 Inspection Checklist Custom Circuits, Sensors and Additional Electronics - cannot be attached to the cRIO’s serial port or Ethernet port 2 (except for the Axis 206 camera), cannot attach to Jaguar CAN or limit switch ports,... Last edited by Al Skierkiewicz : 08-02-2011 at 12:43. |
|
#17
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Quote:
|
|
#18
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
I thought that Phil was asking about limit switches when using the PWM inputs in his first post.
|
|
#19
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Allow me to restate my question now that we have a few more facts.
(I am having our team leader post this on the Q&A... but just let me clarify) We've established that regardless of the control method you are using with the Jaguars (CAN or PWM), the Limit switch inputs perform the same control function... that is: they stop the motor running a specific direction if that limit switch circuit goes open-circuit. This in no way compromises any safety/watchdog/loss-of-comms/FCS shutdown action. It actually adds a level of safety. The only difference between the two interfaces is that CAN ALSO lets the cRIO read the state of the switches, in case it wants to take some other action (since the motor is already shut down) So my question is: Why can we connect limit switches to the Jaguar if we are using CAN bus, but not if we are using PWM. The automatic limit control action is the same. Please let us use it!!! Just because CAN can read the inputs, there is no requirment to do so, but having the automated limit switch is a COOL feature to provide a faster response AND it frees up DSC I/Os for other uses (my other reason for wanting this). Phil. |
|
#20
|
||||
|
||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
I currently see no downside - safety or otherwise - in allowing direct limit switch use with the Jaguars in PWM mode. Particularly if they've already been allowed in CAN mode.
Is there something we're missing here? |
|
#21
|
|||
|
|||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
I'm guessing it's similar reasoning that almost outlawed closed-loop control on the Jaguar entirely. It's not founded in anything technical or safety related.
-Joe |
|
#22
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Quote:
I am not a programmer so tender my answer with that. It is my understanding (from inspector training) that in the CAN implementation, the state of the limit must be read, passed on the CAN bus to the Crio which then generates motor command. Under FMS the Crio is controlled and the limit switch based commands are then enabled or inhibited by the FMS command. It is for this (and others) reason that we went through several firmware revisions in that first year. As each revision was released, it was necessary to determine that any and all motion could be stopped by the FMS. If it could not, then another release was generated. The safety of the participants, volunteers and field are still the highest priority in making decisions about the control system. Please ask the Q&A so everyone can be satisfied. Last edited by Al Skierkiewicz : 09-02-2011 at 07:51. |
|
#23
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Quote:
|
|
#24
|
|||
|
|||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
Quote:
There is a "Soft Limit" feature that uses the encoder or potentiometer to read the position, and stops the motors at a user defined position. However, motor movement will still be stopped by the hardware limit switch opening the circuit, even if it hasn't reached the soft limit yet. When using CAN, it is entirely up to the user to read the limit switch states from the Jaguar. The cRIO does not issue motor commands based on the limit switch states. The cRIO issues standard commands and the Jaguar follows them to the best of its ability. If the cRIO is telling the Jaguar "move forward!" it will try to. If, however, the forward limit switch input is open-circuit, the Jaguar will not move forward, despite the cRIO continuing to send a forward command. Quote:
-David |
|
#25
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
I have posted the question.
Whether everyone will be satisfied is a completely different issue ![]() If nothing else, it will be interesting to hear the reasoning behind this rule. Phil. |
|
#26
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
David,
I was speaking of the updates in 2009 when this control system was first introduced. |
|
#27
|
||||||
|
||||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
There were no jaguar firmware updates in 2009 because no team had the capability of loading them.
|
|
#28
|
|||||
|
|||||
|
Re: Why are Limit Switches outlawed with PWM, but not CAN?
OK,
There were Crio, driver's station and Lab View updates in 2009, parts of which addressed the inability to turn off Jaguars reliably at the end of a match. Not only was it not possible to update the Jaguar, there was no way to check it since CAN was not legal in 2009 nor was it legal to connect to the CAN bus connector on the Jaguar. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|