- Posts: 9
- Thank you received: 2
Leadshine io module and encoder module cannot enter OP mode correctly
3 years 6 months ago #269731
by whatawhiz
Replied by whatawhiz on topic Leadshine io module and encoder module cannot enter OP mode correctly
Thank you very much for your help.
Now I have mapped all the output PDOs in the XML configuration file. The encoder input module is already functioning properly. Unfortunately, the other two IO modules still cannot function properly.
I also checked the ESI file I found online and tried using sii_write to write the bin file converted by siitool, but it still doesn't work. After restarting the module, there will still be many unnecessary mappings when outputting PDOs.
Now I have mapped all the output PDOs in the XML configuration file. The encoder input module is already functioning properly. Unfortunately, the other two IO modules still cannot function properly.
I also checked the ESI file I found online and tried using sii_write to write the bin file converted by siitool, but it still doesn't work. After restarting the module, there will still be many unnecessary mappings when outputting PDOs.
Please Log in or Create an account to join the conversation.
3 years 6 months ago #269732
by whatawhiz
Replied by whatawhiz on topic Leadshine io module and encoder module cannot enter OP mode correctly
Thank you very much. My previous configuration file for the servo drive was written based on the configuration files from you and dbraun1981. They have helped me a lot.
Please Log in or Create an account to join the conversation.
3 years 6 months ago #269733
by whatawhiz
Replied by whatawhiz on topic Leadshine io module and encoder module cannot enter OP mode correctly
I'm giving up tinkering with this mess for now. Buying second-hand goods at a low price resulted in wasting more than ten hours searching for information everywhere, but it still couldn't be used. It's really a sad story.
I have ordered a set of Delta R1 series IO modules, just hope there won't be such strange issues anymore.
I'll paste the XML configuration file and the ESI file I found below. Hopefully, they can help those who encounter such problems in the future.
I have ordered a set of Delta R1 series IO modules, just hope there won't be such strange issues anymore.
I'll paste the XML configuration file and the ESI file I found below. Hopefully, they can help those who encounter such problems in the future.
Warning: Spoiler!
Code:
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<!-- <slave idx="0" type="generic" vid="00004321" pid="0x01500033" configPdos="false">
<syncManager idx="2" dir="out">
<pdo idx="1600">
<pdoEntry idx="6600" subIdx="01" bitLen="16" halPin="OUT" halType="u32"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1A00">
<pdoEntry idx="6100" subIdx="01" bitLen="32" halPin="encoder0-val" halType="s32"/>
<pdoEntry idx="6100" subIdx="02" bitLen="32" halPin="encoder1-val" halType="s32"/>
<pdoEntry idx="6100" subIdx="03" bitLen="32" halPin="encoder2-val" halType="s32"/>
</pdo>
<pdo idx="1A01">
<pdoEntry idx="6300" subIdx="01" bitLen="8" halPin="HighSpeed_IN0" halType="u32"/>
<pdoEntry idx="6300" subIdx="02" bitLen="8" halPin="ltc0_Finished" halType="u32"/>
<pdoEntry idx="6300" subIdx="03" bitLen="32" halPin="ltc0_Encoder0Val" halType="s32"/>
<pdoEntry idx="6300" subIdx="04" bitLen="32" halPin="ltc0_Encoder1Val" halType="s32"/>
<pdoEntry idx="6300" subIdx="05" bitLen="32" halPin="ltc0_Encoder2Val" halType="s32"/>
<pdoEntry idx="6301" subIdx="01" bitLen="8" halPin="HighSpeed_IN1" halType="u32"/>
<pdoEntry idx="6301" subIdx="02" bitLen="8" halPin="ltc1_Finished" halType="u32"/>
<pdoEntry idx="6301" subIdx="03" bitLen="32" halPin="ltc1_Encoder0Val" halType="s32"/>
<pdoEntry idx="6301" subIdx="04" bitLen="32" halPin="ltc1_Encoder1Val" halType="s32"/>
<pdoEntry idx="6301" subIdx="05" bitLen="32" halPin="ltc1_Encoder2Val" halType="s32"/>
</pdo>
<pdo idx="1A02">
<pdoEntry idx="6302" subIdx="01" bitLen="8" halPin="HighSpeed_IN2" halType="u32"/>
<pdoEntry idx="6302" subIdx="02" bitLen="8" halPin="ltc2_Finished" halType="u32"/>
<pdoEntry idx="6302" subIdx="03" bitLen="32" halPin="ltc2_Encoder0Val" halType="s32"/>
<pdoEntry idx="6302" subIdx="04" bitLen="32" halPin="ltc2_Encoder1Val" halType="s32"/>
<pdoEntry idx="6302" subIdx="05" bitLen="32" halPin="ltc2_Encoder2Val" halType="s32"/>
<pdoEntry idx="6303" subIdx="01" bitLen="8" halPin="HighSpeed_IN3" halType="u32"/>
<pdoEntry idx="6303" subIdx="02" bitLen="8" halPin="ltc3_Finished" halType="u32"/>
<pdoEntry idx="6303" subIdx="03" bitLen="32" halPin="ltc3_Encoder0Val" halType="s32"/>
<pdoEntry idx="6303" subIdx="04" bitLen="32" halPin="ltc3_Encoder1Val" halType="s32"/>
<pdoEntry idx="6303" subIdx="05" bitLen="32" halPin="ltc3_Encoder2Val" halType="s32"/>
</pdo>
<pdo idx="1A03">
<pdoEntry idx="6500" subIdx="01" bitLen="8" halPin="HighSpeedOut0_Read" halType="u32"/>
<pdoEntry idx="6500" subIdx="02" bitLen="16" halPin="Cmp0_FIFO_Exist" halType="u32"/>
<pdoEntry idx="6500" subIdx="03" bitLen="16" halPin="Cmp0_Finished_Number" halType="u32"/>
<pdoEntry idx="6500" subIdx="04" bitLen="32" halPin="Cmp0_Current_CmpData" halType="s32"/>
<pdoEntry idx="6501" subIdx="01" bitLen="8" halPin="HighSpeedOut1_Read" halType="u32"/>
<pdoEntry idx="6501" subIdx="02" bitLen="16" halPin="Cmp1_FIFO_Exist" halType="u32"/>
<pdoEntry idx="6501" subIdx="03" bitLen="16" halPin="Cmp1_Finished_Number" halType="u32"/>
<pdoEntry idx="6501" subIdx="04" bitLen="32" halPin="Cmp1_Current_CmpData" halType="s32"/>
<pdoEntry idx="6502" subIdx="01" bitLen="8" halPin="HighSpeedOut2_Read" halType="u32"/>
<pdoEntry idx="6502" subIdx="02" bitLen="16" halPin="Cmp2_FIFO_Exist" halType="u32"/>
<pdoEntry idx="6502" subIdx="03" bitLen="16" halPin="Cmp2_Finished_Number" halType="u32"/>
<pdoEntry idx="6502" subIdx="04" bitLen="32" halPin="Cmp2_Current_CmpData" halType="s32"/>
</pdo>
<pdo idx="1A04">
<pdoEntry idx="6503" subIdx="01" bitLen="8" halPin="buff0-en" halType="u32"/>
<pdoEntry idx="6503" subIdx="02" bitLen="8" halPin="buff1-en" halType="u32"/>
<pdoEntry idx="6503" subIdx="03" bitLen="8" halPin="buff2-en" halType="u32"/>
<pdoEntry idx="6503" subIdx="04" bitLen="16" halPin="buff0-space" halType="u32"/>
<pdoEntry idx="6503" subIdx="05" bitLen="16" halPin="buff1-space" halType="u32"/>
<pdoEntry idx="6503" subIdx="06" bitLen="16" halPin="buff2-space" halType="u32"/>
</pdo>
</syncManager>
</slave> -->
<slave idx="0" type="generic" vid="00004321" pid="0x01100063" configPdos="false">
<syncManager idx="2" dir="out">
<pdo idx="1602">
<pdoEntry idx="7000" subIdx="01" bitLen="16" halType="complex">
<complexEntry bitLen="1" halPin="out-00" halType="bit"/>
<complexEntry bitLen="1" halPin="out-01" halType="bit"/>
<complexEntry bitLen="1" halPin="out-02" halType="bit"/>
<complexEntry bitLen="1" halPin="out-03" halType="bit"/>
<complexEntry bitLen="1" halPin="out-04" halType="bit"/>
<complexEntry bitLen="1" halPin="out-05" halType="bit"/>
<complexEntry bitLen="1" halPin="out-06" halType="bit"/>
<complexEntry bitLen="1" halPin="out-07" halType="bit"/>
<complexEntry bitLen="1" halPin="out-08" halType="bit"/>
<complexEntry bitLen="1" halPin="out-09" 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"/>
</pdoEntry>
<pdoEntry idx="7000" subIdx="02" bitLen="16" halType="complex">
<complexEntry bitLen="1" halPin="out-16" halType="bit"/>
<complexEntry bitLen="1" halPin="out-17" halType="bit"/>
<complexEntry bitLen="1" halPin="out-18" halType="bit"/>
<complexEntry bitLen="1" halPin="out-19" halType="bit"/>
<complexEntry bitLen="1" halPin="out-20" halType="bit"/>
<complexEntry bitLen="1" halPin="out-21" halType="bit"/>
<complexEntry bitLen="1" halPin="out-22" halType="bit"/>
<complexEntry bitLen="1" halPin="out-23" halType="bit"/>
<complexEntry bitLen="1" halPin="out-24" halType="bit"/>
<complexEntry bitLen="1" halPin="out-25" halType="bit"/>
<complexEntry bitLen="1" halPin="out-26" halType="bit"/>
<complexEntry bitLen="1" halPin="out-27" halType="bit"/>
<complexEntry bitLen="1" halPin="out-28" halType="bit"/>
<complexEntry bitLen="1" halPin="out-29" halType="bit"/>
<complexEntry bitLen="1" halPin="out-30" halType="bit"/>
<complexEntry bitLen="1" halPin="out-31" halType="bit"/>
</pdoEntry>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1A00">
<pdoEntry idx="6000" subIdx="01" bitLen="1" halPin="switch-1" halType="bit"/>
<pdoEntry idx="6000" subIdx="02" bitLen="1" halPin="switch-2" halType="bit"/>
<pdoEntry idx="6000" subIdx="03" bitLen="1" halPin="switch-3" halType="bit"/>
<pdoEntry idx="6000" subIdx="04" bitLen="1" halPin="switch-4" halType="bit"/>
<pdoEntry idx="6000" subIdx="05" bitLen="1" halPin="switch-5" halType="bit"/>
<pdoEntry idx="6000" subIdx="06" bitLen="1" halPin="switch-6" halType="bit"/>
<pdoEntry idx="6000" subIdx="07" bitLen="1" halPin="switch-7" halType="bit"/>
<pdoEntry idx="6000" subIdx="08" bitLen="1" halPin="switch-8" halType="bit"/>
</pdo>
<pdo idx="1A03">
<pdoEntry idx="6030" subIdx="01" bitLen="32" halPin="info-1" halType="u32"/>
<pdoEntry idx="6030" subIdx="02" bitLen="16" halPin="info-2" halType="u32"/>
</pdo>
</syncManager>
</slave>
<slave idx="1" type="generic" vid="00004321" pid="0x01100053" configPdos="false">
<syncManager idx="2" dir="out">
<pdo idx="1601">
<pdoEntry idx="7010" subIdx="01" bitLen="1" halPin="led-1" halType="bit"/>
<pdoEntry idx="7010" subIdx="02" bitLen="1" halPin="led-2" halType="bit"/>
<pdoEntry idx="7010" subIdx="03" bitLen="1" halPin="led-3" halType="bit"/>
<pdoEntry idx="7010" subIdx="04" bitLen="1" halPin="led-4" halType="bit"/>
<pdoEntry idx="7010" subIdx="05" bitLen="1" halPin="led-5" halType="bit"/>
<pdoEntry idx="7010" subIdx="06" bitLen="1" halPin="led-6" halType="bit"/>
<pdoEntry idx="7010" subIdx="07" bitLen="1" halPin="led-7" halType="bit"/>
<pdoEntry idx="7010" subIdx="08" bitLen="1" halPin="led-8" halType="bit"/>
</pdo>
<pdo idx="1602">
<pdoEntry idx="7020" subIdx="01" bitLen="8" halPin="count" halType="u32"/>
<pdoEntry idx="7020" subIdx="02" bitLen="8" halPin="cmd" halType="u32"/>
<pdoEntry idx="7020" subIdx="03" bitLen="16" halPin="motor-data" halType="u32"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1a00">
<pdoEntry idx="6000" subIdx="01" bitLen="16" halType="complex">
<complexEntry bitLen="1" halPin="in-00" halType="bit"/>
<complexEntry bitLen="1" halPin="in-01" halType="bit"/>
<complexEntry bitLen="1" halPin="in-02" halType="bit"/>
<complexEntry bitLen="1" halPin="in-03" halType="bit"/>
<complexEntry bitLen="1" halPin="in-04" halType="bit"/>
<complexEntry bitLen="1" halPin="in-05" halType="bit"/>
<complexEntry bitLen="1" halPin="in-06" halType="bit"/>
<complexEntry bitLen="1" halPin="in-07" halType="bit"/>
<complexEntry bitLen="1" halPin="in-08" halType="bit"/>
<complexEntry bitLen="1" halPin="in-09" 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"/>
</pdoEntry>
<pdoEntry idx="6000" subIdx="02" bitLen="16" halType="complex">
<complexEntry bitLen="1" halPin="in-16" halType="bit"/>
<complexEntry bitLen="1" halPin="in-17" halType="bit"/>
<complexEntry bitLen="1" halPin="in-18" halType="bit"/>
<complexEntry bitLen="1" halPin="in-19" halType="bit"/>
<complexEntry bitLen="1" halPin="in-20" halType="bit"/>
<complexEntry bitLen="1" halPin="in-21" halType="bit"/>
<complexEntry bitLen="1" halPin="in-22" halType="bit"/>
<complexEntry bitLen="1" halPin="in-23" halType="bit"/>
<complexEntry bitLen="1" halPin="in-24" halType="bit"/>
<complexEntry bitLen="1" halPin="in-25" halType="bit"/>
<complexEntry bitLen="1" halPin="in-26" halType="bit"/>
<complexEntry bitLen="1" halPin="in-27" halType="bit"/>
<complexEntry bitLen="1" halPin="in-28" halType="bit"/>
<complexEntry bitLen="1" halPin="in-29" halType="bit"/>
<complexEntry bitLen="1" halPin="in-30" halType="bit"/>
<complexEntry bitLen="1" halPin="in-31" halType="bit"/>
</pdoEntry>
</pdo>
</syncManager>
</slave>
</master>
</masters>
Please Log in or Create an account to join the conversation.
3 years 6 months ago #269751
by rodw
Replied by rodw on topic Leadshine io module and encoder module cannot enter OP mode correctly
Did you list the sdos? Maybe something there needs to be set.
Having documentation is a blessing!
Don't talk to me about second hand I/Os. I bought some beckhoff io module from another forum user I have not tested yet. But when i looked, the xml for them was only about 10 lines...
Good luck!
You keep the IO modules and send me the encoder modules
Having documentation is a blessing!
Don't talk to me about second hand I/Os. I bought some beckhoff io module from another forum user I have not tested yet. But when i looked, the xml for them was only about 10 lines...
Good luck!
You keep the IO modules and send me the encoder modules
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds