PLC Programming & Manual

What is the PLC programming language ?

Programming Languages
A program loaded into PLC systems in machine code, a sequence of binary code numbers to represent the program instructions.
Assembly language based on the use of mnemonics can be used, and a computer program called an assembler is used to translate the mnemonics into machine code.
High level Languages (C, BASIC, etc.) can be used.

Programming Devices
PLC can be reprogrammed through an appropriate programming device:
> Programming Console
> PC

> Hand Programmer

Introduction to Ladder Logic
Ladder logic uses graphic symbols similar to relay schematic circuit diagrams.
Ladder diagram consists of two vertical lines representing the power rails. Circuits are connected as horizontal lines between these two verticals.

Ladder diagram features
 Power flows from left to right.
Output on right side cannot be connected directly with left side.
Contact cannot be placed on the right of output.
Each rung contains one output at least.
Each output can be used only once in the program.
A particular input a/o output can appear in more than one rung of a ladder.
The inputs a/o outputs are all identified by their addresses, the notation used depending on the PLC manufacturer.

Introduction to Statement list
Statement list is a programming language using mnemonic abbreviations of Boolean
logic operations. Boolean operations work on combination
of variables that are true or false.
A statement is an instruction or directive for the PLC.

Statement List Operations
* Load (LD) instruction.
* And (A) instruction.
* Or (O) instruction.
* Output (=) instruction.

Function Block Diagrams
Function block is represented as a box with the function name written in.


Please note:
LD : load
O : OR
AN : and not (and a normally closed contact)
ALD : AND the first LD with second LD

More from the blog

Advance level PLC Unlock Guidance based on experience Engineering

The Advance level PLC Unlock Guidance based on experience Engineering which is expert of BIN file analyzes and converting HEX file to get PLC...

Step-by-Step Guide How to Connect a Servo Drive to a PLC

A servo drive is a type of motor controller that is use to control the speed and position of a servo motor. A PLC,...

Getting Started with Programmable Logic Controllers A Beginner’s Guide

The programmable Logic Controllers Beginner's Guide, or PLCs for short, are computerize systems use in industrial and manufacturing applications to automate processes. PLCs are...

17-Step Checklist for Repairing a Variable Frequency Drive (VFD)

In conclusion, A Variable Frequency Drive (VFD) is an important component of many industrial applications. However, and it is critical to keep them running...