By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: How to use Converters in PLC
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > How to use Converters in PLC

How to use Converters in PLC

Last updated: March 4, 2021 3:27 pm
Editorial Staff
PLC Tutorials
No Comments
Share
3 Min Read
SHARE

To study the working of Converter (BCD TO INT/ INT TO BCD) in Allen Bradley programmable logic controllers (plc).

Contents
Integer to BCD Converter Block DiagramBCD to Integer Converter Block DiagramINTEGER TO BCD CONVERTERExample PLC Program:Rung 0000 :Rung 0001 :Rung 0000 :Rung 0001 : BCD TO INTEGER CONVERTER Example PLC Program:Rung 0000 :Rung 0001 :Rung 0000 :Rung 0001 : Conclusion:

Integer to BCD Converter Block Diagram

Integer to BCD Converter Instruction in PLC

Block Name : TOD (Integer to BCD Converter )

In the above picture, there are totally two parameter,

SOURCE – Integer Value address

DESTINATION – BCD Value address

BCD to Integer Converter Block Diagram

BCD to Integer Converter Instruction in PLC

Block Name: FRD (BCD to Integer Converter )

In the above picture, there are totally two parameter,

SOURCE – BCD Value address

DESTINATION – Integer Value address

INTEGER TO BCD CONVERTER

In Allen Bradley RS500 Ladder logic, Integer to BCD converter block is called as TOD.

It will convert the integer to respective BCD Value

Ex:

Integer-1020

BCD– 0001-0000-0010-0000

Example PLC Program:

PLC Program for BCD Conversion

Rung 0000 :

I:0/0 giving input condition to BCD converter. When it goes ON, value placed in N7:0 is converter into BCD and store the value in B3:0.

Rung 0001 :

Equal comparator block is used to give output to O:0/0 when B3:0 equals B3:1.O:0/0 is enabled because B3:0 and B3:1 are 0.

PLC Conversion Program
PLC Data File for Integer
PLC Data File for Binary

Rung 0000 :

I:0/0 giving input condition to BCD converter. When it goes ON, value placed in N7:0-1926 is converter into BCD (0001100100100110) and store the value in B3:0.

Rung 0001 :

Equal comparator block is used to give output to O:0/0 when B3:0 equals B3:1.

O:0/0 is turned off  because B3:0 and B3:1 are not equal..

 BCD TO INTEGER CONVERTER

In Allen Bradley RS500 Ladder logic,  BCD to Integer  converter block is called as FRD.

It will convert the BCD to respective Integer Value

Ex:

BCD– 1001-1001-1001-1001

Integer-9999

 Example PLC Program:

PLC Logic for BCD to Integer Conversion

Rung 0000 :

I:0/1 giving input condition to INT converter. When it goes ON, value placed in B3:2  is converter into INT and store the value in N7:1.

Rung 0001 :

Equal comparator block is used to give output to O:0/1 when N7:1 equals N7:2.

O:0/1 is enabled because N7:1 and N7:2 are 0.

Example PLC Program for Binary Conversion
Data File for PLC
Data Display in PLC

Rung 0000 :

I:0/0 giving input condition to INT converter. When it goes ON, value placed in B3:2-0001010001010010 is converter into INT -1562 and store the value in N7:1.

Rung 0001 :

Equal comparator block is used to give output to O:0/1 when N7:2 equals N7:1.

O:0/1 is turned off  because N7:1 and N7:2 are not equal..

 Conclusion:

We can use this explanation to understand the working of Converters in Allen Bradley programmable logic controllers (plc).

Author : Hema Sundaresan

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

Timers Ladder Logics

Down Counter Ladder Logics

Convert Voltage to Current

Multiple Speeds with PLC

Retentive Timer using PLC

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
Types of PLC
Parking Garage Indicator: PLC Automation System
PLC System Site Acceptance Test (SAT)
PLC Program for Conditional Control Logic
PLC Digital Signals Wiring Techniques
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Recent Comments

  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers
  • anuj kapoor on DCS Program to Maintain Draft in Furnace
  • anuj kapoor on IoT based Smart Boiler Control System with Cloud PLC and SCADA

Related Articles

Traffic Barrier Control

PLC Programming for Traffic Barrier Control

Sinking and Sourcing Devices Operation

PLC Sinking and Sourcing Explanation

Simple Conveyor Control PLC Program

XG5000 Example of Simple Conveyor Control PLC Program

Omron PLC Instructions - Move, Move Bit, Move Digit

Move, Move Bit, Move Digit – Examples of Omron PLC Programs

Basics of PID Controllers

PID Controllers in Closed Loop Control Systems – PLC Basics

Analog Instruments

Explaining Various Types of Analog Instruments

Quiz on Electrical Meters and Measurement

200+ Quiz on Electrical Meters, Measurement, and Troubleshooting

On Delay Timer TON in Tia Portal

Timers in PLC Programming – Siemens Tia Portal Tutorials

More Articles

What is Electrical Interlocking?

Electrical Contactor Interlocking Circuit Explained

How to Design a Motor Faceplate in Graphics - SCADA Tutorials

How to Design a Motor Faceplate in Graphics? – SCADA Tutorials

Control Valves Leak Tightness

Control Valves Leak Tightness Restoration Pose Difficulties

PLC Programming Course Online Free

PLC Programming Course Online Free

Difference Between LAN and WAN Networks

Difference Between LAN and WAN Networks

PLC Program for an Alternate output circuit

PLC Program for Alternate Output Circuit with Latched Function

Electrical Machines Questions and Answers

DC Machines Torque Quiz

Save and BR Memory in Siemens PLC Programming

SAVE and BR Memory Instructions in Siemens PLC Programming

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?