Hal confusion

More
7 years 2 months ago #142524 by tommylight
Replied by tommylight on topic Hal confusion

Todd Zuercher wrote: then again in in line 126 you tried to connect the same parallel port pin

Code:
net allhomed logic.0.and parport.2.pin-03-out
.

You can omit that line or change the pin out number.

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

More
7 years 2 months ago - 7 years 2 months ago #142531 by jensor
Replied by jensor on topic Hal confusion
You're right on line 126. My mistake, however still a problem.

Todd -
48 # create a signal for the estop loopback
49 net enable iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
no reference to parport.2.pin-03-out there.
Doing a search in the file shows only one instance of parport.2.pin-03-out since I deleted it on line 126.

Still get same original error:
iocontrol: machine: 'LINUXCNC-1BP' version '2.7.8'
Found file(REL): ./1BPstepper.hal
Found file(REL): ./2X-BoxPinOutTest.hal
./2X-BoxPinOutTest.hal:66: Pin 'iocontrol.0.user-enable-out' was already linked to signal 'enable'
Shutting down and cleaning up LinuxCNC...

So still the question how can it already be linked?
Last edit: 7 years 2 months ago by jensor. Reason: add text.

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

More
7 years 2 months ago #142533 by PCW
Replied by PCW on topic Hal confusion
Search for multiple occurrences of: iocontrol.0.user-enable-out

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

More
7 years 2 months ago - 7 years 2 months ago #142536 by jensor
Replied by jensor on topic Hal confusion
No other occurrences of "iocontrol.0.user-enable-out".

jensor
Last edit: 7 years 2 months ago by jensor.

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

More
7 years 2 months ago #142539 by cmorley
Replied by cmorley on topic Hal confusion
Did you check all the HAL files?
iocontrol.0.user-enable-out could be connected in another HAL file- it is connected in the main HAL file if the config was generated with stepconf for instance.

The other possibility is you are not running the config/files that you think you are.I have had two versions of a config and edited the wrong one sometimes.

Chris M

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

More
7 years 2 months ago #142596 by jensor
Replied by jensor on topic Hal confusion
Yes 2 occurrences of iocontrol.0.user-enable-out:
49 net enable iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
66 net estopactivated iocontrol.0.user-enable-out parport.2.pin-03-out

Line 49 shows iocontrol.0.user-enable-out (an output) being connected to
iocontrol.0.emc-enable-in (an input)

Since iocontrol.0.user-enable-out is an output while can't it be connected as an input to the parallel port card?

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

Time to create page: 0.483 seconds
Powered by Kunena Forum