0

Generic CAN Parameter Out Max Value?

Barnhart Crane 4 years ago in IQANdesign updated 4 years ago 3

I need to send a PDO1 off SDO to a Variable frequency drive. When I enter the necessary data portion of the frame, IQAN Design (5.04.8.5179) gives me an error saying I'm out of the maximum range. I'm confused by this. Currently,

I won't be able to correctly send the SDO. Any thoughts?

Image 2229

Not sure why there is that limitation.  The number that it is limited to is 2,000,000,000, which might make sense it if was defined as a signed integer.

The workaround would be to break up into two 16-bit GFOUT channels with values of 0xC000 and 0x0181.

Hello Bernard.

This is a limitation on all integers in IQAN.

If you look at page 108 in the instruction book we say this about integer.

Integer
An integer number is a 32 bit signed value in the range ±2·10^9. If an integer
value is used where a boolean value is expected, the value 0 is interpreted as
False and all other values as True.

So you will get this warning everywhere you try to enter a integer value above 2,000,000,000.

Thanks Edward and Thomas. That workaround should work fine. I'll just have to get the endianness right.