CLASSICLADDER(9) | HAL Component | CLASSICLADDER(9) |
ClassicLadder - realtime software plc based on ladder logic
loadrt classicladder_rt [numRungs=N] [numBits=N] [numWords=N] [numTimers=N] [numMonostables=N] [numCounters=N] [numPhysInputs=N] [numPhysOutputs=N] [numArithmExpr=N] [numSections=N] [numSymbols=N] [numS32in=N] [numS32out=N] [numFloatIn=N] [numFloatOut=N]
loadusr classicladder <file name> [--nogui]
This component consist of a realtime part and a non-realtime part (often called 'userspace' in the LinuxCNC documentation). The non-realtime part loads the programmable ladder description, while the realtime part provides the pins. The file name of the configuration can be changed using an argument to the non-realtime part. By default the non-realtime part provides a graphical visualisation of the loaded ladder, which can be disabled using the '--nogui' option to the non-realtime part.
These pins and parameters are created by the realtime classicladder_rt module. Each period (minimum 1000000 ns), ClassicLadder reads the inputs, evaluates the ladder logic defined in the GUI, and then writes the outputs.
See http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ClassicLadder_Ver_7.124 for the latest.
ClassicLadder chapters in the LinuxCNC documentation for a full description of the ClassicLadder syntax and examples.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ClassicLadder_Ver_7.124
2008-11-23 | LinuxCNC Documentation |