5 Digital in's at once

More
21 Apr 2024 18:25 #298792 by nekut
5 Digital in's at once was created by nekut
Hi,

My mechanical engineer having a problem defining Pin 15 of parallel port as 'Digital in 4' (5th digital in)

Is it possible? If so what could be the problem?

Thanks

Nekut
 
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Apr 2024 20:59 #298800 by PCW
Replied by PCW on topic 5 Digital in's at once
4 is the default maximum number of digital inputs/outputs
(man motion) So it's likely stepconf is limited to this
number.

What I would do is:

1. Change the number of DIO by adding num_dio=N to the 
loadrt motmot line in the hal file, where N is the total number
of DIO needed (1..64)


2. Manually  add the net line linking parallel port pin 15 to digital in 4
(use a similar connections to DIO 0..3 as examples)

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum