Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
21 Apr 2025 09:54

After homing X and Y, can I auto move to a non 0,0 location?

Category: General LinuxCNC Questions

See how you go with the position.

Regards shared himing switches, there is a pin joint.n.is_homing ot similar (check man motion).
If you and2 that with your physical limit switch and use the output to your homing input, the non homing joint will ignore the switch input.
  • rodw
  • rodw's Avatar
21 Apr 2025 09:48

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

Seems what I expected. 
What happens if you change bitlen to 32 and add ports 9 to 16?
You would need to get rid of the bitlen=8 line too.
  • bkt
  • bkt's Avatar
21 Apr 2025 09:12

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

these seems to work ... But I'm in remote so can not verify hardware result ....  halshow show all work correctly .... only never see op-state of lcsc ... but work on demo-sim-classicladder .... never check if on sim lcec go on op-state or not .....
<masters>
<master idx="0" appTimePeriod="8000000" refClockSyncCycles="1">  
    <slave idx="0" type="generic" vid="0x00000b3d" pid="0x29c9f7b1" name="D1">
      <!--S1-M20-->
      <syncManager idx="0" dir="in"/>
      <syncManager idx="1" dir="out"/>
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
          <!--Output Data-->
          <pdoEntry idx="7000" subIdx="01" bitLen="16" halType="complex">
            <complexEntry bitLen="1" halPin="out-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-8" halType="bit"/>
            <complexEntry bitLen="8"/>
          </pdoEntry>
      </pdo>
      <pdo idx="1601">
          <!--Output Data-->
          <pdoEntry idx="7010" subIdx="01" bitLen="16" halType="complex">
            <complexEntry bitLen="1" halPin="out-9" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="out-16" halType="bit"/>
            <complexEntry bitLen="8"/>
          </pdoEntry>
      </pdo>
      </syncManager>
      <syncManager idx="3" dir="in">
        <pdo idx="1a00">
          <!--Input Data-->
          <pdoEntry idx="6000" subIdx="01" bitLen="16" halType="complex">
            <complexEntry bitLen="1" halPin="in-1" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-2" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-3" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-4" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-5" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-6" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-7" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-8" halType="bit"/>
            <complexEntry bitLen="8"/>
          </pdoEntry>
      </pdo>
        <pdo idx="1a01">
          <!--Input Data-->
          <pdoEntry idx="6010" subIdx="01" bitLen="16" halType="complex">
            <complexEntry bitLen="1" halPin="in-9" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-10" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-11" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-12" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-13" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-14" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-15" halType="bit"/>
            <complexEntry bitLen="1" halPin="in-16" halType="bit"/>
            <complexEntry bitLen="8"/>
          </pdoEntry>
      </pdo>
      </syncManager>
    </slave>
  </master>
</masters>
  • bkt
  • bkt's Avatar
21 Apr 2025 08:24

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

i Try to use these config and seems to work ...
<masters>
<master idx="0" appTimePeriod="8000000" refClockSyncCycles="1">  
    <slave idx="0" type="generic" vid="0x00000b3d" pid="0x29c9f7b1" name="D1">
      <!--S1-M20-->
      <syncManager idx="0" dir="in"/>
      <syncManager idx="1" dir="out"/>
      <syncManager idx="2" dir="out">
        <pdo idx="1600">
          <!--Output Data-->
          <pdoEntry idx="7000" subIdx="01" bitLen="8" halPin="out1" halType="u32"/>
      </pdo>
      <pdo idx="1601">
          <!--Output Data-->
          <pdoEntry idx="7010" subIdx="01" bitLen="8" halPin="out2" halType="u32"/>
      </pdo>
      </syncManager>
      <syncManager idx="3" dir="in">
        <pdo idx="1a00">
          <!--Input Data-->
          <pdoEntry idx="6000" subIdx="01" bitLen="8" halPin="in1" halType="u32"/>
      </pdo>
        <pdo idx="1a01">
          <!--Input Data-->
          <pdoEntry idx="6010" subIdx="01" bitLen="8" halPin="in2" halType="u32"/>
      </pdo>
      </syncManager>
    </slave>
  </master>
</masters>

no w try to divide byte to bit .... hope it work

 
  • bkt
  • bkt's Avatar
21 Apr 2025 08:10

First time to try build my xml for not listed ethercat in-out component

Category: EtherCAT

Please post the output of lcec_configgen.


is these ..... as you can see little bit too long ...

File Attachment:

File Name: S1-M20.xml
File Size:389 KB
Displaying 17071 - 17075 out of 17075 results.
Time to create page: 1.536 seconds
Powered by Kunena Forum