Programming Reference
Archived Website
The information on this website is outdated. It is kept in here for historical purposes only. Please refer to https://autonomylogic.com for the most up to date information about the OpenPLC Project.
Basics
- What is a PLC?
- Introduction to Ladder Logic
- Contact
- Coil
- Creating your first project
- Uploading your project to OpenPLC
Standard Function Blocks
- SR Bistable (SR)
- RS Bistable (RS)
- Semaphore (SEMA)
- Rising Trigger (R_TRIG)
- Falling Trigger (F_TRIG)
- Counter Up (CTU)
- Counter Down (CTD)
- Counter Up-Down (CTUD)
- Timer Pulse (TP)
- Timer On (TON)
- Timer Off (TOF)
Additional Function Blocks
- Real Time Clock (
RTC
) - Integral
- Derivative
- PID
- Ramp
- Hysteresis
Numerical
- Absolute Number (
ABS
) - Square Root (
SQRT
) - Natural Logarithm (
LN
) - Logarithm (
LOG
) - Exponentiation (
EXP
) - Sine (
SIN
) - Cosine (
COS
) - Tangent (
TAN
) - Arc Sine (
ASIN
) - Arc Cosine (
ACOS
) - Arc Tangent (
ATAN
)
Arithmetic
- Addition (
ADD
) - Multiplication (
MUL
) - Subtraction (
SUB
) - Division (
DIV
) - Remainder (
MOD
) - Exponent (
EXPT
) - Assignment (
MOVE
)
Bit-Shift
- Shift Left (SHL)
- Shift Right (SHR)
- Rotate Right (ROR)
- Rotate Left (ROL)
Selection
- Binary Selection (SEL)
- Maximum (MAX)
- Minimum (MIN)
- Limitation (LIMIT)
- Multiplexer (MUX)
Comparison
- Greater Than (GT)
- Greater Than or Equal (GE)
- Equal (EQ)
- Less Than (LT)
- Less Than or Equal (LE)
- Not Equal (NE)