If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #2063
Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
i've picked up an old misubishi PLC from a junk pile at an surplus store, the model number is FX1s-10MR-001 i got the programming cable and softwar, and tested a sample program anyone here knows how to program PLCs with ladder logic the worst thing i hate about programming in ladder logic is that the outputs don't have registers i need a program that when input 1 is activated, output 1 turns on, if input 1 is activated again output 1 turns off
Registered Member #2628
Joined: Fri Jan 15 2010, 12:23AM
Location:
Posts: 627
hello, Ive got a mitsubishi FX2N series, not the FX1s, but IIRC, they are pretty simular.. do you have a picture of the thing? im sure it has two sets of screw terminals, being X and Y.
X are inputs and Ys are your outputs, also, what program are you using for it? I used GX developer. most of them have pre-set functions that you can select (for example: M8032 (not exact #, but started with M.. im a bit rusty on this) for my PLC, which is a coil that is a preset function for a 1 second pulse. writing on ladder logic for these functions will look something like this:
where the terminal on the X side (labeled 1) will be an input (mine is just wire shorted from RUN to X terminal/s used) Y is the outputing relay, where it will be opened/closed at 1 second intervals, and M, is the preset function that exists on the PLC.
usually there are "blocks" of screws, where they have a common point for a set of relays. so you will have to wire Y1 and COM to have a relay to do something, which for example can open/close another X input, so lets say 1 second wait, Y1 closes, which is a relay for X2, and it will perform another function, and so on so forth, or they can be controlling whatever you want it to do.
At least thats how my PLC was working. try finding a manual on the thing, it should have a full list of preset functions for you to mess with before writing your own commands. if someone else here used these ones before, and you spot an error, let me know. It has been too long since ive played with it.
Registered Member #2063
Joined: Sat Apr 04 2009, 03:16PM
Location: Toronto
Posts: 352
and i just picked up a variable frequecy "thngie" that takes 50/60 Hz 3 phase AC and make them 0.2-400Hz AC and are 9600uf 400v electrolytic capacitors for $15.00 each a good buy?
Registered Member #2028
Joined: Mon Mar 16 2009, 08:13PM
Location: Norway
Posts: 319
I've written a few programs in ladder using Simatic Step 7. I havent tried Mitsubishi or GX developer yet.
The program you describe is basically a "toggle". Often ladder programs have a function block for the toggle function that you can use, especially if the PLC is of a newer date.
I had the same problem once, and if i remember correctly, i ended up using two counter functions. One counting to 1, the other counting to 2. Like this:
    I0        C0 ---[ ]-----[C       ]
            [ Cup  ]     C1     [         ]     ---[ ]-----[R       ]-1
    C0        Q0        ---[ ]--------( )
    I0        C1 ---[ ]-----[C       ]
            [ Cup  ]     C1     [         ]     ---[ ]-----[R       ]-2
In Simatic the inputs are referred to as In and the outputs are referred to as Qn. Cn are counters, Tn are timers and memory bits (or fake outputs if you will) are Mn. All of them can be used as switches within the program.
Ladder is a language that is really easy to learn, and you dont need to know anything about processors and registers and such to use it. Thats why it has become so popular with PLC's.
You say you miss registers in ladder programming, but you can still use memory's on the outputs. Again, in Simatic:
    I0        Q0 ---[ ]----
--(S)
    I1        Q0 ---[ ]------
(R)
Here you have a program for say, office lighting. A signal on the input I0 turns the light on (output Q0), and a signal on the input I1 turns the light off. Basically a Set-reset latch. And in Simatic there is also a function block for the SR-latch:
    I0           Q0 ---
[Â ]-----[SÂ Â Â Â Â Â ]
               [ S/R  ]
    I1        [        ] ---
[Â ]------[RÂ Â Â Â Â Â ]
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.