Advanced Search

Search Results (Searched for: )

  • Z3rni3
  • Z3rni3
23 May 2025 11:07
Replied by Z3rni3 on topic unknown type name ‘bit’

unknown type name ‘bit’

Category: Configuration Tools

I was able to install it now, thank you!
Will update if it works as planed.
  • cmorley
  • cmorley
23 May 2025 10:58
Replied by cmorley on topic unknown type name ‘bit’

unknown type name ‘bit’

Category: Configuration Tools

try:

variable int last_Tin = 0;
  • Z3rni3
  • Z3rni3
23 May 2025 10:45 - 23 May 2025 10:51
Replied by Z3rni3 on topic unknown type name ‘bit’

unknown type name ‘bit’

Category: Configuration Tools

I acctually name it pos_latch.comp when creating the document.


I've created working functions before but those only used floats.
Follwing File installs no problem...:
component Test;
license "GPL";

pin in float in;
pin out float out1;
pin out bit out2;

function _ nofp;

;;

FUNCTION(_) {
out1 = in * 3;
if (out1 == 3.0)
   { out2 = true; }
else
   { out2 = false; }
}

 
  • Hakan
  • Hakan
23 May 2025 09:48
Replied by Hakan on topic unknown type name ‘bit’

unknown type name ‘bit’

Category: Configuration Tools

Name the file pos_latch.comp, the comp thing makes it go through the preprocessor.
  • Z3rni3
  • Z3rni3
23 May 2025 09:42
unknown type name ‘bit’ was created by Z3rni3

unknown type name ‘bit’

Category: Configuration Tools

Hey Guys
I'm trying to write a function at the moment but it does'nt accept me using a bit.
Probably jsut missing something small.
I get following Error with following function;

CODE:
pos_latch.c:29:5: error: unknown type name ‘bit’
   29 | bit last_Tin;
        | ^~~
make: *** [/usr/share/linuxcnc/Makefile.modinc:117: pos_latch.o] Error 1


FUNCTION:
component pos_latch;
license "GPL";

pin in float Pin;
pin in bit Tin;
pin out float out;

variable bit last_Tin = FALSE;

function _;

;;

FUNCTION(_) {
    if (Tin && !last_Tin) {
        out = Pin;
    }
    last_Tin = Tin;
}

 
  • Hakan
  • Hakan
23 May 2025 09:01

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

Twincat is a Windows program, a huge one with a learning curve so if you haven't use it before then it's not worthwhile now. It's anyway only an easier way to view data from the drive and it would be some detective work to see why yours doesn't go OP.
Google is your friend, or actually the search on this forum.
I found this forum.linuxcnc.org/ethercat/52997-ethercat-catio-module-help with what seems like a working config.
And you you should definitely do a
ethercat rescan
just to make sure the master's data about the client is up-to-date.
  • spincycle
  • spincycle
23 May 2025 08:51
Replied by spincycle on topic Bridgeport VMC760 retrofit

Bridgeport VMC760 retrofit

Category: Milling Machines

Not sure Langdons. I'll have to look at the manual.

Made some progress with the control panel today. Machined the panels on the router and welded up the frame. Just need to countersink the panels and tap the rear mount holes. Not shown are the monitor facia and rear panels. Should be off to powder coating next week. I'll start 3d printing the custom keys in the meantime. Pictures below.

Cheers,



 
 
 
 
 
  • H-S-W
  • H-S-W
23 May 2025 08:01
Replied by H-S-W on topic Index homing Heidenhain ls 403/exe602

Index homing Heidenhain ls 403/exe602

Category: Basic Configuration

stanki-used.com.ua/image/PASSPORT/CNC/LS-403_LS-403C.pdf

I have the "C" version of the scale.

From what i understand it should be possible to calculate the absolute position on the scale by traversing past two reference marks. See picture 4 on page 9.
  • Aciera
  • Aciera's Avatar
23 May 2025 07:39
Replied by Aciera on topic comp confusion

comp confusion

Category: LinuxCNC Documents

Yes, that is clearly a mistake.
Should probably be 'halcompile' and link to this man page:
linuxcnc.org/docs/html/man/man1/halcompile.1.html
  • besriworld
  • besriworld
23 May 2025 06:05

Developments on my Home built 5C CNC Lathe - Polar interp. and Live tooling

Category: Advanced Configuration

I’ve bought a hydraulic chuck closer for the lathe chuck, but in order to mount it onto the spindle shaft, I need to cut a thread on the spindle. After that, I’ll add an additional gear on the spindle, which will be connected by a belt to a second servo motor with a 1:2 gear ratio. The motor will be mounted on top of the spindle housing
  • MTate01
  • MTate01
23 May 2025 05:49
Replied by MTate01 on topic EtherCAT i/o board for spindle, estop and mpg

EtherCAT i/o board for spindle, estop and mpg

Category: EtherCAT

Did anyone have any luck configuring one of these? I followed the links on the first page to get the slave information, but mine seems to be stubbornly returning to PREOP E. here's my slave information so far:
<slave idx="1" type="generic" vid="0x00090588" pid="0x00109252" configPdos="false">
    <!--IMC IO MODEL with EtherCAT-->
    <syncManager idx="0" dir="out"/>
    <syncManager idx="1" dir="out"/>
    <syncManager idx="2" dir="out">
		<pdo idx="1600">
			<pdoEntry idx="7000" subIdx="01" bitLen="8" halPin="imcio-do0" halType="bit"/>
		</pdo>
	</syncManager>
    <syncManager idx="3" dir="in">
		<pdo idx="1a00">
			<pdoEntry idx="6000" subIdx="01" bitLen="8" halPin="imcio-di0" halType="bit"/>
		</pdo>
    <dcConf assignActivate="300" sync0Cycle="0"/>
  </slave>
  • MTate01
  • MTate01
23 May 2025 05:44
Replied by MTate01 on topic Unnamed CATIO-A Device Configuration (help!)

Unnamed CATIO-A Device Configuration (help!)

Category: EtherCAT

lcec_configgen resulted in a fairly similar output to what I had already configured.

From that additional post you linked, they found the config files for what seems to be a very similar IO board/device to mine, but the ESI (xml file) seems to be rather... convoluted?

I have attached it, but unfortunately didnt' reveal enough information for me to figure out anything new - and thus i'm still stuck on PREOP E. 

I'm also not sure how TwinCAT is supposed to work - but i'll keep playing with that and hopefully have some luck. maybe you could suggest which package I need? 

Here's my whole ethercat-conf.xml as a side note, in case you see something wrong with it:
[code]<masters>
 <master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
  <slave idx="0" type="generic" vid="00000A88" pid="0a880013" configPdos="true">
    <!-- Joint 0 -->
    <syncManager idx="0" dir="out">
    </syncManager>
    <syncManager idx="1" dir="out">
    </syncManager>
    <syncManager idx="2" dir="out">
      <pdo idx="1600">
        <pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32" />
        <pdoEntry idx="607a" subIdx="00" bitLen="32" halPin="target-position" halType="s32" />
        <pdoEntry idx="60b8" subIdx="00" bitLen="16" halPin="touchprobefunction0" halType="bit"/>
      </pdo>
      <pdo idx="1601">
        <pdoEntry idx="6081" subIdx="00" bitLen="32" halPin="profile-velocity" halType="u32"/>
        <pdoEntry idx="6083" subIdx="00" bitLen="32" halPin="target-accel" halType="u32" />
        <pdoEntry idx="6084" subIdx="00" bitLen="32" halPin="target-decel" halType="u32" />
        <pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>
      </pdo>
      <pdo idx="1602">
        <pdoEntry idx="60ff" subIdx="00" bitLen="32" halPin="target-velocity" halType="s32"/>
      </pdo>
    </syncManager>
    <syncManager idx="3" dir="in">
      <pdo idx="1a00">
        <pdoEntry idx="603f" subIdx="00" bitLen="16" halPin="errorcode" halType="bit" />
        <pdoEntry idx="6041" subIdx="00" bitLen="16" halPin="cia-statusword" halType="u32" />
        <pdoEntry idx="6061" subIdx="00" bitLen="8" halPin="opmode-display" halType="s32"/>
        <pdoEntry idx="6064" subIdx="00" bitLen="32" halPin="actual-position" halType="s32" />
        <pdoEntry idx="60b9" subIdx="00" bitLen="16" halPin="touchprobestat" halType="bit"/>
        <pdoEntry idx="60ba" subIdx="00" bitLen="32" halPin="touchprobe1pos" halType="s32"/>
        <pdoEntry idx="60fd" subIdx="00" bitLen="32" halPin="digitalinputs" halType="s32"/>
      </pdo>
      <pdo idx="1a01">
        <pdoEntry idx="606c" subIdx="00" bitLen="32" halPin="actual-velocity" halType="s32"/>
      </pdo>
    </syncManager>
    <dcConf assignActivate="300" sync0Cycle="1000000"/>
  </slave>
  <slave idx="1" type="generic" vid="0x00090588" pid="0x00109252" configPdos="false">
    <!--IMC IO MODEL with EtherCAT-->
    <syncManager idx="0" dir="out"/>
    <syncManager idx="1" dir="out"/>
    <syncManager idx="2" dir="out">
        <pdo idx="1600">
            <pdoEntry idx="7000" subIdx="01" bitLen="8" halPin="imcio-do0" halType="bit"/>
        </pdo>
    </syncManager>
    <syncManager idx="3" dir="in">
        <pdo idx="1a00">
            <pdoEntry idx="6000" subIdx="01" bitLen="8" halPin="imcio-di0" halType="bit"/>
        </pdo>
    <dcConf assignActivate="300" sync0Cycle="0"/>
  </slave>
 </master>
</masters>
 [/code]
  • meister
  • meister
23 May 2025 04:50
Replied by meister on topic How to Control a PWM Gripper

How to Control a PWM Gripper

Category: G&M Codes

exactly, the servo is configured as an analog output and can be controlled with values from -100 (open) to +100(closed).
net sig_motion_analog-out-00 <= motion.analog-out-00
net sig_motion_analog-out-00 => rio.gripper.position
  • theoneandonlyoreo
  • theoneandonlyoreo
23 May 2025 03:45
comp confusion was created by theoneandonlyoreo

comp confusion

Category: LinuxCNC Documents

This doesn't seem right.  Oddly, if you click on "comp", the description on the page is that of a comparator.

 
  • PCW
  • PCW's Avatar
23 May 2025 02:26

Issue getting XYYZ gantry to home (using 7i92t with 7i76u)

Category: Basic Configuration

I think you need to specify a home position that's some distance from the home/limit switch location

linuxcnc.org/docs/html/config/ini-homing.html#_home
Displaying 2476 - 2490 out of 25488 results.
Time to create page: 0.385 seconds
Powered by Kunena Forum