ElectricalAge icon indicating copy to clipboard operation
ElectricalAge copied to clipboard

Add PLCs and sensors

Open Domi1993 opened this issue 9 years ago • 21 comments

A PLC will be cool and sensors and different types of switches (Emergency stop, rotating switches...) And some thing to make an elevator or something other like a crane..

I'm missing the auxiliary contacts to attach on relays to get a feedback of their state, combined with Signal relays/Contactors. To made some custom controls with it (elevatorcontrol)

Domi1993 avatar Dec 08 '15 16:12 Domi1993

PLCs are coming. I have a good deal of preliminary work to do first, so they aren't coming soon, but they're coming.

I'm uncertain what you mean by relay feedback, though. There isn't a failure chance... Ah, because of the hysteresis?

Baughn avatar Dec 13 '15 17:12 Baughn

No i mean that i can put a signal wire to the relay for an signal contact that do the same thing like the big contact so i can activate a light or something to show that the relay is closed

Domi1993 avatar Dec 13 '15 20:12 Domi1993

Just look for auxiliary contacs in wikipedia or in google

Domi1993 avatar Dec 13 '15 21:12 Domi1993

Look here https://de.m.wikipedia.org/wiki/Datei:Selbsthaltung.gif

This is a typical usage for auxiliary contacts from a relay, the contact K1 will be used to make a rs flip flop function for the relay

Domi1993 avatar Dec 14 '15 08:12 Domi1993

3 of the 4 possible contact directions of the current relay are used. How should we add another two? This would mean we have to create a 2-block relay. If you need flip-flop functionality, you can just take two relays in order to implement it. Another possibility would be to add self-holding functionality to the relay as an additional mode to normal and inverse mode...

cm0x4D avatar Dec 14 '15 10:12 cm0x4D

Yes but there are no Signalrelays i mean when there are signalrelays my problem is solved.

The problem is that normal relays cannot switch signalcables. How do you think i should made a RS-flip-flop with relays that not accept signalwires at them Maincontact? I dont want to use everytime a signalprocessor.

Domi1993 avatar Dec 14 '15 10:12 Domi1993

I added a signal relay to the branch "features/signalRelay". The model is just a flat version of the normal relay. What is actually still missing is a signal source in order to drive the self-holding mechanism, I used a switch (Always on) to power the relay contact. Not sure if the feature will make it in the main branch, have to discuss this with other mod devs... Feel free to test the new relay (Signal Relay).

cm0x4D avatar Dec 14 '15 21:12 cm0x4D

How i can get to this branch to get the relay

Domi1993 avatar Dec 15 '15 07:12 Domi1993

You need to have installed git and gradle.

Then just type into a terminal:

git clone https://github.com/Dolu1990/ElectricalAge.git
cd ElectricalAge
git checkout features/signalRelay
gradle runClient

cm0x4D avatar Dec 15 '15 07:12 cm0x4D

Pop by IRC if you have trouble with that. Well, and have patience; the channel isn't very active yet, and I'm flying today. So maybe tomorrow. :D

Baughn avatar Dec 15 '15 10:12 Baughn

I tried the git and gradle in GitBash console gradle runClient says me unknow command must i enter in another console gradle runClient? In which console?

Domi1993 avatar Dec 17 '15 07:12 Domi1993

Ok, seems you are on Windows. Can't help there, maybe ask on IRC.

cm0x4D avatar Dec 17 '15 09:12 cm0x4D

Try ./gradlew runClient in the eln directory

bloxgate avatar Dec 17 '15 19:12 bloxgate

"./gradlew" only works on Unix-like systems. I think there's a .bat wrapper for Windows, though..?

Baughn avatar Dec 19 '15 12:12 Baughn

??? I don't know anything about computer related things like programming or .bat wrappers

Domi1993 avatar Dec 19 '15 12:12 Domi1993

But you can ask me things about Eletricity PLCs and Relays and the other Electromechanics.

But Computer And Electronics i'm know only basics

Domi1993 avatar Dec 19 '15 13:12 Domi1993

Can you say me why Minecraft is only using 1% GPU Power of my Intel graphics 4400?

It's lagging but a few months ago it runned very good, i don't know what i can do for this problem it is on Win 10 when it worked good it was on win 10 too

Domi1993 avatar Dec 19 '15 14:12 Domi1993

./gradlew has been working fine for me on my Windows 10 system.

bloxgate avatar Dec 19 '15 23:12 bloxgate

Just one little question have you programmed the batteries according to a real battery characteristic when yes for which battery type. I think you have do something custom for that, and nothing like a Pb battery with it's real voltage characteristics

Domi1993 avatar Dec 20 '15 11:12 Domi1993

The Signal relay is awesome it's needed in an Official ELN-Release

Domi1993 avatar Dec 27 '15 13:12 Domi1993

This looks completed? Minus a elevator and some buttons?

jrddunbr avatar Apr 06 '19 20:04 jrddunbr