|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: PDP CAN Connection Problems
There's a lot to read in between the lines there...
-Wrong Jag Ids should not cause your code to "crash". It just won't drive motors. -The Jags can't cause the PDP to blink red. Unless the CAN cable is shorted/opened somewhere along the way. -Clearing sticky faults will not stop the PDP from blinking red. If it's blinking red then it's not seeing any CAN traffic. If the PDP is blinking orange then it has sticky faults asserted. A quick test would be to power off the robot and measure the DC resistence between CANH and CANL. It should be 60Ω. So to start with something simple can you just connect two wires between the RIO's CAN bus straight to the PDP? Just take two long wires, disconnect the CAN hardness from RIO and PDP (which is easy since it's weidmuller connectors on both sides) and just connect the RIO straight to the PDP? Then power cycle RIO and open a new browser to check the roboRIO web-based config. Remember it takes a few seconds after an inital startup for the CAN devices to populate, so refresh a few times after it first comes up. |
|
#2
|
||||
|
||||
|
Re: PDP CAN Connection Problems
We have 60Ω across our resistor, and we've tried connecting directly to the PDP but nothing shows up on the webdash.
|
|
#3
|
|||
|
|||
|
Re: PDP CAN Connection Problems
Java will throw an exception from InitCANJaguar if you try to instantiate a Jaguar that is not on the bus and functioning, which will kill your program.
|
|
#4
|
||||
|
||||
|
Re: PDP CAN Connection Problems
Ahh I see. No try-catches to handle that situation then.
If you're still seeing red lights with straight connection to the RIO I would just contact support@crosstheroadelectronics.com directly. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|