Advanced Search

Search Results (Searched for: )

  • AdelRTP
  • AdelRTP
28 Jun 2025 19:40
Replied by AdelRTP on topic How to write multipule data ( byte) mesambccc

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

Yes the second work perfect but when i want to add W_REGISTERS more then 2 byte i get hm2_modbus.0: error: Build data frame failed in write_flush for command 15, disabling

<command device="mrje70a" function="W_REGISTERS" address="0x2801">
<description>Write Point Table Data</description>
<pin name="wnumentries" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wposition" modbustype="U_CDAB" haltype="HAL_U32"/>
<pin name="wspeed" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wacceleration" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wdeceleration" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wdwell" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wsubfunction" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="wmcode" modbustype="U_AB" haltype="HAL_U32"/>
</command>

Idont know how to use debug
  • jimmyrig
  • jimmyrig
28 Jun 2025 19:36
Replied by jimmyrig on topic Blow back plasma torch start timing problem

Blow back plasma torch start timing problem

Category: Plasma & Laser

Agreed, OP all you need to do is do a find/replace for m3 and replace it with g4 p15000 m3 (15 sec in millisecond)

G4 and m3 may need to be on different lines.

If that works then edit your post to include that.
  • PCW
  • PCW's Avatar
28 Jun 2025 19:33

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

This is different from your first example:

<command device="mrje70a" function="W_REGISTERS" address="0x6099" >
<pin name= "hnumentries" modbustype="U_ABCD" haltype="HAL_U32" resend="1"/>

Do you have the same error?

Have you tried setting hm2_modbus's debug value to get a more detailed error? 
  • kubes
  • kubes
28 Jun 2025 19:12
Replied by kubes on topic Probing alert on missing parameters

Probing alert on missing parameters

Category: QtPyVCP

The loaded tool impacts the feed rate?

It will prompt later in the flow to load the correct tool. Based on the settings.

Why does it say 0 feed rate?

Lastly, how do I tell what version of PB I have installed?
  • AdelRTP
  • AdelRTP
28 Jun 2025 18:49
Replied by AdelRTP on topic How to write multipule data ( byte) mesambccc

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

This is my complete code
<?xml version="1.0" encoding="UTF-8"?>
<mesamodbus baudrate="115200" parity="E" stopbits="1">
<devices>
<device address="0x02" name="mrje70a"/>
</devices>

<initlist>

</initlist>

<commands>

<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2b01" count ="2" name="cfp"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2b0f" count ="1" name="volt"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2b2d" count ="1" name="power"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2001" count ="2" name="rpa01"/>
<command device="mrje70a" function="R_REGISTERS" address="0x2801">
<pin name = "numbreent" modbustype="U_AB" haltype="HAL_U32"/>
<pin name = "position" modbustype="U_CDAB" haltype="HAL_U32" scale ="0"/>
<pin name = "speed" modbustype="U_AB" haltype="HAL_U32"/>
<pin name = "acce" modbustype="U_AB" haltype="HAL_U32"/>
<pin name = "dec" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="dwell" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="subfunc" modbustype="U_AB" haltype="HAL_U32"/>
<pin name="mcode" modbustype="U_AB" haltype="HAL_U32"/>
</command>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x1010" count ="11" name="eeprom"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2c12" count ="9" name="input"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6041" count ="1" name="status"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6040" count ="1" name="rcontrolword"/>
<command device="mrje70a" modbustype="S_AB" haltype="HAL_S32" function="R_REGISTERS" address="0x6061" count ="1" name="mode"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x2d60" count ="1" name="rtargetpt"/>
<command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6099" count ="5" name="homingspeed"/>

<command device="mrje70a" function="W_REGISTERS" modbustype="U_AB" haltype="HAL_U32" address="0x6040" count="1" name="ctrlwordwt" resend="1"/>
<command device="mrje70a" function="W_REGISTERS" modbustype="S_AB" haltype="HAL_S32" address="0x6060" count="1" name="wopermode" resend="1"/>
<command device="mrje70a" function="W_REGISTERS" modbustype="U_AB" haltype="HAL_U32" address="0x2d60" count="1" name="wtargetpt" resend="1"/>

<command device="mrje70a" function="W_REGISTERS" address="0x6099" >
<pin name= "hnumentries" modbustype="U_ABCD" haltype="HAL_U32" resend="1"/>

</command>

</commands>
</mesamodbus>


as you see when i m using W_REGISTERS white registers 2 bytes (U_AB) it s work but i dont know how to us it with registers have 4 bytes or more
  • Marko6
  • Marko6
28 Jun 2025 18:05

HAL CiA402 Drive Interface for Can Bus,Ethercat etc...

Category: HAL

Hi everyone.

Does anyone have CSV mode working? I'm running CSP on XYZ without any problems, but CSV on the spindle is just running the drive (Delta C2000 + Ethercat + Encoder) and I can't send the speed/direction signal.

I've spent two days trying to get it running, but to no avail. Also, there is no sample hal/ini file that explains CSV and the spindle.

Thank you. BR,
Pavel
  • AdelRTP
  • AdelRTP
28 Jun 2025 17:34
Replied by AdelRTP on topic How to write multipule data ( byte) mesambccc

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

<?xml version="1.0" encoding="UTF-8"?>
<mesamodbus baudrate="115200" parity="E" stopbits="1">
  <devices>
      <device address="0x02" name="mrje70a"/>
  </devices>
  <initlist>
  </initlist>
  <commands>
    <command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6099" count ="5" name="homingread"/>  
    <command device="mrje70a" function="W_REGISTERS" modbustype="U_AB" haltype="HAL_U32" address="0x6099" count="5" name="hommingwrite"/>
 
    <!--<command device="mrje70a" function="W_REGISTERS" address="0x6099" >
       <pin name= "hnumentries" modbustype="U_AB" haltype="HAL_U32"    value="02"/>
       <pin name= "hspeedss" modbustype="U_CDAB" haltype="HAL_U32"/>
       <pin name= "hspeedsz" modbustype="U_CDAB" haltype="HAL_U32"/>
    </command>-->   
</commands>    
</mesamodbus>
  • Silverback
  • Silverback
28 Jun 2025 17:31 - 28 Jun 2025 17:31

[qt_dragon_hd] auto tool probe and gcode display issue

Category: Qtvcp

I am using 2.9.4

I attached the files I *think* are needed. If something else is needed, let me know.

 

File Attachment:

File Name: LCNC.zip
File Size:8 KB
  • PCW
  • PCW's Avatar
28 Jun 2025 17:14
  • AdelRTP
  • AdelRTP
28 Jun 2025 16:58

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

this is my code for reading and writing using MESAMBCCC
I can read and write data without problem in case i use one register but when i try to write on a multiple registers i faced a lot of problems i captured some of them on the attachments
<?xml version="1.0" encoding="UTF-8"?>
<mesamodbus baudrate="115200" parity="E" stopbits="1">
  <devices>
      <device address="0x02" name="mrje70a"/>
  </devices>
  <initlist>
  </initlist>
  <commands>
    <command device="mrje70a" modbustype="U_AB" haltype="HAL_U32" function="R_REGISTERS" address="0x6099" count ="5" name="homingread"/>  
    <command device="mrje70a" function="W_REGISTERS" modbustype="U_AB" haltype="HAL_U32" address="0x6099" count="5" name="hommingwrite"/>
 
    <!--<command device="mrje70a" function="W_REGISTERS" address="0x6099" >
       <pin name= "hnumentries" modbustype="U_AB" haltype="HAL_U32"    value="02"/>
       <pin name= "hspeedss" modbustype="U_CDAB" haltype="HAL_U32"/>
       <pin name= "hspeedsz" modbustype="U_CDAB" haltype="HAL_U32"/>
    </command>-->   
</commands>    
</mesamodbus>
 
  • PCW
  • PCW's Avatar
28 Jun 2025 16:02

Error problem hm2 5i25 7i77 analogout scalemax not found ?

Category: Driver Boards

The stepgen is in the FPGA card so it will show up regardless of whether
the daughtercard is present or not (the daughter card just buffers the stepgen signals)
 
  • Marko6
  • Marko6
28 Jun 2025 15:55

Implementing Spindle Homing for DELTA C2000 Plus (In)correctly?

Category: EtherCAT

Hi stenly,

could you tell me how you got on with it? Also, if you have a working CSV - Ethercat, I would be very happy if you could send it to me. I have some problems getting it to work.

I can get the drive turned on (C2000 + EC01 + PG01L) , but I can't set the speed. I can't find anything that works.

Thanks. BR,
Pavel
  • GDTH
  • GDTH's Avatar
28 Jun 2025 15:54

Error problem hm2 5i25 7i77 analogout scalemax not found ?

Category: Driver Boards

The thing is, it worked before. So i would be weird that i would need to change the jumpers.

To make some progress i swaped to a different computer with a 6i25. This one works with the cards. So the problem is not with the 7i77 or 7i76.
Im planning to put the 5i25 into a different pc, one that is a bit newer. I have reason to believe that the pci slot is 100%.

However, like you said it can see the stepgen but not the analog. i also found that weird.

Thanks :)
Displaying 14791 - 14803 out of 14803 results.
Time to create page: 0.438 seconds
Powered by Kunena Forum