Skip to main content

Posts

Showing posts with the label Programming

Basic PLC Ladder Programming Examples 20

Basic PLC Ladder Programming Examples 20 Basic PLC Ladder Programming Training Examples for Beginners.  Hi friends, here we are starting unique a series of Free Training on PLC Ladder Programming & tutorials. These PLC Ladder Programs are important to learn basics of Ladder programs.   PLC Ladder Practice Problem:  Summation of Continuous D Registers ·        Summing up the values of D registers from D101 to DN (the number of N is determined by users) and storing the operation result in D100. If the result < K-32768, the borrow flag = ON; if the result > K32767, the carry flag = ON           Topics Covered in this example is FOR NEXT PLC instructions of Ladder Program. Number of PLC Outputs Required Y0 Borrow flag indicator. When the value in D100 < K-32768, Y0 = ON Y1 Carry flag indicator. When the value in D100 > K32767, Y1 = ON Number of PLC Data Registers Required D100 Storing the sum of all D registers D500 Storing the executing times of FOR-NEXT loop PLC Ladder Pr

Steps AVR Programming a Best Chip

This is a complete AVR Tutorial, including avr programming in a very basic & organized way, We will go through by following items. What is an AVR? Using Mac and Windows How AVR programming works Choosing a programmer, to burn the code. Using AVRDUDE Click Here is one for Windows What is a micro-controller? The best way to explain what a microcontroller is, is to start with your computer. Your desktop computer (or laptop) is comprised of multiple parts, a CPU (such as a Pentium or Celeron), some RAM, a hard disk, a keyboard and mouse and a monitor screen. Programs are stored on the hard disk and run on the CPU, with temporary data stored in RAM. You can run multiple programs at a time by having one ‘master program’ called an operating system (such as Linux, Windows or Mac OS X) and that master program keeps track of things for you. AVR Programming Chip The AVR chip has components, too. It has a CPU, some flash storage, some RAM and some EEPROM, all in one little chip!. The CPU is ju

PIC16F887 877 programming in C Tutorial 10 ADC

Analog to Digital Converter (ADC): In this tutorial i will show how to convert analog values into digital, by using 887 (little bit differ with 877) , then display these digital value on LCD. The Analog-to-Digital Converter (ADC) allows conversion of an analog input signal to a 10-bit binary representation of that signal. This device uses analog inputs, which are multiplexed into a single sample and hold circuit. The output of the sample and hold is connected to the input of the converter. The converter generates a 10-bit binary result via successive approximation and stores the conversion result into the ADC result registers (ADRESL and ADRESH). The ADC voltage reference is software selectable to be either internally generated or externally supplied. ADC Configuration: When configuring and using the ADC the following functions must be considered: • Port configuration • Channel selection • ADC voltage reference selection • ADC conversion clock source • Interrupt control • Results forma

PROGRAMMING THE 8051

To use the 8051 microcontroller, you definitely need to program it first for the intended purpose. What does that mean actually? The 8051 itself is just a piece of hardware capable of doing nothing at all. It is actually the software that makes it intelligent and gives some meaning to its life. The software defines the purpose of the 8051 or solution to a particular problem. Now how to program it? It's very simple to understand. UPDATE: Visit this link for a newer and updated version of this post - with detailed instructions. READ MORE