(resolved)The "classicladder numPhysInputs" parameter does not take effect.

  • Soccer Kid
  • Soccer Kid's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
07 Jun 2025 07:31 - 11 Jun 2025 01:11 #329867 by Soccer Kid
Hello everyone, when I was configuring the calssicladder, the number of corresponding physical inputs was always limited to no more than 16 points.

debug:
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./L510G_servo.hal
*** hal/components/xyzab_tdr_kins.comp setup ok
Found file(REL): ./calssicladder.hal
creating ladder-state
./calssicladder.hal:87: Pin 'lcec.1.input.in1-16' does not exist
Shutting down and cleaning up LinuxCNC...


Due to my negligence, the bed used an unknown PIN-16... This was not caused by a software issue.
Attachments:
Last edit: 11 Jun 2025 01:11 by Soccer Kid.

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

  • scotth
  • Away
  • Elite Member
  • Elite Member
More
07 Jun 2025 12:59 #329876 by scotth
Redefine outputs from 20 to 32, or whatever you need.

loadrt classicladder_rt numRungs=12 numBits=100 numWords=10 numTimers=10 numMonostables=10 numCounters=10 numPhysInputs=20 numPhysOutputs=32 numArithmExpr=100 numSections=4 numSymbols=300 numS32in=5 numS32out=5

linuxcnc.org/docs/devel/html/man/man9/classicladder.9.html

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

  • scotth
  • Away
  • Elite Member
  • Elite Member
More
07 Jun 2025 13:16 #329878 by scotth
The following user(s) said Thank You: Soccer Kid

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

Time to create page: 0.069 seconds
Powered by Kunena Forum