PLC Programming
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic
No Result
View All Result
PLC Programming
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic
No Result
View All Result
PLC Programming
No Result
View All Result

PLC Bit Instructions XIO and XIC ladder examples

Examine If Closed and Open (XIC) & (XIO) Bit Instructions

PLC Bit Instructions XIO and XIC ladder examples
Share on FacebookShare on Twitter

XIC and XIO instructions are one of the most used basic instructions in plc ladder programming. It is in the category of bit instruction and bit instructions can be used in input and output tags.

If you have a digital input, we can define and use these inputs in the PLC using the XIC instruction or XIO instruction, which is one of the bit instructions.
For example, let’s assume that you have one Limit Switch to keep in mind and design our PLC Program accordingly.
At the same time in our other inputs,

one stop button
one start button
one forward limit switch
one back limit switch
and we have one contactor.

Let’s write a motor start-stop program with these inputs.

Since all of our inputs are digital, we can use bit instructions in return. The difference between the XIC instruction and the XIO instruction, one is normally closed and the other is normally open contact. If we include the XIC instruction in our automation knowledge, we need to configure it to be active when external information such as start buttons is received.

The variables we will bind to the XIO instruction are, as I mentioned above if the variable/input comes continuously under normal conditions and we need to take action when it is interrupted. We need to evaluate the input we will determine accordingly with this instruction.

Start and Stop Instructions

For example, in the stop command, the stop button already has a normally closed structure. Or we want our system to stop when the limit switches input is lost, that is, the cable is broken or the switch does not work. Therefore, it would be reasonable to evaluate these inputs in the XIO command. Of course, you must decide which commands you will choose according to the connection type of the element you will use. This means that your automation works correctly and completely. If you make the system stop by failing in case of any error and you will be on the safe side.

The XIC and XIO instructions should be evaluated as inputs., They become active according to the inputs from outside, and the plc enables the following instructions to be executed by energizing on the ladder. In the ladder diagram, there must always be an instruction after it, so it is always on the left side of the plc ladder diagram.

RelatedPosts

PLC Ladder Diagram

User Defined Datatype UDT Usage Examples in RSLogix 5000 PLC

Count Down (CTD)

Let’s get to how our plc program should be,

PLC Instruction Example

Under normal conditions, when the start button and stop button are not pressed in the program. The motor contactor does not turn on as in the picture below.
The circuit latches itself over the motor contactor where you press the start button and the motor continues to run over. The motor contactor until you press the stop button or until the limit switches are activated.

Tags: bit instructionscommandsinputinstructionlatchmotor startXICXIO
Previous Post

How to learn plc programming

Next Post

FactoryTalk Activation Manager Helper service is not running

Related Posts

PLC Programming Example
PLC & HMI

PLC Programming Example

PLC AVE (Average) Instruction Example
PLC & HMI

PLC AVE (Average) Instruction Example

PLC FIFO Instructure Usage (FFL)
PLC & HMI

PLC FIFO Instructure Usage (FFL)

Create Controller Fault Routine
PLC & HMI

Create Controller Fault Routine

PLC Controller Fault Routine
PLC & HMI

PLC Controller Fault Routine

RSLogix Emulate 500 Usage
PLC & HMI

RSLogix Emulate 500 Usage

Next Post
FactoryTalk Activation Manager Helper service is not running

FactoryTalk Activation Manager Helper service is not running

PLC Programming & Automation

PLC Programming

The objectives of PLCtr are to provide practical instruction and help for anybody involved with PLCs from the maintenance staff to the PLC programmer. You don’t necessarily have to be a “writer” to contribute. If it has anything to do with any PLC and the devices connected to it then we are interested. If you want to become a writer, please write to us on the contact page. Join us.

Tags

Add-On Instruction alarm allen-bradley analog codes comminucation communication control controller ControlLogix cpu devicenet download driver error errors ethernet example factorytalk fault instruction issue Ladder Major motor network opc plc Plc programming problem program Programming rockwell rslinx rslogix scanner siemens software start state stop Studio 5000 tag timer trend

Programming Pages

  • PLC Meaning and What is the PLC?
  • How does PLC work?
  • Cookie Policy
  • Terms of Use
  • Privacy Policy
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic

© plctr.com PLC Programming | PLC Forum | PLC SiteMap

No Result
View All Result
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic

© plctr.com PLC Programming | PLC Forum | PLC SiteMap

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT