Showing posts with label Controller. Show all posts
Showing posts with label Controller. Show all posts

February 22, 2012

How to program a Siemens S7-300 Programmable Logic Controller

Do you have a Siemens S7-300 Programmable Logic Controller that you are not customary with but you need to program it Now! Following is a quick set of instructions I have put together to help you get started programming a Siemens S7-300 Plc.

After loading the programming software and connecting a Siemens Mpi cable in the middle of your programming computer and the Plc, open Simatic manager by clicking the icon on the desktop. The Step 7 Wizard: "New Project" window will open. It is easier to use the Wizard to setup communications with your Plc, but I chose to take the scenic route. I figured I would learn more this way. So, close the Step 7 Wizard window by clicking Cancel. If there are any other windows or projects open, close them. We want to start with a totally new program.

Create a new task by clicking the new task button on the toolbar in the upper left corner of your screen.






The New task window opens. Here you will see any existing programs placed on your computer. Near the lowest of the window, you will see the Name: input form. Type anything you want to name your new task and click Ok.

A new window will open showing the name of your task at the top. You will also see your task in the window on the left hand side of the screen at the top. Right click your task and choose "Insert New Object". choose the expedient you will be programming. We will be using the Simatic 300 hub so choose that selection.

You will now see Simatic 300 appear in the right window of your screen. It should be highlighted blue. Click everywhere in the window to make the blue go away. Double click Simatic 300 and it will move to the left window and "Hardware" will appear in the right window.

Double click "Hardware" and two (maybe three) new windows will open. On the left will be Simatic 300 - (the name of your project). The window on the right will be the catalog of parts.

Look in the right window, the parts catalog, and click the plus sign beside Simatic 300.

Click the plus sign beside Rack - 300. Click and drag the Rail onto the left window. You will now see the Slots window appear. This is where we will place our Plc components.

We will first choose our Cpu. Finding at the parts catalog, in the Simatic 300 tree, choose the Cpu that you are using. We are using the Cpu - 300 so click the plus sign beside that choice.

Now look at the front top left of your Plc. This is where you will find the Plc model. I will use Cpu313C-2 Dp as an example since this is the model Plc that I use.

Find this Cpu in your parts catalog and click the plus sign. You will now see some part numbers.

Look back at your Plc. Locate the door surface the Mpi port. This will be the lowest left side of the Plc. At the lowest of the door you will find the part number. The part whole for the Plc I am using as an example is 313-6Cf03-0Ab0.

Find this part whole in the parts catalog. You will observation this is another folder. Open it and you will see V2.0 and V2.6. Look back at the Plc, open the door surface the Mpi port, and right above the Mpi port you will see V2.6.3.

Go back to the parts catalog and click V2.6. observation how a slot in the left hand window will feature green. I believe it will be slot #2. (Slot #1 is reserved for power supplies.) This is where you will drag and drop your Cpu. (Notice the software will not let you put the Cpu in any other slot but slot #2.)

When you release the mouse button over slot #2, a new window will open, "Properties - Profibus interface". Click new, a new window opens, click Ok, and then click Ok again. We are not setting up a network at this time.

You will now see your Cpu and related hardware listed.

Double click in the Slot that list your Di16/Do16 (Digital Input/Digital Output).

A window with three tabs will open. The first tab will be General, the second tab will be Addresses and the third tab will be Inputs.

Open the tab "Addresses". We need to convert the default addresses. Do this by unchecking the theory Default button and changing 124 (or anything address you have) to 0. Do this for both the Inputs and Outputs.

We now need to convert the Node Address. Go back to the window where you Double clicked Di16/Do16 and Double click in Slot 2, the Cpu 313-2Dp slot.

The Properties - Cpu 313C-2Dp window will open.

Look down the window a exiguous over half way and find the Interface area and click on Properties. another window, "Properties - Mpi interface Cpu 313-2Dp" will open.
Change the address to meet your definite criteria. I know that my laptop, which I am using to program my Plc, is always addressed as 1 and my target Plc is commonly addressed as 2. You will probably be the same.

Now click Mpi(1) and click Ok. Click Ok again to close the Properties window.

Save and Compile by clicking the icon placed on the left of the toolbar.

Download the hardware configuration to the Plc by clicking the download icon placed on the toolbar.

A window titled "Select Target Module" should open. Click Ok.

Another window titled "Select Node Address" will open. You should see listed your node address for the Plc you are working with as you configured it in a former step. If not, click view and click on anything node address appears and click Ok.

Switch back to Simatic manager (by clicking the tab on the taskbar).

Click on Options. choose Set Pg/Pc Interface. choose Pc Adapter (Auto).

Click Properties. A new window will open, displaying either automated Bus Profile Detection or Local Connection. Click Local relationship and choose Usb. Now choose automated Bus Profile Detection and convert the address to 30. You can check your relationship now by clicking Start Network Detection. If a new window opens displaying Network Type = Mpi, Transmission Rate = 187.5kbps, you have established communications with your S7-300. Click Close. Click Ok. Click Ok.

It is now time to start programming. Finding at the Simatic manager window, click the plus sign placed beside Simatic 300(1), click the plus sign beside Cpu 313C-2Dp, click the plus sign beside S7 Program(1). Now click on Blocks and you will see theory data and Ob1 appear in the right window on your screen.

Double click on Ob1 and a new window will open named Properties - club Block

Here you can choose how you want to program, in Lad (ladder), Stl (statement list), or Fbd (function block diagram). choose which you want to use and click Ok.

Double click Ob1 again and the Lad/Stl/Fbd programming window will open.

You can now start programming.

I have these same instructions with pictures on my website at http://www.saturdayafternoonhobbies.com

How to program a Siemens S7-300 Programmable Logic Controller

Samsung USB Cable Top Wireless Router Review

[Read More..]


June 26, 2011

Automation of production was waiting for a programmable automation controller

The programmable automation controller from the personal computer, which came to life emerged in the early 1980's. Before the automation of the production time was dependent on an extremely structured, but very capable of programmable logic controllers. This ladder logic based computers were very good at the work they had to do, even though he limited in the activities they could do. The programmable logic controller mathematics could collect data from a proportional-integralbranch circuit, which are used to monitor the processing temperature. Even in this, as this would help add the contacts PLC allowing the calculation of temperature are performed correctly. But this kind of task could be the limited scope of the possibility of this PLC. Since it would be to perform other tasks such as collecting and entering data into a SQL database, much of its capability. The tasks that are not very specific and verytechnical, but does not have the ability to make a wide range of tasks.

In the world of manufacturing automation, there was a need for capacity expansion in a range of jobs. A controller is a device that works like a PC could run, and extend the power and speed of production more productive in a new arena. The personal computer burst into the work environment and eliminates the hassle of manually many tasks had to be there. But the 'PC could not take a step outside the headquarters of the production process, and without the aid of equipment added. The PC was not able to do the tasks of the PLC process control, you need to do some 'memory cards that allow its expansion, this would add to use. The fact that the PC was in its basic configuration, extensibility was one of the most important qualities that have contributed to the action in the field of automation. Just added some new cards to your PCHowever, there are the supporters of automation technology, the PAC has become. Renewed capacity for mathematical processing, a robust design capable of operating in a harsh environment, the processing speed and they get closer to the programmable automation controller and we know and love.

Programmable Logic Controller

The Programmable Automation Controller, which truly meets the needs of manufacturing automation has a processor that works in close synchronization with the software, who commissioned it. The PAC will be abe very different platform like a PC would, but it would be able to work in more than one domain do. These include the arena, only the PLC, the logic of domination used to be occupied. Other domains include the motion, drive and process control. A distinctive feature of this real high-power controller is that it uses a development platform and database for the storage of developmental tasks that can interact with many automation tasks. This unique platform for many different developmentTypes of programs can be controlled in several languages ​​and written to instruct the devices of automation of production. The platform operates in an open architecture that can be mentioned for extensibility. The PAC uses all the standard protocols and data transfer that allows one hand, and communication with the corporate network. Data is effective from a CAP for the ERP and other enterprise systems to the economy,

When buying aProgrammable Automation Controller your cash outlay will be much less than if you took a different type of system. The cost of these devices has dropped dramatically in recent years. There is no doubt that you can not add support for a PLC for the same processing power you'd expect from a PAC, which would cost less to arrive. The ability to configure a PLC to change anything, it would be difficult in some cases, in other cases it would be impossible. But the programmableAutomation controllers capable of tasks, the task can be changed at little cost and effort. The PLC is designed to perform multi-tasking, which is integrated into the basic structure of the CAP. Extensions PAC a language which he ability to automate the most done. For example, some languages, the ability to create an enclosed space in RAM, while a program is running. Can be executed to perform some special memory allocated in this area a Dynamic Link LibraryTask that may be required by automation. Sometimes this DLL in another programming language then the one that used to be written to perform the recall.

The PAC has inherited the ability of the PC, but had to take some other features to make excellent use of automation in manufacturing.

Automation of production was waiting for a programmable automation controller

programmable logic controllers plc

[Read More..]


June 22, 2011

Programmable Logic Controller (PLC)

Or programmable logic controllers (PLCs) are digital computer specifically designed for automation, machine control and factory assembly lines. It is now widely used in industrial automation technology. This controller is different from general-purpose computer, they are primarily of multiple inputs and output modes developed. Its programming is done using a special computer language that the LAD, IEC 61131-3, the instruction mnemonic is sufficient,Sequential Function Charts (SFC), Structured Text (ST), Function Block Diagram (FBD) for Basic or C, which can then be stored in batteries or in a non-volatile memory. Ladder Logic technology allows you to take action in sequence mode, which makes it easy to use, even for those who are inexperienced in this computer-based machines to work. Each program works depends on the specific user-written with regard to the order and timing of the course of action to do for theMachine.

In his early years, the automation system requires the use of different systems over a thousand individual relays. Now it has expanded its functions, PLCs and microprocessors are now used in real-time control relays, timers, motion control and replace other complexities that make it available in a multi-functioned device creates. It 'also has a variable (analog) output or input device, such as an ON and OFF. Although, with the currentPower relays, can be turned on or off automatically, without a mechanical switch.

Programmable Logic Controller

Among its many advantages, the PLC is very flexible. A machine can now have multiple functions and control of the various programs handling. It 'very convenient, since errors and changes can be easily developed by modifying the circuit, or a sequence to change. The monitor is equipped with continuous monitoring of ongoing processes to ensure that the troubleshooting and maintenance.There is also space efficient, because memory is always greater than in these days and many application systems can be set in a single PLC. Its duration is also one of its services because its extreme conditions like heat, dust, humidity and more able to bear. In addition, the productivity of this improved system performance and reduce operating costs have increased, and increasing worker safety benefits are among human PLC.

There are different types of controls, which in itselfon the market today. Since it was created for the purpose of cars, which will operate on the current trend in popularity in the equipment mainly because of its advantages, multi-functions and capabilities in harsh environments. Now there are various PLC, most, if not all machines need to adapt. Installation, Tutorial and modification of PLC are also on the market for those who are willing to purchase such equipment for the system. E 'convenient, affordable and easy for a particular purpose of the user preference has changed.

Programmable Logic Controller (PLC)

programmable logic controllers petruzella

Wireless USB Adapter Reviews

[Read More..]


June 19, 2011

How to program a Siemens S7-300 Programmable Logic Controller

Do you have a Siemens S7-300 programmable logic controller, I do not know, but it is now necessary to plan! What follows is a set of instructions to help you with the quick start with the programming of a PLC Siemens S7-300 have done.

After downloading the software programming and connecting a Siemens MPI cable between the computer and the programming of the SIMATIC Manager by clicking the icon on your desktop. The STEP 7: "New Project" window opens. It 's easierTo use the wizard to communicate with the PLC configuration, but I chose the scenic route. I thought I learned more in that way. To close the STEP 7 Wizard by clicking Cancel. If there are no windows or other open projects, close it. We want to start with a completely new program.

Programmable Logic Controller

Create a new project with the New Project button on the toolbar at the top left of the display.

The New Project window opens. Below you can see all the programs is availableThe computer. At the bottom of the window you see the name: the registration form. Enter that in the new project and click OK.

A new window will open and display the project name at the top. You will also see your project in the window on the left side of the screen at the top. Right click on the project and select "Insert New Object". Select the device to program. We select the SIMATIC 300 station to the selection.

You will now seeSIMATIC 300 displayed in the right window on the screen. It should be highlighted in blue. Click anywhere on the window to the blue distance. Double-click on the SIMATIC 300 and it will move to the left window and "Hardware" appears in the right window.

Double-click on "hardware" and two (maybe three) new window opens. On the left is SIMATIC 300 - (project name). The window on the right side will be the parts catalog.

Look in the right window, the parts catalog, andClick the plus sign next to the SIMATIC 300

Click the plus sign next RACK - 300 Click and drag the guide on the left window. Now you will see cracks in the window. This is where we put our PLC components.

First, we will choose our CPU. Looking at the parts catalog, 300 in SIMATIC tree, select the CPU being used. We are using the CPU - 300 in click the plus sign next to these elections.

Now look at the front top left of the PLC. Here you can find thePLC model. I CPU313C DP-2 as an example, because this is the model that I use PLC.

Find this CPU in the parts catalog, and click the plus sign. You will see some part numbers.

Look back to your PLC. Find the port to the MPI. This will be the bottom left corner of the PLC. At the bottom of the door is the part number. Using the code for the PLC as an example, I 6CF03-313-0AB0.

Find this part number in the parts catalog. They areNote: This is another folder. Open it and see, V2.0 and V2.6. Review of the SPS, open the door for the MPI port, and just above the MPI interface, you will see v2.6.3.

Return to parts catalog and click on V2.6. Notice how a slot in the green box highlight the left. I think there will be slot # 2. (Slot # 1 is reserved for power.) Here you can drag and drop the CPU. (Note that the software does not allow you to set the CPU to a different slot but the slotNo. 2).

When you release the mouse button on the # 2 slot, open a new window "Properties - PROFIBUS interface." Click New, opens a new window, click OK and then OK again. We are not creating a network at this time.

You will see your CPU and associated hardware included.

Double-click on the crack in your list of DI16/DO16 (digital input / output).

A window with three tabs. The first tab is General, the second card, and addresses thethe third card will be inserted.

Open the "Addresses" tab. We need to change the default addresses. Do this by clicking on the button and change the system default 124 (or any specified address) is set to 0. Do this for both inputs and outputs.

Now we need to change the address of the node. Return to the window where you clicked twice DI16/DO16 and double-click slot 2, the CPU 313-2DP slot.

The properties - CPU 313C-2DP window opens.

Look at the window a little 'more than half wayand you will find the area of ​​interface, and then click Properties. Another "Properties - MPI interface of CPU 313-2DP" opens.
Change the address to meet specific criteria. I know that my laptop I'm using the PLC program, more than one address and my goal is directed generally as PLC 2. There will probably be the same.

Now click on MPI (1) and click OK. Click OK to close the properties.

Store and clicking on the icon on the left side is the compilationToolbar.

Download the hardware configuration in the PLC, located near the download icon in the toolbar.

A window titled "Select Target Module" should be opened. Click OK.

Another window titled "Select Node Address" will open. You should see your address for the node listed PLC with which you work, how you configured it in a previous step. Otherwise, click on View and click what looks like the address of the node and click OK.

Return to the SIMATIC Manager (by clicking on the tabTaskbar).

Click Options. Select Set PG / PC. Select PC Adapter (Auto).

Click Properties. A new window opens, showing Automatic profile or local bus connection. Click Local Port, and select USB. Now select the profile and automatically change the address bus 30. You can now check the connection, click Start monitoring network. When a new window opens and displays the type of network = MPI baud = 187.5kbps, you are gettingCommunication with S7-300. Click Close. Click OK. Click OK.

It 'time to start writing code. In view of the SIMATIC Manager window, click the plus sign next to the SIMATIC 300 (1) is located, click the plus sign next to the CPU 313C-2DP, click the plus sign next to S7 Program (1). Now click on blocks and you will see the system data and OB1 are in the right window on the screen.

OB1 and double-click to open a new window called Properties - Organization Block

Here you can choosehow to program in Ladder Logic (LAD), STL (statement list) or FBD (Function Block Diagram). Select you want to use and click on OK.

Double-click again and OB1 LAD / STL / FBD program window.

You can now start programming.

I have these same instructions with pictures on my website at http://www.saturdayafternoonhobbies.com

How to program a Siemens S7-300 Programmable Logic Controller

programmable logic controllers plc

Wireless USB Adapter Reviews

[Read More..]


June 16, 2011

To what extent can a Programmable Automation Controller Take your production?

If you have not already looked programmable automation controllers (PAC), now that your production will be updated with these perfectly capable of automation equipment. Programmable automation controllers have opened the world of automation technology for the production. It was not too ling ago, programmable logic controllers (PLCs) were doing the tasks in the production, which requires automation. Now is the time for programmable automation controller to the standard declarationController for the automation of production.

The PLC sets the stage for the PAC. As one of the first device is to issue instructions to the programmable controllers PLC is limited in its comparison function. The PLC is running on a proprietary, closed network models and control devices after a series of ladder logic as the basis for control. With push technology came to the CAP, which opens the possibility of automated production. The CAP provides productionperform a series of protocols and hardware standards, distributed processing in a multitasking environment. The CAP operates in different sectors and uses open communication standards. This device is modular and will exchange data in various formats. He works in a fully integrated development environment.

Programmable Logic Controller

Programmable Automation Controllers are multifunctional, all signal types, automation can be exchanged with the serial control,analog and digital. Information that is sent and received in the form of text to and from devices such as keyboards, test equipment, scanners and readers can be easily managed by a PAC. The digital signals as on / off switch and the conditions will be forwarded to a PAC. Analog signals such as levels of pressure, flow rate, and temperatures are to be treated. Crossing domains on the standard production process is common practice for CAP. Hardware device capable of collecting dataremote devices or machines in the workshop. Process control for every type of industry is a task performed by the CAP first.

Programmable automation controllers using standard protocols and standard technology components. There is no need for specific training for the operation of network hardware and software that is used in common with a PAC. Now accepts hardware such as network hubs and routers as well as all the standard Internet protocols, TC / IP, SNMP, SMTP, UDP, FTP andbe used. Once the breadth of functionality for the automation controller is the entire system has a wider range of communication for mobile devices. Multitasking is a great capacity of the PAC. Managers can be kept in communication with the operating system automation through mobile devices that communicate with the PAC. When communicating with customers or suppliers with a sort of protocol, the PAC also run separate programs for the control of automation equipment. It can also beinvolved in distributed computing, that the timing of PAC with PID control loops must interact. The multi-tasking is all about the processor or processors that work are based in the CAP. The clock speed of this machine is very fast, so do a lot of things in a very short period of time.

The PAC is very modular, capabilities can be added and removed from a unit of PCBs in the form at any time. The computing power possible for a PAC that can be addeda card processor in there, from one or more additional processing cards. After this type of device capabilities can help, all the functions and activities that are under the control of the CAP to be optimized. The cost for this type of additions to the CAP are minimal compared to the processing and production capacity, the output is recorded. Modularity, which can be added, is built with standard interfaces, so that cards from different manufacturers can be included without difficulty. Monitoring aCAP is a software interface easy to read and interpreted by a screen made to the CAP. The development of applications can be made through the user interface so that the skills can be added to the control environment when they are needed.

Programmable automation controllers have opened the door for complete flexibility for factory automation hardware and software standards. This flexibility provides manufacturers with an inexpensive way to add a fullAutomate their operations in a short period of time. After this standardization, distributed throughout the majority of customers and suppliers, communicating with other companies provided a further impetus, not to mention the ability to communicate in-house. Most processors offer the possibility of a task that is assigned to the speed without affecting the other automation tasks that are done for CAP. Even better, the PAC has the ability, all information relating to the production process for use in the store databasesubsequent analysis of the production.

To what extent can a Programmable Automation Controller Take your production?

programmable logic controllers plc

Wireless USB Adapter Reviews

[Read More..]


April 19, 2011

Programmable Logic Controller or PLC

SPS is intended to replace the relay in a sequential control group. In addition to programs, this tool can also be controlled and managed by people who have no knowledge of information technology activities in particular.

PLC stands for programmable logic controller, what does the following:

PLC

1.Programmable
demonstrate their capability in terms of memory for programs that have been made to save the slightly different function or benefit.

2.Logic
demonstrate the ability to input in the process of arithmetic and logic (ALU), compares the operation, add, multiply, divide, subtract, denial, AND, OR, and so on.

3.Controller
to produce the ability to control and manage the process for the desired output.

The basic elements of a PLC consists of a power supply, Digital, memory, CPU, input modules, output modules. The following describes each of these elements.

The power supply is usedTo supply all parts of the PLC (CPU, memory, etc.). Most of the work on power 24 VDC or 220 VAC PLC.

Console programming is a programming panel as it RAM (Random Access Memory) used as a semi-permanent memory in a program that was created or modified. programs on the console must be in the form of mnemonics. This unit can be connected directly to the CPU via a cable that can be installed and ekstentionremoved at any time.

The memory is a component for storing the program for the PLC is then expected to function as needed to run a program. The program should be safely stored in such a way that the PLC can access instructions for the commands. They also had to temporarily store data during program implementation.

CPU (Central Processing Unit) is the central processor of data and control for the entire work of the PLC system.'s ProceduralCPU and other international control of all operations, maintain current programs in memory and the management of communication between memory, input-output and CPU through the system bus. CPU is also used for the implementation and transformation of the functions of the program has been determined that you want.

module provides functions for receiving input signals from sensors, devices and signal settings, termination, isolation, and indicator of the input signal status. The signals fromDevices are scanned and sent to the PLC via the interface module in

The output module activates a variety of devices such as hydraulic actuators, pneumatic valves, starters, and show the status of peripheral points of the system are connected. Other features include air conditioning module output signals, termination and also exist in isolation. Activation occurs in nature by sending discrete and analog signals relevantBased on his character, the PLC digital device.

Example of process automation with PLC PLC

Programmable Logic Controller or PLC

plc-xu4000

[Read More..]