- Posts: 87
- Thank you received: 17
chimeno wrote: Hello @jc2ktr
I think the problem is that it lacks the speed at which it has to move, register this pin
Code:<syncManager idx="2" dir="out"> <pdo idx="1600"> <!-- Target Velocity --> <pdoEntry idx="60ff" subIdx="00" bitLen="32" halPin="TargetVelocity" halType="float" scale="1000"/> net xvel-cmd => lcec.0.7.TargetVelocity
Merry Christmas
Chimeno
Please Log in or Create an account to join the conversation.
I'm so glad you got it to work!after an exhausting time i finally got my axis to run, though its not in CSP mode but in Profile Position Mode.
Thanks a lot, now i am at Tuning the Axis because it is oscillating really heavy.
I tried to set up a PID threat but i don't get it to stay calm. Do you know how to set up a PID for EtherCAT Drives? or should the PID be tuned in the Drive Controller itself?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
bkt wrote: I have basic problem with "scale" in sincro position mode .... I don't understand what I have to do to make Lcnc digest the "scale" option .... if I change the scale in my xml I always get axis follow error .... if I change SCALE in the ini file I don't get anything ... it's the first axis configuration I do ever on ethercat and I started from the synchronous driving mode in position to not have too many settings problems .... since my servodrive expects me to set a "gear ratio" I have no possibility to do it from the interface parameters, so I think I can "recreate" it using the SCALE macro in the ini file or playing with "scale" in the xml file (for the servo drive the standard gear ratio is 1)..... but to date I have not obtained anything. Am I very wrong? I have to set the INI file and the HAL file as the motors were steppers with step gen and all the rest of the settings maybe? I don't know what more to think.
I am attaching my files so if someone could put me in the right path, even if only with a link to an identical problem already solved .... I am looking for 2 days but I cannot find .... to think that I thought the most difficult part (the installation of etg drive) was outdated
To be precise, everything works but I can't get the axis to SCALE .... I move 180 ° and the real axis only makes about 20 ° ....
bkt
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
bkt wrote: I'm in waiting from producer about istructions, because on twincat is not possible see "scaling" parameter .... My ethercat drives is based on canOpen so cia402 .... the worlds to be set to have a correct scaling should be the objects 6091h-01h, 6091h-02h, 6092h-01h only at the moment I can't view them on twincat and therefore neither to write them correctly ... I hope the drive manufacturer gives me the right advice otherwise the drives are completely unusable ..... what a bad luck.
if anyone had suggestions for this .... it would be a good fortune instead.
Regards
bkt
Please Log in or Create an account to join the conversation.