Weiler DZ26 Millturn Conversion

More
25 Jun 2025 13:41 #330861 by PCW
Replied by PCW on topic Weiler DZ26 Millturn Conversion
 To use mesaflash to discover sserial devices, you would:

sudo mesaflash --device 5i25 --sserial

if you don't know the possible mesaflash commands,

mesaflash --help

From the hostmot2 manual page:


           sserial_port_N (N = 0 .. 3) [optional, default: 00000000 for all
           ports]
               Up to 32 Smart Serial devices can be connected to a Mesa
               Anything I/O board, depending on the firmware used and the
               number of physical connections on the board. These are arranged
               in 1-4 ports (N) of 1 to 8 channels. Some Smart Serial (SSLBP)
               cards offer more than one load-time configuration, for example
               all inputs, or all outputs, or offering additional analogue
               input on some digital pins. To set the modes for port 0 use for
               example sserial_port_0=0120xxxx. A "0" in the string sets the
               corresponding channel to mode 0, a "1" to mode 1, and so on up
               to mode 9. An "x" in any position disables that channel and
               makes the corresponding FPGA pins available as GPIO.
The string
               can be up to 8 characters long, and if it defines more modes
               than there are channels on the port then the extras are
               ignored. Channel numbering is left to right so the example
               above would set sserial device 0.0 to mode 0, 0.1 to mode 1,
               0.2 to mode 2, 0.3 to mode 0 and disables channels 0.4 onwards.




 
 

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

More
26 Jun 2025 07:22 #330886 by MacKaye
Replied by MacKaye on topic Weiler DZ26 Millturn Conversion
Thank you for your pointers in the right direction. Helps a lot.

Unfortunately the 7i84 still does not report back. I just discovered that jumper w4 needs to be removed, even though it's not mentioned anywhere. I've been running a simple half file and use your suggested mesaflash prompt to check available serial devices. Is there something else I can do?

loadrt hostmot2
loadrt hm2_pci config=sserial_port_0=000xxxxx

loadrt threads name1=servo-thread period=1000000

addf hm2_5i25.0.read servo-thread
addf hm2_5i25.0.write servo-thread
addf hm2_5i25.0.pet_watchdog servo-thread

start

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

More
26 Jun 2025 13:26 - 26 Jun 2025 13:29 #330893 by PCW
Replied by PCW on topic Weiler DZ26 Millturn Conversion
W4 is not used on the 7I84U, its position does not matter.
(note that the 7I84U was tested with the as shipped jumper settings)

What LEDs are illuminated on the 7I84U when the system is powered
(but linuxCNC not running?)

You should have 2 yellow LEDs and 1 red LED illuminated. If not, 
there is a power issue.

Do you have both FIELDA and FIELDB voltages applied? 

 
Last edit: 26 Jun 2025 13:29 by PCW.

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

Moderators: piasdom
Time to create page: 0.089 seconds
Powered by Kunena Forum