|
I even tried a time ago to open a section about it in the forums, articles. But there was not a big resonance and I dropped the idea.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hi Glenn...
I am cleaning up my inbox and I found this answer. It has been a while and I wondered how this topic evolved.
My offer is still up, if you need anything just contact me.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Thanks alot, but that since has died a death. I'll give you the full story, my previous employer had a system for moving moulds on a conveyor belt, this was not used as it wasn't powerful enough to move the moulds (also the rollers were linked with silicon belts, rather than a chain drive). So the unit was preposed to be upgraded as they had bought next door and were going to expand into. At which point it was moved with haste not allowing me to follow through what was connected to what and dumped. In sorting through the mess I found some interesting details such as the PLC and three phase power unit were connected incorrectly all the interconnecting cables were blue and no idents on them. Jumped ship due to that and another unconnected issue when I was offered a better job else where.
|
|
|
|
|
My advise is to find out how it's supposed to work, then get a Click PLC from Automation Direct and re-implement it.
|
|
|
|
|
You can email me. In engineering, it is a very common programming standard, along with other standard you would be more familiar with. It can be converted to a more procedural style with fancy Allen-Bradley tooling, modified, then converted back. You usually want a systems integrator to do it, because you’re running equipment. Give me a shout. pjschieck@aol.com
Pete Schieck
Legal/business refs:
build-a-concert.com/legal
|
|
|
|
|
Cheers, the issue is I have do a bit a college many moons ago. I remember enough to be dangerous. Didn't know anyone in address my book, I know VHDL, C, C++, C#, Java, VB not ladder!
|
|
|
|
|
The coolest tip I can give to a C programmer would be that 110V is on one side of the ladder, and NEUTRAL is the other side. Each step (rung) of the ladder is a Boolean switch (or multiple) to turn ON a light. FYI: Rockwell inspection rungs are different than standard Boolean logic, so it can be tricky. But, with your procedural knowledge, it just takes a bit of converting bools to electrical ‘switches.’ PLCs (the controller) are simply arrays of Boolean-mapped (as in truth tables) relays in an electrical panel … really, really small relays.
I always have to take a refresher video when I convert, as I program in C and ladder.
Typical Rockwell ladder rung:
If (on the left side of the ladder rung) the switch is closed (e.g. light switch)… then complete the circuit to the light circuit, which is represented as a COIL on the right of the rung. Execution order (PLC ‘scan’) is top-to-bottom of rungs. Rockwell uses ‘tasks’ to break ladders into logical sections.
Good luck. Rockwell is the best.
- Pete
|
|
|
|
|
Alien: Romulus | Teaser Trailer - YouTube[^]
In two minds on this one - the trailer looks good, but lacks any sense of a story going on. I'll probably wait till it's streaming rather than go to a cinema.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
For me it's Alien (a horror film in outta space) & Aliens (A war movie in the style of Zulu) Alien3 and on are not worth a Cinema ticket in my view.
|
|
|
|
|
I agree
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Too scary for me
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
OriginalGriff wrote: Romulus
Given the name, I was expecting another Star Trek movie/show.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
or Ridley Scott still on a Roman vibe with a sequel called Remus.
|
|
|
|
|
So, a follow-up to Star Trek: Nemesis[^] then?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'm quite a fan of the Alien/Predator/Prometheus movies. Prey didn't have much of a story either but I still enjoyed it.
Hopefully this adds a bit more to the AvP universe.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
Mind you just thinking about, the ship in Prometheus was the original design for the bridge in Alien, just cost too much money to build so they went for lots of small light bulbs and industrial look. Which to my mind is how it should look, container ships look that way as they are functional rather than pretty. Which follows my mantra of Pretty's nice, ugly works!
|
|
|
|
|
Until a light on an all-black panel lights up black...
|
|
|
|
|
Dang, the target users were not Voguns or have a lack of taste, so black on black not sure an issue!
|
|
|
|
|
Message Removed
modified 21-Mar-24 2:04am.
|
|
|
|
|
Message Removed
modified 21-Mar-24 2:04am.
|
|
|
|
|
but I stand corrected.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Not sure if this counts as a programming question, since I'm not asking for code but rather preference. I'm in a project that requires complete accuracy on numbers. So, given the following...
We all know the famous of examples of stuff like this:
0.1 + 0.2
Up until now, I've been content with rounding off any operations after the fact and calling it a day, as close enough was good enough. For applications, say that deal with currency, the age old trick is to just use integers based on a cent value. So, a $1.23 would be stored as 123 in a variable. Sweet, but, consider this:
12345 / 225
If I move along powers of the base, I never run into issues. But for your typical run of the mill calculations, even with integers, you still have to deal with fractional floating points in the arithmetic.
So, I've been using integers and rounding off any calculations to their nearest integer value. Maybe sometimes I'll floor or ceil depending on context, but that's been my current solution, which is a lot more accurate but not 100% accurate. But, good enough-ish.
Soooo....
1) You guys prefer using a library to handle stuff like this? IMO I don't use one for arithmetic because most libraries for this (at least in JavaScript) are clunky and slow and don't really do a better job anyway.
2) You think integers and rounding is also the way to go? Keeps crap simple and all that, despite needing to remember to always round after division calculations or calculations against fractional types.
3) Never do arithmetic? Tell the user to go home.
Jeremy Falcon
modified 20-Mar-24 22:18pm.
|
|
|
|
|
integers with rounding (really a form of fixed decimal) is ok, but with money there may be accounting rules for rounding.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
jmaida wrote: but with money there may be accounting rules for rounding Yeah, fortunately, for this application at least... that's not a concern. I think...
Jeremy Falcon
|
|
|
|
|
Then I agree, integers with rounding is simple and should work for most applications.
Consistency is key. Pick a precision and stick with it.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|