How to monitor OP mode in Panasonic A6B Ethercat

More
2 years 8 months ago #293431 by tommylight

The modules themselves know and stop working, but that's utterly invisible in LinuxCNC.
:(
The following user(s) said Thank You: marq_torque

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

More
2 years 8 months ago - 2 years 8 months ago #293442 by TimP
this is my ethercat conf, you can take a look at slave 0

also this shouldn't be like this###################################################################
addf lcec.read-all servo-thread
addf lcec.write-all servo-thread


addf motion-command-handler servo-thread
addf motion-controller servo-thread

addf lcec.write-all servo-thread should be at the end, after all others addf, smt like this, i also group them, 1st load than addf, and after this nets and set pins, i don't know does it make difference but oldies says it does 


loadrt hal_parport cfg="0x378 out"
loadrt stepgen step_type=0,0,0
loadrt pwmgen output_type=1###################################################################
addf lcec.read-all servo-thread

addf motion-command-handler servo-thread
addf motion-controller servo-thread

addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf pwmgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread

#addf stepgen.capture-position servo-thread
#addf motion-command-handler servo-thread
#addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
addf pwmgen.update servo-threadaddf lcec.write-all servo-thread

 setp parport.0.reset-time 3500
Last edit: 2 years 8 months ago by TimP.
The following user(s) said Thank You: marq_torque

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

More
2 years 8 months ago #293448 by TimP
I am using i3 gigabyte motherboard. No ethercat Switch. Using parallel port for I/O

I thought main idea of EtherCAT is to use it over ethernet port, maybe you can get network card or other motherboard with ethernet port on it?

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

More
2 years 8 months ago #293532 by marq_torque
Hey TimP,

Sorry, I created Misunderstanding, Motherboard has Ethernet port. "No ethercat switch" By that i mean I'm not using any Beckhoff IO Module, I'm using parallel port for IO

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

More
2 years 8 months ago #293533 by marq_torque
Yes, I'm trying to understand xml file parameters. I'm checking with this.

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

More
2 years 8 months ago #293534 by scottlaird
For what it's worth, "parallel port" means something very different in this context. It's the 25-pin connector used to talk to pre-USB printers. Once upon a time, it was also the most common (only?) way for LinuxCNC to talk to CNC hardware. It's kind of the opposite end of the spectrum from EtherCAT.

You're saying that your Panasonic A6B is connected directly to the motherboard's Ethernet port?

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

Time to create page: 0.331 seconds
Powered by Kunena Forum