Loadrt motmod and I/O Pins
- Holzwurm56
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 0
29 Jan 2017 19:08 - 29 Jan 2017 19:16 #86921
by Holzwurm56
Loadrt motmod and I/O Pins was created by Holzwurm56
Hello,
i need more than 4 outputpins. Can i create more outputpins with the command:
loadrt motmod [num_dio=16] ?
Thanks
Hans
i need more than 4 outputpins. Can i create more outputpins with the command:
loadrt motmod [num_dio=16] ?
Thanks
Hans
Last edit: 29 Jan 2017 19:16 by Holzwurm56.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17869
- Thank you received: 4776
29 Jan 2017 19:32 - 29 Jan 2017 19:37 #86923
by PCW
Replied by PCW on topic Loadrt motmod and I/O Pins
Yes, the current LinuxCNC version (2.7.8) supports up to 64 AIO and 64 DIO pins
man motion
for available motmod options
Also the brackets are just to indicate that a parameter is optional so the added token
to the "loadrt motmod" line would just be num_dio=16
man motion
for available motmod options
Also the brackets are just to indicate that a parameter is optional so the added token
to the "loadrt motmod" line would just be num_dio=16
Last edit: 29 Jan 2017 19:37 by PCW.
Please Log in or Create an account to join the conversation.
- Holzwurm56
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 0
29 Jan 2017 20:03 #86925
by Holzwurm56
Replied by Holzwurm56 on topic Loadrt motmod and I/O Pins
Hello,
had i to write the complete loadrt motmod syntax or is "loadrt motmod num_dio=16" alone possible?
Its then possible to switch a outputpin on and off with "net motion.digital-out-10 hm2_5i25.0.7i77.0.0.output-10"
and M64 P10 ?
Thanks
Hans
had i to write the complete loadrt motmod syntax or is "loadrt motmod num_dio=16" alone possible?
Its then possible to switch a outputpin on and off with "net motion.digital-out-10 hm2_5i25.0.7i77.0.0.output-10"
and M64 P10 ?
Thanks
Hans
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17869
- Thank you received: 4776
29 Jan 2017 20:07 #86926
by PCW
Replied by PCW on topic Loadrt motmod and I/O Pins
Sure but you need a signal name, net commands have the following syntax:
net signal_name pinX pinY pinZ
so something like
net hair_on_fire motion.digital-out-10 hm2_5i25.0.7i77.0.0.output-10
would be the proper syntax
net signal_name pinX pinY pinZ
so something like
net hair_on_fire motion.digital-out-10 hm2_5i25.0.7i77.0.0.output-10
would be the proper syntax
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17869
- Thank you received: 4776
29 Jan 2017 20:48 #86928
by PCW
No, you need to add the num_dio=16 token to the existing loadrt motmod line
Replied by PCW on topic Loadrt motmod and I/O Pins
had i to write the complete loadrt motmod syntax or is "loadrt motmod num_dio=16" alone possible?
No, you need to add the num_dio=16 token to the existing loadrt motmod line
Please Log in or Create an account to join the conversation.
- Holzwurm56
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 0
30 Jan 2017 07:13 #86949
by Holzwurm56
Replied by Holzwurm56 on topic Loadrt motmod and I/O Pins
Hello,
in my hal is no motmod but there is a EMCMOD. Is this the same?
Thanks
Hans
in my hal is no motmod but there is a EMCMOD. Is this the same?
Thanks
Hans
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds