This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

CLASSICLADDER

NAME
SYNOPSIS
DESCRIPTION
PINS
PARAMETERS
FUNCTIONS
BUGS
SEE ALSO

NAME

classicladder − realtime software plc based on ladder logic

SYNOPSIS

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]

DESCRIPTION

These pins and parameters are created by the realtime classicladder_rt module. Each period, classicladder reads the inputs, evaluates the ladder logic defined in the GUI, and then writes the outputs.

PINS

classicladder.0.in-N IN bit

Connect a hal bit signal to this pin to use BNN in classicladder

classicladder.0.out-N OUT bit

Output from classicladder

classicladder.0.in-N IN s32

Connect a hal s32 signal to this pin to use WNN in classicladder

classicladder.0.out-N OUT s32

Integer output from classicladder

PARAMETERS

classicladder.0.refresh.time RO s32

not sure what this does anymore

classicladder.0.refresh.tmax RW s32

ditto

classicladder.0.ladder-state RO s32

FUNCTIONS

classicladder.0.refresh FP

The rung update rate. Add this to the servo thread.

BUGS

The classicladder_rt module does not unload correctly.

SEE ALSO

until we get some real docs put together:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadder