PLUS+1 Hardware > Controllers

CAN latch

(1/2) > >>

Hi everyone

I am trying to get back to the programming of my controller after a forced stop on my part

I resume slowly and I find myself confronted with a problem of data transmission on the CAN network

to put it simply, I would like to change byte 7 of my CAN frame when C1p06 is high

my program works but has one condition, it is that C1p06 is connected or not to the powering of the controller to see the change in the frame

it is as if my can frame only changed when powering up and after nothing that C1p06 is connected or not, the CAN frame always keeps the same message

I have attached the screens of my program as well as the CAN frames so that you can clearly see

I don't understand why it's latch effect

as you can see, for the control, I integrated a switch to vary the intensity of my bulb connected to C1p37 and it works well



I come back with my problem, and I have advanced, the problem really comes from the CAN TX function, because I put checkpoints on my drawing then with service tool, I read the checkpoints

the information of C1p06 is well converted at the output of the first encoder, then I read the data table at the output of the second encoder is everything is ok

the checkpoin on the output of the oscillator also changes from zero to 1 but slowly I find it to be normal!

looking at the photos you will understand me what I mean

can you help me understand why my CAN data is not refreshing

thank you


Are you sure the signal to C1p6 is being removed?  I don't see anything else in there that would cause it to latch.  Maybe use the Service Tool to monitor C1p6 and confirm that it is turning off.

if you take a good look at the last two photos, the first green square represents C1P06 and as we can see, when I put C1p06 at 12 V C1p06.Digin not well at 1 and bit 7 of my data table which is at the TX entry changes to 127

then when I disconnect the C1p06 input from 12 V C1p06, DigIn goes back to 0 and bit 7 also goes back to 0

except that at this moment the data of the can bus does not change
I am attaching my program so that you can take a look

thank you


NB : I just found one thing that I cannot correct, on my control it is written 70091045V170.lhx but in GUIDE I only found this reference 70091045V190 (sys: 70091042v190) and it is this reference that I use

I tested your program and it works as expected with bit 7 in the CAN message changing when the input to C1p06 changes. Are you sure the issue you are seeing is not with the CAN monitor you are using? As FluidPowerTom suggested check with the CAN monitor included in the Service Tool. You can find it the Tools menu.

I did notice that you are using the HWD file ending in _lg.  This is intended for legacy applications, for new applications it is recommended to use the HWD file with the _nl extension. Unfortunately this does not appear to be well documented, the only reference I can currently find is this forum post


[0] Message Index

[#] Next page

Go to full version