Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-25 Thread richshoop
. 

-- 
Greetings Bertho 

(disclaimers are disclaimed) 



-- 

Message: 3 
Date: Mon, 23 Mar 2015 21:59:04 -0600 
From: Gregg Eshelman g_ala...@yahoo.com 
Subject: Re: [Emc-users] Ladder logic documentation [Was: Simple, 
adjustable timer] 
To: emc-users@lists.sourceforge.net 
Message-ID: 5510e108.2010...@yahoo.com 
Content-Type: text/plain; charset=utf-8; format=flowed 

On 3/23/2015 7:37 AM, Erik Christiansen wrote: 
 On 23.03.15 08:33, Mark Wendt wrote: 
 
 So, following that logic, off is on, and on is off. ;-) 
 
 Taking such facetiousness at face value, I think the real situation is: 
 
 OFF is on and off, and ON is on and off 
 where OFF/ON is input, and on/off is output, with no and nc contacts 
 simply being the complement of each other. 

Sounds like a meditation mantra from an old SciFi book, I have it 
somewhere, can't recall the author or title right now... note the 
capitalization... 

Is Not is not Not Is. 
Not Is is not Is Not. 

If Is is Is Not and Is Not is Is then Is is Not Is... 

IIRC it had something to do with reality VS one's perception of reality 
and getting rid of misperceptions that limit one's potential. 

--- 
This email has been checked for viruses by Avast antivirus software. 
http://www.avast.com 




-- 

Message: 4 
Date: Mon, 23 Mar 2015 22:31:47 -0600 
From: Gregg Eshelman g_ala...@yahoo.com 
Subject: [Emc-users] Anyone remember the Purdue CAD-LAB? 
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net 
Message-ID: 5510e8b3.4010...@yahoo.com 
Content-Type: text/plain; charset=utf-8; format=flowed 

Circa 1999 Purdue University's CAD-LAB developed some CAD/CAM software 
for Windows, Macintosh and Linux I'd like to obtain copies of. The main 
reason I'd like to get that is because some of it was written 
specifically for a proLIGHT PLM2000. The tutorial showing how to use the 
software is very interesting - but without the software it only makes me 
look grimly at the old DOS program and wish for LCNC support for the 
PLM2000. (Or support from *any* somewhat modern machine control software.) 

Being open source, recovering it should be of some benefit at large for 
CAD/CAM development. 

archive.org saved the website and some of the documentation but not the 
software due to their FTP server having a robots'txt file at the root 
level. Since then the university has completely altered their public FTP 
(what little there is of it) and nothing from then is there. The 
functions of the CAD-LAB have been spread around the engineering department. 

It doesn't matter if a robots.txt expressly permits spiders, crawlers 
and archivers (which Purdue's did), archive.org will not save anything 
from any site or server at or below the level where a robots.txt file is. 

As for getting G-code that works on the PLM2000, I've successfully used 
Heeks with the LCNC post process option, have to comment out the G43 it 
insists upon inserting and I have to edit the feed rate, which for some 
reason it always sets at 4 IPM no matter what I select in the GUI. Eh, 
it's a work in progress and only cost $15 for the no-nag version. At 
least I can cut metal in fancy shapes! :) 

The major difference between the Animatics and Fanuc controllers Light 
Machines used is Animatics defaults to incremental arc centers (put a $ 
in the NC file to switch to absolute) while the later Fanuc model 
defaults to absolute arc centers (add a % to the NC file to switch to 
incremental). 

--- 
This email has been checked for viruses by Avast antivirus software. 
http://www.avast.com 




-- 

Message: 5 
Date: Tue, 24 Mar 2015 14:19:16 + 
From: andy pugh bodge...@gmail.com 
Subject: Re: [Emc-users] Anyone remember the Purdue CAD-LAB? 
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net 
Message-ID: 
can1+yzxmed3yaoetjvrjb+gpxtcgckcbndyawpcg_uus_pm...@mail.gmail.com 
Content-Type: text/plain; charset=UTF-8 

On 24 March 2015 at 04:31, Gregg Eshelman g_ala...@yahoo.com wrote: 
 it only makes me 
 look grimly at the old DOS program and wish for LCNC support for the 
 PLM2000 

Have you made any progress on sniffing the communication protocol? 

-- 
atp 
If you can't fix it, you don't own it. 
http://www.ifixit.com/Manifesto 



-- 

Message: 6 
Date: Tue, 24 Mar 2015 18:04:59 -0600 
From: Gregg Eshelman g_ala...@yahoo.com 
Subject: Re: [Emc-users] Anyone remember the Purdue CAD-LAB? 
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net 
Message-ID: 5511fbab.9000...@yahoo.com 
Content-Type: text/plain; charset=utf-8; format=flowed 

On 3/24/2015 8:19 AM, andy pugh wrote: 
 On 24 March 2015 at 04:31, Gregg Eshelman g_ala...@yahoo.com wrote: 
 it only makes me 
 look grimly at the old DOS program and wish for LCNC support for the 
 PLM2000 
 
 Have you made any progress on sniffing the communication protocol? 

Don't know what I'd need to do that. Possibly

Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Rick
  I managed to get lost in this thread, what ladder component is in 
question here?

I rely heavily on Classicladder in my machines, averaging over 200 rungs 
per machine, and am curious as to what may be possibly wrong.

Thanks

Rick



On 3/23/2015 8:33 AM, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 8:09 AM, Erik Christiansen dva...@internode.on.net
 wrote:

 On 23.03.15 07:30, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen  wrote:
 Try it as I describe, and the diagram and text should align without any
 clashing of mental gears.
 The logic still doesn't match up with the simple switch diagram.
 And yet you show yourself that it does, and your subconscious
 understands the logic:

 B1 has to be activated for current to flow to the coil, to close the
 contact on Q0.
 Yep, that's the green button on a commercial or homebuilt NVR.
 It's momentary, NO. Press it for the NVR to latch on.
 (And activated == on, so NO - closed, both for switch and relay.)

 B0 has to be in it's normal state.
 Yep, that's the red button on a NVR, as on my lathe.
 It's momentary, NC. Press it to reset the NVR latch.
 (normal state == inactivated == off == NC is closed, NO is open )

 If you activate B0, you cut off the current and the contacts on Q0
 open.
 Yup, that's the mechanics of the relay logic implementation.
 (activated == on = NC-open, NO-closed, possibly both on the same
 switch or relay, and maybe six of each on the one relay, if there is
 output to many other ladder rungs.)

 See, the logic _is_ coherent.  :-))

 Erik


 So, following that logic, off is on, and on is off.  ;-)

 Mark
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

-- 

Thanks


Rick Lair
Superior Roll  Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Mark Wendt
http://www.vdwalle.com/Norte/Classic%20Ladder%20Examples.html

Section 1.1 Basic Ladder

Basic Concepts

On Mon, Mar 23, 2015 at 8:52 AM, Rick r...@superiorroll.com wrote:

   I managed to get lost in this thread, what ladder component is in
 question here?

 I rely heavily on Classicladder in my machines, averaging over 200 rungs
 per machine, and am curious as to what may be possibly wrong.

 Thanks

 Rick



 On 3/23/2015 8:33 AM, Mark Wendt wrote:
  On Mon, Mar 23, 2015 at 8:09 AM, Erik Christiansen 
 dva...@internode.on.net
  wrote:
 
  On 23.03.15 07:30, Mark Wendt wrote:
  On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen  wrote:
  Try it as I describe, and the diagram and text should align without
 any
  clashing of mental gears.
  The logic still doesn't match up with the simple switch diagram.
  And yet you show yourself that it does, and your subconscious
  understands the logic:
 
  B1 has to be activated for current to flow to the coil, to close the
  contact on Q0.
  Yep, that's the green button on a commercial or homebuilt NVR.
  It's momentary, NO. Press it for the NVR to latch on.
  (And activated == on, so NO - closed, both for switch and relay.)
 
  B0 has to be in it's normal state.
  Yep, that's the red button on a NVR, as on my lathe.
  It's momentary, NC. Press it to reset the NVR latch.
  (normal state == inactivated == off == NC is closed, NO is open )
 
  If you activate B0, you cut off the current and the contacts on Q0
  open.
  Yup, that's the mechanics of the relay logic implementation.
  (activated == on = NC-open, NO-closed, possibly both on the same
  switch or relay, and maybe six of each on the one relay, if there is
  output to many other ladder rungs.)
 
  See, the logic _is_ coherent.  :-))
 
  Erik
 
 
  So, following that logic, off is on, and on is off.  ;-)
 
  Mark
 
 --
  Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
  by Intel and developed in partnership with Slashdot Media, is your hub
 for all
  things parallel software development, from weekly thought leadership
 blogs to
  news, videos, case studies, tutorials and more. Take a look and join the
  conversation now. http://goparallel.sourceforge.net/
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users

 --

 Thanks


 Rick Lair
 Superior Roll  Turning LLC
 399 East Center Street
 Petersburg MI, 49270
 PH: 734-279-1831
 FAX: 734-279-1166
 www.superiorroll.com



 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Erik Christiansen
On 23.03.15 08:33, Mark Wendt wrote:
 
 So, following that logic, off is on, and on is off.  ;-)

Taking such facetiousness at face value, I think the real situation is:

OFF is on and off, and ON is on and off
where OFF/ON is input, and on/off is output, with no and nc contacts
simply being the complement of each other.

Even ECL logic gates have both inverted and uninverted outputs.
They also provide a logic 1 _and_ a logic 0 output for true input.

The confusion seems to arise from the fact that relay logic, whether
ladder logic or just a rat's nest, performs its boolean operations using
many outputs (relay contacts), and just one input, if we take the
physical relay as the component.

Once we see the logic gate as a physically dispersed collecting of input
contacts, and an output coil, then we're beginning to see the ladder
wielder's view - each rung is a logic gate with an arbitrary number of
inputs, normal (NO) or inverted (NC). The fan-out of a gate is the
number of contacts, but it is possible to run out of normal fan-out
before inverted, or vv. Fan-in is higher than anyone would normally ever
need, especially with higher voltage coils.

And finally, on what is on, and what is off:
When an input switch or a relay is energised, then all its contacts
transition from what they wuz to what they wuzn't. (So we could call
it wuzzy logic, perhaps. ;-)

Erik

-- 
Harrisberger's Fourth Law of the Lab:
   Experience is directly proportional to the amount of equipment ruined.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Erik Christiansen
On 23.03.15 05:49, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 5:41 AM, Erik Christiansen wrote:
  Though I am a logic kinda guy, not a ladder wielder, I interpret
  the off to refer to the B0 coil, not one of its contacts, which
  may be NC or NO. That makes a NC contact an inverted output which is
  a 1 when the input is 0.
 
  Does that realign the planets?
 
 I'm a comp sci kinda guy, so I'm familiar with logic too.  ;-)
 
 According to the description, B0 and B1 are switches, not relays.

Ah, true. Them's input switches, and the thing operates like a standard
No-Volt Release.

 Q0 is the relay.  And it also says in the description B0 is normally
 closed.  So, with that in mind, is normally closed off, and open
 on?

Now the meaning seems to me to be that the switch is on when it has
been actuated, i.e. not in its default state. That will open a NC, and
close a NO contact. Just like any relay further down in the ladder, NC
and NO contacts are inverted and non-inverted outputs from a single
input gate, and have opposite logic levels for the same condition of
on for the relay/switch. (Boolean operations are implemented by
parallel/serial contact combinations on these outputs, not on gate
inputs, so a bit of A..-backwards nomenclature is needed to make it
simple, I think.)

I don't believe the description is remotely coherent if off/on were to
be interpreted as 0/1 logic levels.

Try it as I describe, and the diagram and text should align without any
clashing of mental gears.

Erik

-- 
A computer is like an air conditioner, it works poorly when you open Windows.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Erik Christiansen
On 23.03.15 07:30, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen  wrote:
  Try it as I describe, and the diagram and text should align without any
  clashing of mental gears.
 
 The logic still doesn't match up with the simple switch diagram.

And yet you show yourself that it does, and your subconscious
understands the logic:

 B1 has to be activated for current to flow to the coil, to close the
 contact on Q0.

Yep, that's the green button on a commercial or homebuilt NVR.
It's momentary, NO. Press it for the NVR to latch on.
(And activated == on, so NO - closed, both for switch and relay.)

 B0 has to be in it's normal state.

Yep, that's the red button on a NVR, as on my lathe.
It's momentary, NC. Press it to reset the NVR latch.
(normal state == inactivated == off == NC is closed, NO is open )
  
 If you activate B0, you cut off the current and the contacts on Q0
 open.

Yup, that's the mechanics of the relay logic implementation.
(activated == on = NC-open, NO-closed, possibly both on the same
switch or relay, and maybe six of each on the one relay, if there is
output to many other ladder rungs.)

See, the logic _is_ coherent.  :-))

Erik

-- 
Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort? 
  - A. P. J.


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Mark Wendt
On Mon, Mar 23, 2015 at 8:09 AM, Erik Christiansen dva...@internode.on.net
wrote:

 On 23.03.15 07:30, Mark Wendt wrote:
  On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen  wrote:
   Try it as I describe, and the diagram and text should align without any
   clashing of mental gears.
 
  The logic still doesn't match up with the simple switch diagram.

 And yet you show yourself that it does, and your subconscious
 understands the logic:

  B1 has to be activated for current to flow to the coil, to close the
  contact on Q0.

 Yep, that's the green button on a commercial or homebuilt NVR.
 It's momentary, NO. Press it for the NVR to latch on.
 (And activated == on, so NO - closed, both for switch and relay.)

  B0 has to be in it's normal state.

 Yep, that's the red button on a NVR, as on my lathe.
 It's momentary, NC. Press it to reset the NVR latch.
 (normal state == inactivated == off == NC is closed, NO is open )

  If you activate B0, you cut off the current and the contacts on Q0
  open.

 Yup, that's the mechanics of the relay logic implementation.
 (activated == on = NC-open, NO-closed, possibly both on the same
 switch or relay, and maybe six of each on the one relay, if there is
 output to many other ladder rungs.)

 See, the logic _is_ coherent.  :-))

 Erik



So, following that logic, off is on, and on is off.  ;-)

Mark
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Dave Cole
It can actually be a lot more complicated than that now.The newer 
PLCs can have multiple outputs in one rung and they don't have to be 
driven by
a singular logical result. They can also have embedded numerical 
comparisons, one shot / edge instructions, counters and timers.
The logic can get very complex.

Structures were also added some years ago to the newer controllers.   
Indirect addressing has been around for years.

The newer controllers also have different language options. Structured 
Text is a popular Pascal like language.
Symbolic programming is very popular now as well.

The IEC 61131-3 standard describes 5 different standard languages.

Dave


On 3/23/2015 8:37 AM, Erik Christiansen wrote:
 On 23.03.15 08:33, Mark Wendt wrote:
 So, following that logic, off is on, and on is off.  ;-)
 Taking such facetiousness at face value, I think the real situation is:

 OFF is on and off, and ON is on and off
 where OFF/ON is input, and on/off is output, with no and nc contacts
 simply being the complement of each other.

 Even ECL logic gates have both inverted and uninverted outputs.
 They also provide a logic 1 _and_ a logic 0 output for true input.

 The confusion seems to arise from the fact that relay logic, whether
 ladder logic or just a rat's nest, performs its boolean operations using
 many outputs (relay contacts), and just one input, if we take the
 physical relay as the component.

 Once we see the logic gate as a physically dispersed collecting of input
 contacts, and an output coil, then we're beginning to see the ladder
 wielder's view - each rung is a logic gate with an arbitrary number of
 inputs, normal (NO) or inverted (NC). The fan-out of a gate is the
 number of contacts, but it is possible to run out of normal fan-out
 before inverted, or vv. Fan-in is higher than anyone would normally ever
 need, especially with higher voltage coils.

 And finally, on what is on, and what is off:
 When an input switch or a relay is energised, then all its contacts
 transition from what they wuz to what they wuzn't. (So we could call
 it wuzzy logic, perhaps. ;-)

 Erik


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Dave Cole
The example is properly described.

The example shows a normally closed contact and then two parallel 
contacts next which are normally open.   The output coil drives one of 
the parallel contacts so the logic line is basically a
start/stop logic rung with a seal in contact.

In the old PLC training books they used some terminology to help new 
users understand ladder logic.

The normally open contact (NO contact) was said to be an examine for 
on instruction and the normally closed contact (NC contact) was said to 
be an examine for off instruction.

The use of the term instruction made people realize that that ladder 
logic was really a programming language rather than actual contacts and 
relays which made ladder logic training  a lot simpler.

So reading the rung from left to right...  the first instruction is an 
examine for off - so if bit B0 is off that instruction will be true.  
The next instructions to the right are logically ANDED with the first 
instruction.So examine B1 for on  OR examine Q0 for on ..  Then take 
the logical AND result and write it to the output coil Q0.

Dave




On 3/23/2015 7:52 AM, Rick wrote:
I managed to get lost in this thread, what ladder component is in
 question here?

 I rely heavily on Classicladder in my machines, averaging over 200 rungs
 per machine, and am curious as to what may be possibly wrong.

 Thanks

 Rick



 On 3/23/2015 8:33 AM, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 8:09 AM, Erik Christiansen dva...@internode.on.net
 wrote:

 On 23.03.15 07:30, Mark Wendt wrote:
 On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen  wrote:
 Try it as I describe, and the diagram and text should align without any
 clashing of mental gears.
 The logic still doesn't match up with the simple switch diagram.
 And yet you show yourself that it does, and your subconscious
 understands the logic:

 B1 has to be activated for current to flow to the coil, to close the
 contact on Q0.
 Yep, that's the green button on a commercial or homebuilt NVR.
 It's momentary, NO. Press it for the NVR to latch on.
 (And activated == on, so NO - closed, both for switch and relay.)

 B0 has to be in it's normal state.
 Yep, that's the red button on a NVR, as on my lathe.
 It's momentary, NC. Press it to reset the NVR latch.
 (normal state == inactivated == off == NC is closed, NO is open )

 If you activate B0, you cut off the current and the contacts on Q0
 open.
 Yup, that's the mechanics of the relay logic implementation.
 (activated == on = NC-open, NO-closed, possibly both on the same
 switch or relay, and maybe six of each on the one relay, if there is
 output to many other ladder rungs.)

 See, the logic _is_ coherent.  :-))

 Erik

 So, following that logic, off is on, and on is off.  ;-)

 Mark
 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Mark Wendt
On Mon, Mar 23, 2015 at 7:17 AM, Erik Christiansen dva...@internode.on.net
wrote:

 On 23.03.15 05:49, Mark Wendt wrote:
  On Mon, Mar 23, 2015 at 5:41 AM, Erik Christiansen wrote:
   Though I am a logic kinda guy, not a ladder wielder, I interpret
   the off to refer to the B0 coil, not one of its contacts, which
   may be NC or NO. That makes a NC contact an inverted output which is
   a 1 when the input is 0.
  
   Does that realign the planets?
 
  I'm a comp sci kinda guy, so I'm familiar with logic too.  ;-)
 
  According to the description, B0 and B1 are switches, not relays.

 Ah, true. Them's input switches, and the thing operates like a standard
 No-Volt Release.


Yep.  B0 and B1 are two different switches.  B0 is NC and B1 is  is NO.

Here's the sentence above the offending one:

To turn the coil off one must momentarily open the 'normally closed' B0
contact which supplies 'power' to the whole line.

According to this sentence, activating B0 turns power off on the line.


  Q0 is the relay.  And it also says in the description B0 is normally
  closed.  So, with that in mind, is normally closed off, and open
  on?

 Now the meaning seems to me to be that the switch is on when it has
 been actuated, i.e. not in its default state. That will open a NC, and
 close a NO contact. Just like any relay further down in the ladder, NC
 and NO contacts are inverted and non-inverted outputs from a single
 input gate, and have opposite logic levels for the same condition of
 on for the relay/switch. (Boolean operations are implemented by
 parallel/serial contact combinations on these outputs, not on gate
 inputs, so a bit of A..-backwards nomenclature is needed to make it
 simple, I think.)

 I don't believe the description is remotely coherent if off/on were to
 be interpreted as 0/1 logic levels.

 Try it as I describe, and the diagram and text should align without any
 clashing of mental gears.


The logic still doesn't match up with the simple switch diagram.  B1 has to
be activated for current to flow to the coil, to close the contact on Q0.
B0 has to be in it's normal state.  If you activate B0, you cut off the
current and the contacts on Q0 open.

So we have to determine what state the author meant for B0 being off or
on.  Low or high, 0 or 1, NC or NO.  ;-)
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ladder logic documentation [Was: Simple, adjustable timer]

2015-03-23 Thread Gregg Eshelman
On 3/23/2015 7:37 AM, Erik Christiansen wrote:
 On 23.03.15 08:33, Mark Wendt wrote:

 So, following that logic, off is on, and on is off.  ;-)

 Taking such facetiousness at face value, I think the real situation is:

 OFF is on and off, and ON is on and off
 where OFF/ON is input, and on/off is output, with no and nc contacts
 simply being the complement of each other.

Sounds like a meditation mantra from an old SciFi book, I have it 
somewhere, can't recall the author or title right now... note the 
capitalization...

Is Not is not Not Is.
Not Is is not Is Not.

If Is is Is Not and Is Not is Is then Is is Not Is...

IIRC it had something to do with reality VS one's perception of reality 
and getting rid of misperceptions that limit one's potential.

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users