Remora - Cannot clear E-STOP, without error

More
8 months 1 week ago - 8 months 1 week ago #343421 by AlessandroEmm
Those lines were purely just for illustration of the states output by halcmd.

My HALfile
Code:
loadrt remora SPI_clk_div=32 PRU_base_freq=40000 loadrt [KINS]KINEMATICS loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS addf remora.read servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf remora.update-freq servo-thread addf remora.write servo-thread loadrt estop_latch addf estop-latch.0 servo-thread net estop-loopout       iocontrol.0.emc-enable-in  <= estop-latch.0.ok-out net user-enable-out     iocontrol.0.user-enable-out  => remora.SPI-enable net estop-loopin        remora.SPI-status  => estop-latch.0.ok-in => estop-latch.0.reset net estop-reset         iocontrol.0.user-request-enable => remora.SPI-reset setp remora.joint.0.scale       [JOINT_0]STEPGEN_SCALE setp remora.joint.0.maxaccel    [JOINT_0]MAX_ACCELERATION net xpos-cmd            <= joint.0.motor-pos-cmd        => remora.joint.0.pos-cmd net j0pos-fb            <= remora.joint.0.pos-fb        => joint.0.motor-pos-fb net j0enable            <= joint.0.amp-enable-out       => remora.joint.0.enable setp remora.joint.1.scale               [JOINT_1]STEPGEN_SCALE net y1-pos-cmd   <= joint.1.motor-pos-cmd => remora.joint.1.pos-cmd net y1-pos-fb    <= remora.joint.1.pos-fb  => joint.1.motor-pos-fb net y1-enable    <= joint.1.amp-enable-out => remora.joint.1.enable net y2-pos-cmd   <= joint.2.motor-pos-cmd => remora.joint.2.pos-cmd net y2-pos-fb    <= remora.joint.2.pos-fb  => joint.2.motor-pos-fb net y2-enable    <= joint.2.amp-enable-out => remora.joint.2.enable net z-pos-cmd    <= joint.3.motor-pos-cmd => remora.joint.3.pos-cmd net z-pos-fb     <= remora.joint.3.pos-fb  => joint.3.motor-pos-fb net z-enable     <= joint.3.amp-enable-out => remora.joint.3.enable net X-min       remora.input.1         => joint.0.home-sw-in joint.0.neg-lim-sw-in net Y-min       remora.input.2         => joint.1.home-sw-in joint.1.neg-lim-sw-in net Z-min       remora.input.4         => joint.2.home-sw-in joint.2.neg-lim-sw-in
Last edit: 8 months 1 week ago by AlessandroEmm.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #343434 by tommylight
Changed the subject tittle to reflect use of Remora, is that OK?

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #343443 by AlessandroEmm
Hey guys

I figured it out, as far as I can tell. I didnt put Remora in the title because the states/signals that trigger iocontrol from remora side were, as far as I was able to tell working correctly.
That said all it took was to make it explicit that my linuxcnc instance that it should run with iocontrol v2, which I did by adding
Code:
IO = iov2

to the EMCIO section. From reading the docs I had assumed that in newer versions of LinuxCNC that it would be the default anyway, hence i never bothered. Also I never had errors.

Now to close this, whats the default today for a standard version of iocontrol in a deb-install of linux-cnc?

Thanks,
Alessandro 

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds
Powered by Kunena Forum