Skip to main content

Memory bits used to control inputs and output signals in PLC /Addressing in PLC/PLC Automation by Bestway


Memory bits used to control inputs and output signals in PLC

In Micro controller based device memory is divided into three category i.e. Program, Discrete or Digital Registers and word. Data is held in these Registers. These  Registers come in different sizes, and hold different kinds of data.
Bits or Boolean: Can have values 1 or 0 Condition.  1 is represents On while 0 represents Off.  Bits are the building block for all other types of data. These Boolean values are used for all the input and output devices like sensor and switch inputs, as well as motor or other outputs.

Integers(Multiple Bits):  Multiple-bit integers are usually  8, 16, or 32 consecutive bits and can hold only whole number values. Whole numbers  also Called as Characters (char), Integers (int), long Integers (long int) or Words. Depends on  bit size and whether they are signed or unsigned.   Unsigned  Integers are positive numbers, while signed are positive or negative.
Floating point (Decimal) numbers: Numbers with decimal points, and can be positive or negative integers. They are called floating point numbers (Float), with their larger variety called double floats.

I.              BOOL: Digital Data (True / False)

II.            BYTE: Numerical Data / Bitwise Data (0 - 255)

III.           INT: Numerical Data (-32768 - 32767)

IV.          UINT: Numerical Data (0 - 65535)

V.           SINT: Numerical Data (-128 - 127)

VI.          USINT: Numerical Data (0 - 255)

VII.         DINT: Numerical Data (-2147483648 - 2147483647)

VIII.       WORD: Numerical Data / Bitwise Data (0 - 65535)

IX.          DWORD: Numerical Data / Bitwise Data (0 - 4294967295)

X.           REAL: Numerical Data (-3.402823e+38 - 3.402823e+38)

XI.          ARRAY: Array of Any Data type (Declared as "ARRAY [0..10]      OF DataType)


Understanding the PLC input output Data Types.
Instruction: ADD: Adds the input operands and places the sum in the output register
Inputs
Signal
Data type
Description
EN
BOOL
Enables block operation
IN1 & IN2
SINT,INT,DINT,USINT,UINT,UDINT,REAL,LREAL,TIME,TOD
Input values to be added
Outputs
Signal
Data type
Description
ENO
BOOL
Indicates completion of operation
O
BOOL
Overflow signal, HIGH when the result exceeds the defined variable range
OUT
SINT,INT,DINT,USINT,UINT,UDINT,REAL,LREAL,TIME,TOD
Output value after addition of 2 input values
Representation in Ladder Logic:


Variable View:

When you are activating the load using PLC, must check the data type for particular devices or blocks used in the programming, most of the plc coming with inbuilt address only you need to give inputs address according to the types of plc.
Example.
To describe input and output address. I taken On delay Timer which from the Siemens PLC ladder logic.
On delay Timer
In on delay timer, when input is on output is on after some time delay.



Where,
            In denotes Input,
            Q denotes output,
            PT denotes Preset Time,
            ET denotes Enable Time.






Comments

Popular posts from this blog

Counter and its Function/Automation/Industrial Automation/PLC counter

What is counter A counter may be a digital circuit or device that counts the amount of products and returns predefined values supported clock pulse applications. The output of the counter are often wont to count the amount of pulses. The counter circuit is typically composed of several flip-flops connected within the cascade method. Counter automation and digitally based components are very widely used components.      Micro controller applications require external events or precise internal time delay generation and calculation of pulse frequency as required . These phenomena are often utilized in digital systems and automation. Both of those events are often performed by software techniques, but software loops for counting won't give accurate results, as little more important work isn't done. These problems are often corrected by timers and counters in micro controllers that are used as interrupts. Classification of counters In digital circuits, counters ...

Latching and Unlatching Circuit Using Ladder Logic

 What is PLC A Programmable Logic Controller, or PLC, is a Micro controller Based Device  used for industrial automation. These controllers can make  automatic  for a specific process, machinery, Home Automation  or even an entire production line. Latching is used in plc as well as hardware circuit to make the circuit in continuously on condition.   Latching Circuit in PLC Generally Latching is a circuit used to keep the output continuously in on Condition. Latching is only applicable for the push button or switches which has spring act. When you are using hardware circuit you can use relay or contactors, these two components is used to make load in on condition. In Below concepts we can understand the concepts of latching and unlatching circuit by using switches   Case1: When you are using Toggle switch, latching is not required. Check in below circuit. In this case toggle switc...

Level Indicator/Working and its uses

Level indicators   Level indicator is used to detect liquid levels. This is mainly used in water treatment plants, Sewage treatment facilities, buildings , housing complexes and so many other appliances. It will sense lower to higher level of water which is connected to control panel to give the information about the level of liquids. Water level indicator is a combination of probe  sensor or float switches. Working of level indicator   The mechanism of level indicator is quite simple. It will sense the level of liquid in storage tank by using sensor probes. When water reaches a certain level it will give signal to your connected device(Probes send information back to the control panel to trigger an alarm or any indicator. When we are using any type of sensor our motor is to control all the equipment automatically, here  also same, when you connecting the level indicator in storage tank, the control panel can be programmed to automatically turn on or off ...