/tex-ladder

This package permit the creation of simple ladder diagram into TeX documents.

Primary LanguageTeX

Ladder TeX package

This package permit the creation of simple ladder diagram into TeX documents.

Example

Usage

The code must be inserted between en tikzpicture section.

Add the packages : \usepackage{tikz} \usepackage{ladder}

Net

All contacts and relays are, by default, added in series

  • \ladderLine begin a new ladder net
  • \startParallel begin a parallel segment
  • \setParallel begin the new parallel segment
  • \unsetParallel end of the parallel segment

Contacts

  • \ladderNO[type]{name}{mnemonic} a Normally Opened contact
  • \ladderNC[type]{name}{mnemonic} a Normaly Closed contact Type may be P (rising edge), N (falling edge)...

Relays

  • \ladderc[type]{name}{mnemonic} a relay Type may be R (reset), S (set)...