JMC Servo in PP mode
- benezan
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
09 Mar 2024 13:20 - 09 Mar 2024 13:25 #295512
by benezan
JMC Servo in PP mode was created by benezan
Hello,
I'm currently trying to run a JMC servo IHSV57/60-EC in contour position mode (PP). I get it to the point where power is enabled to the motor. At least I can feel that it's getting holding torque. But it doesn't move. Here are the objects and the values I set:
I'm currently trying to run a JMC servo IHSV57/60-EC in contour position mode (PP). I get it to the point where power is enabled to the motor. At least I can feel that it's getting holding torque. But it doesn't move. Here are the objects and the values I set:
- 0x6060 = 1 (profile position mode PP)
- 0x607a = 1000 (target position)
- 0x607b.1 = 0x80000000 (position limit minimum)
- 0x607b.2 = 0x7fffffff (position limit maximum)
- 0x6081 = 1000 (contour velocity)
- 0x6083 = 5000 (contour acceleration)
- 0x6084 = 5000 (contour deceleration
All other values are at their defaults (for example, electronic gear = 1/1, ramp type 0x6086 = 0 (linear ramp). When I bring the state machine to "operation enabled" (0x6040 = 0x0f) I get a positive acknowledge (0x6041 = 0x0637) and the motor has torque. When I set a new target position by writing 0x607a and setting bits 4 and 5 of 0x6040 (new setpoint, latch immediately) the drive responds with 0x6041 = 0x1237. This means that bit 12 (setpoint acknowledge) is set and bit 10 (target pos reached) is cleared. However, the motor doesn't move. Actual position (0x6064) stays the same as before (somewhere close to rero).
I'm not sure if the velocity and acceleration values are meant in steps/s or RPM units. The manual is not clear about that. But 1000 should work in both cases, I think.
I have mapped target position and control word as RxPDOs and status word, actual position and actual torque as TxPDOs. All other parameters are set during the Pre-Op to Safe-Op initialisation. SyncMode is set to free run (0x1c32.1 = 0 and 0x1c33 = 0).
Has anybody successfully run an EtherCat servo in PP mode? Could you please share your initialisation sequence or tell me what I have missed?
Last edit: 09 Mar 2024 13:25 by benezan.
Please Log in or Create an account to join the conversation.
- scottlaird
- Offline
- Premium Member
Less
More
- Posts: 136
- Thank you received: 155
09 Mar 2024 19:43 #295534
by scottlaird
Replied by scottlaird on topic JMC Servo in PP mode
That looks like a CiA 402 servo. Does it support CSP mode as well?
You might want to look at the `cia402` HAL plugin, it automates quite a bit of this, but currently only supports CSP and CSV modes, not PP and PV.
You might want to look at the `cia402` HAL plugin, it automates quite a bit of this, but currently only supports CSP and CSV modes, not PP and PV.
Please Log in or Create an account to join the conversation.
- PedPEx
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
14 Sep 2024 14:35 #310146
by PedPEx
Replied by PedPEx on topic JMC Servo in PP mode
Hello benezan,
i tested a JMC iHSV57-30-18-36-EC yesterday and got it working in LinuxCNC without any problems or needing to configuring the drive via its RS232 interface.
Mine started up in OPMODE 8 (CSP) and was usable right out of the box. Unfortunately not all inputs are working as expected, just the CW and CCW are working as expected.
You can find my config and machine files here:
github.com/PedPEx/plasma-cutter-LinuxCNC.../main/JMC-Servo_Test
i tested a JMC iHSV57-30-18-36-EC yesterday and got it working in LinuxCNC without any problems or needing to configuring the drive via its RS232 interface.
Mine started up in OPMODE 8 (CSP) and was usable right out of the box. Unfortunately not all inputs are working as expected, just the CW and CCW are working as expected.
You can find my config and machine files here:
github.com/PedPEx/plasma-cutter-LinuxCNC.../main/JMC-Servo_Test
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds