CAN communication Set Value
Posted: Tue Aug 13, 2024 10:55 pm
version 5.35.R-sine
I only can set boost, fweak, cannot set other values (like fweakstrt, fconst, udcnom ... )
following the doc "Setting and reading parameters via SDO" https://openinverter.org/wiki/CAN_communication
set fweak to 100Hz (it work)
0x601 # 0x23 0x00 0x20 0x01 0x80 0x0C 0 0 Set "fweak" to 100Hz (0xC80=3200 because scaled by 32)
set boost to 2601(2601x32 = 0x14520) (it work)
0x601 # 0x23 0x00 0x20 0x00 0x20 0x45 0x01 0x00
set fweakstrt to 500 (500x32 = 0x3E80 ( cannot set the value , cannot changed default value)
PARAM_ENTRY(CAT_MOTOR, fweakstrt, "Hz", 0, 1000, 400, 134 )
fweakstr id = 134-1 = 133 (0x85)
0x601 # 0x23 0x00 0x20 0x85 0x80 0x3E 0x00 0x00
I only can set boost, fweak, cannot set other values (like fweakstrt, fconst, udcnom ... )
following the doc "Setting and reading parameters via SDO" https://openinverter.org/wiki/CAN_communication
set fweak to 100Hz (it work)
0x601 # 0x23 0x00 0x20 0x01 0x80 0x0C 0 0 Set "fweak" to 100Hz (0xC80=3200 because scaled by 32)
set boost to 2601(2601x32 = 0x14520) (it work)
0x601 # 0x23 0x00 0x20 0x00 0x20 0x45 0x01 0x00
set fweakstrt to 500 (500x32 = 0x3E80 ( cannot set the value , cannot changed default value)
PARAM_ENTRY(CAT_MOTOR, fweakstrt, "Hz", 0, 1000, 400, 134 )
fweakstr id = 134-1 = 133 (0x85)
0x601 # 0x23 0x00 0x20 0x85 0x80 0x3E 0x00 0x00