- Posts: 423
- Thank you received: 93
biesse rover 316 retrofit
- Masiwood123
- Topic Author
- Offline
- Platinum Member
-
Less
More
4 years 9 months ago #233582
by Masiwood123
Replied by Masiwood123 on topic biesse rover 316 retrofit
or you mean to make hal file for m6 command toolchange?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
4 years 9 months ago #233586
by tommylight
Replied by tommylight on topic biesse rover 316 retrofit
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m62-m65
and section 1.2 here
linuxcnc.org/docs/html/config/core-components.html#sec:motion
so in hal it is
And in gcode
M64 P1 would turn on solenoid-dva
M64 P0 solenoid-jedan
etc.
and section 1.2 here
linuxcnc.org/docs/html/config/core-components.html#sec:motion
so in hal it is
Code:
net solenoid-jedan motion.digital-out-00 hm2_7i92.0.7i66.0.2.output-00
net solenoid-dva motion.digital-out-01 hm2_7i92.0.7i66.0.2.output-01
...
M64 P1 would turn on solenoid-dva
M64 P0 solenoid-jedan
etc.
Please Log in or Create an account to join the conversation.
- Masiwood123
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 423
- Thank you received: 93
4 years 9 months ago #233590
by Masiwood123
Replied by Masiwood123 on topic biesse rover 316 retrofit
Yes i have read about mcode many times maybe i missed something but roughly clear. section `` motion`` something small, I do not know if and how to change the num_dio to increase the number of outputs.. and whether it is done, in INI file? second question..do I write these commands in the existing main Hal file about where
? certainly every school is paid and beer is by the way;))
Please Log in or Create an account to join the conversation.
- Masiwood123
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 423
- Thank you received: 93
4 years 9 months ago #233593
by Masiwood123
Replied by Masiwood123 on topic biesse rover 316 retrofit
BTW motion.digital-out-00 - (bit, out) These pins (00, 01, 02, 03 or more if configured) are controlled by the M62-65
Because i have motion digital out 00 and on 7i77 the same on 7i66..how M64 will recognize what to run on MDI M64 P0
Because i have motion digital out 00 and on 7i77 the same on 7i66..how M64 will recognize what to run on MDI M64 P0
Please Log in or Create an account to join the conversation.
- Masiwood123
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 423
- Thank you received: 93
4 years 9 months ago #233624
by Masiwood123
Replied by Masiwood123 on topic biesse rover 316 retrofit
Tom thank you it is working with one output from 7i66 i trayed:))I can't find how to load more outputs than 4. there is no loadrt motmod in the Hal file
([num_dio = 1-64] num_aio = 1-16]) .. as well as setting the outputs that are on 7i77 since same number 00, 01 etc when I type in MDi m64 p0 how will it find out whether to activate po with 7i77 or 7i66?
([num_dio = 1-64] num_aio = 1-16]) .. as well as setting the outputs that are on 7i77 since same number 00, 01 etc when I type in MDi m64 p0 how will it find out whether to activate po with 7i77 or 7i66?
Please Log in or Create an account to join the conversation.
- Masiwood123
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 423
- Thank you received: 93
4 years 9 months ago #233646
by Masiwood123
Replied by Masiwood123 on topic biesse rover 316 retrofit
i pass that writing num_dio=40 in hal on line EMCMOT and fil all outputs on 7i66....now cant figure how to use outputs on 7i77? because they have the same name number as on 7i66? is any way to put all that drilling outputs to single file that M6 can control it by T numbers example m6 T1- execute (M64 P0) or (m62 P0+ synchronize motion)) than when change M6T2 or M6T9 no matter ..to execute M65 P0 and continue next to M62-65 P1...?
Please Log in or Create an account to join the conversation.
Time to create page: 0.244 seconds