Weiler DZ26 Millturn Conversion

More
1 year 4 months ago #330830 by PCW
Replied by PCW on topic Weiler DZ26 Millturn Conversion
Should be something like:

sserial_port_0=000xxxxx

or

sserial_port_0=002xxxxx

Assuming you want the 7I84 to run in mode 2.

There is no sserial_port_1 in 7i77x2 configurations
(there is only sserial_port_0 with 6 channels, 3 for the first 7I77 and 3 for the second)
The following user(s) said Thank You: MacKaye

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

More
1 year 4 months ago #330856 by MacKaye
Somehow i just lust my long winded reply to your suggestion...
short form: I would be happy to find some form of documentation to get that sserial port config done. .9serial and hostmot2 documentation don´t help me at all unforuntately

"sserial_port_0=0000000F" should open up channel 0-2 for 7i77 in mode 0 and 3 for 7i84U in Mode 0

no sserial device answers to

"show param hm2_5i25.0.sserial.port-0.device-count"

i am pretty much out of my depth setting up that smart serial connection

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

More
1 year 4 months ago #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
1 year 4 months ago #330886 by MacKaye
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
1 year 4 months ago - 1 year 4 months ago #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: 1 year 4 months ago by PCW.
The following user(s) said Thank You: MacKaye

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

More
1 year 4 months ago #331027 by MacKaye
thanks, i still don´t exactly know where the problem was, but i reflashed the 5i25_7i77x2 bitfile again and it just works..

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

Time to create page: 0.061 seconds
Powered by Kunena Forum