Quick question about PLC testing

Edgar

Guest
E
I am new in the field so bare with me please. I just programmed this PLC controlling this machine. I want to test my process to see if it works without actually using the real outputs (motors, pump contactors, solenoid valves...) So what is the best way to do that? Can I just unplugged the fields outputs wires from the PLC (what are the risks involved with that) or is it better to use the spare outputs that I have on my PLC.
Thanks
 
Edgar,
Usually you can isolate the outputs with fuses, breakers, etc.
Depending on your equipment, most processes are dependent on things actually happening (i.e. sensors making, starter feedback, etc.)so your logic may not work completely.
Hope this helps...
 
1'st question is what make/model PLC & software are you using??

Bentlya has a good point, no feedback from the system usually makes testing a bit more involved. In my case I have a "test tower", a small model of a fully working elevator. It has all the buttons, switches indicators and so on, but that's a pretty big investment for just one project... So you may have to disconnect the terminal strips on your I/O and force the inputs, and watch for the desired results..

Answer the question, and I'm sure you can get some real spicific answers..

Mike.
 
You are right. I thought about it after I posted my topic. Anyway I am using a Siemens S7-200 (CPU 214) running on Step 7 MicroWin 32. So like you said I may have to force the inputs. I think that's better cause I can check everything I need. Can I just disconnect the terminal strips with no problems?
 
Im not sure about the Siemens, but most current model PLCs have removable terminal strips on the I/O modules. Check your manuals before prying on them..
 
Can I just disconnect all the I/O wires from the terminal block one by one (I have about 20 inputs and 20 outputs so it's not that many.
My concern is will this cause any spikes, surges, or...
Will it be safe for the system as long as those wires do not touch each other?
 
Well, first off you need to verify your outputs. If an output is energized, and you suddenly disconnect it, are you okay with it turning off? Will something very large move when you do this on your machine? Check your energized I/O, see what it will effect. Otherwise, I don't see any issues that you mentioned.



Greg
 
Edgar, do you mean you want to test the program without having to run the machine?
In this case, you might load the program in a spare PLC with some switches connected to the inputs. This way you can 'play' the machine yourself by activating the inputs manually.
For S7-300, Siemens sells I/O modules with switches instead of a terminal block, but if they don't exist for s7-200 you can make it yourself easilly.

Polle
 
Yes I want to test the program without having to run the machine, and I do not have any spare PLCs.
 
As mentioned in a post earlier this week, it's a good idea to map all of your physical IO to internal bits, then use thes bits throughout the program. During testing, these bits can be mapped to other internal bits, rather than the physical io addresses. The inputs can then be simply toggled on/off, rather than having to use forces.
What this also allows you to do is simulate feedback from the outputs. For example, if an output controls an air cylinder, then the cylinder probably has a couple of reed switches connected to inputs. Using the IO mapping method, it's easy have your cylinder output also turn on the expected inputs. Using timers, you can even simulate the time required to extend/retract the cylinder. With a little imagination, you can simulate almost anything.
 

Similar Topics

I apologize for not having the model of the plc. I am trying to get it. I have a print out of the program and it seems straight fwd. One...
Replies
12
Views
3,425
What is the current cable to use to connect a laptop PC to a PLC-5 channel 0 (25 pin connector). I have a homemade cable that is just like...
Replies
3
Views
1,530
I have a solenoid powered off a 1756-OA16I. The output has a fuse and then runs off to the solenoid. Now I am not able to change the card at...
Replies
4
Views
1,419
I've got a AB Micrologix 1200 PLC and I've attached a picture below showing a rung with a nest. If B3:2/5 is initially cleared and we go to SBR...
Replies
16
Views
5,306
Hi everybody i am currently working with a project at my company and i have spent mostly of the evening yesterday and the morning today trying to...
Replies
8
Views
4,008
Back
Top Bottom