- Posts: 178
- Thank you received: 1
Loadrt motmod and I/O Pins
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
9 years 9 months ago #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
Please Log in to join the conversation.
9 years 9 months ago #86923
by PCW
Replied by PCW on topic Loadrt motmod and I/O Pins
Yes, the current LinuxCNC version (2.7.
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
Please Log in to join the conversation.
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 178
- Thank you received: 1
9 years 9 months ago #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 to join the conversation.
9 years 9 months ago #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 to join the conversation.
9 years 9 months ago #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 to join the conversation.
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 178
- Thank you received: 1
9 years 9 months ago #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 to join the conversation.
Time to create page: 0.084 seconds
