You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > Search Forums

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: drbitboy
Forum: LIVE PLC Questions And Answers Yesterday, 11:08 PM
Replies: 8
Views: 371
Posted By drbitboy
10.x.x.x and 192.168.x.x are both "Private" IP...

10.x.x.x and 192.168.x.x are both "Private" IP address ranges; is it possible to route to either of them without a NAT setup? It should be from a bit-wise standpoint, but can one private network...
Forum: LIVE PLC Questions And Answers Yesterday, 01:42 PM
Replies: 8
Views: 371
Posted By drbitboy
Change the network mask to 255.255.254.0 on...

Change the network mask to 255.255.254.0 on 192.168.100.0 and it will roughly double the address space on that LAN*.


* 192.168.100.0 to 192.168.101.254; 192.168.101.255 is the broadcast address;...
Forum: LIVE PLC Questions And Answers Yesterday, 08:18 AM
Replies: 12
Views: 647
Posted By drbitboy
Also, if multiplying the CST/CurrentValue LINT...

Also, if multiplying the CST/CurrentValue LINT (or UDINT[2] elements) by 1e-6 is too messy, bits 20-31 of UDINT[1] and bits 0-19 of UDINT[2] combine to make a UDINT (or DINT until 2041) within 5% of...
Forum: LIVE PLC Questions And Answers Yesterday, 08:04 AM
Replies: 12
Views: 647
Posted By drbitboy
That being the case, and with the original query...

That being the case, and with the original query to convert system time (year, month, day, hour, minutes, seconds (, microseconds?)) to an LREAL or UDINT in RSLogix5000, does this help?


RA...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 02:18 PM
Replies: 12
Views: 647
Posted By drbitboy
".. when/if the machine is powered off ..." ...

".. when/if the machine is powered off ..."


If "machine" is the process being monitored, then a couple of RTOs, as suggested, will work.


If "machine" is the PLC, I have yet to meet any PLC...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 01:55 PM
Replies: 20
Views: 730
Posted By drbitboy
months with 31 days before August(8) are Jan(1),...

months with 31 days before August(8) are Jan(1), Mar(3), May(5), Jul(7) i.e. odd months, so the /0 bit of curm is 1 for 31-day months if curm < 8.


months with 31 days after July(7) are Aug(8),...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 01:34 PM
Replies: 20
Views: 730
Posted By drbitboy
Corrected typo in y4 calculation: [SUB cury y4...

Corrected typo in y4 calculation: [SUB cury y4 y4] is correct; [SUB cury 3 y4] was incorrect.
Forum: LIVE PLC Questions And Answers October 24th, 2020, 12:47 PM
Replies: 11
Views: 599
Posted By drbitboy
Duh on me: step 3 should MOVe a 0 into h31; step...

Duh on me: step 3 should MOVe a 0 into h31; step 4 should shift a 1 bit onto h31 when h32 is greater than 0 (not greater than 1); step 5 should move h31 to h30 when h32 is 0 (not when h32 is 1).
Forum: LIVE PLC Questions And Answers October 24th, 2020, 10:38 AM
Replies: 9
Views: 466
Posted By drbitboy
Yeah, I do that even on a single-straight-vial...

Yeah, I do that even on a single-straight-vial level; if it's trivial to do a calibration of the device with every measurement, then why not?
Forum: LIVE PLC Questions And Answers October 24th, 2020, 10:23 AM
Replies: 21
Views: 957
Posted By drbitboy
I'll say it again with vague examples. ...

I'll say it again with vague examples.


Someone has a process where loss of lubrication to a bearing would cost millions of dollars.


Someone else has a process that can harm or kill someone...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 09:50 AM
Replies: 9
Views: 466
Posted By drbitboy
Does "both sides" mean swap it end for end (for a...

Does "both sides" mean swap it end for end (for a horizontal level test)? Because if that is the case, then even if the vials are not lined up with the long edges, if the long edges are straight you...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 01:10 AM
Replies: 20
Views: 730
Posted By drbitboy
Insomnia, and I just did this somewhere else in...

Insomnia, and I just did this somewhere else in Java no less.

Prerequisites/assumptions/caveats


* Untested

* Integer tags cury, curm, curd are current year, month of year (1-12), and day...
Forum: LIVE PLC Questions And Answers October 24th, 2020, 12:08 AM
Replies: 20
Views: 730
Posted By drbitboy
I agree with daba's relative calculation, but the...

I agree with daba's relative calculation, but the answer to that query is this:







That said, maybe it would be an acceptable alternative to say "N days left to next cleaning" instead of...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 05:21 PM
Replies: 20
Views: 770
Posted By drbitboy
oh for pete's sake; so it will depend on the...

oh for pete's sake; so it will depend on the interpretation the instruction gives it.


that deserves a haiku:



i am not surprised,
but even so feel the need
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 05:09 PM
Replies: 23
Views: 893
Posted By drbitboy
i am using Codesys[/QUOTE] Language is...

i am using Codesys[/QUOTE]


Language is irrelevant; interpret what Ken wrote as a general algorithm and code it up.


I would definitely go with the deadband idea; it may take some tuning to...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 04:58 PM
Replies: 9
Views: 466
Posted By drbitboy
I will never get this done before there are ten...

I will never get this done before there are ten other answers, but anyway.


He was almost definitely pulling your leg.



The glasses are slightly curved, but once calibrated the bottom glass...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 01:40 PM
Replies: 5
Views: 219
Posted By drbitboy
you're welcome. googling "pgm-357s"...

you're welcome.


googling "pgm-357s" results are pretty thin, eh?
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 01:23 PM
Replies: 5
Views: 219
Posted By drbitboy
https://www.plctalk.net/qanda/showthread.php?t=958...

https://www.plctalk.net/qanda/showthread.php?t=95892


Does that help?
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 01:13 PM
Replies: 20
Views: 770
Posted By drbitboy
Can each of the four octets of the IP address be...

Can each of the four octets of the IP address be left-zero-padded to three characters for octets less than 100 e.g. 192.168.0.12 becomes 192.168.000.012.



Then the string length should be...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 01:07 PM
Replies: 23
Views: 893
Posted By drbitboy
I think Ken's suggestion, and Tom's #2...

I think Ken's suggestion, and Tom's #2 suggestion, are similar, and are basically an I-only controller (i.e. PID without P- or D-action).
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 12:59 PM
Replies: 21
Views: 957
Posted By drbitboy
I dunno If I had a device controlling a...

I dunno


If I had a device controlling a process comprising pieces of expensive and/or dangerous equipment, I might prefer everything to stop when that device tries to read or write, and then...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 12:49 PM
Replies: 9
Views: 838
Posted By drbitboy
I would soitainly hope so! ;)

I would soitainly hope so! ;)
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 12:45 PM
Replies: 11
Views: 621
Posted By drbitboy
Half seems generous to me ...

Half seems generous to me ...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 12:42 PM
Replies: 11
Views: 599
Posted By drbitboy
haha you could also write a linear function of...

haha you could also write a linear function of the number of bad cans to check into the exponent bitfield of a REAL, and subtract 1 from that REAL to get the bit pattern.


Only a bitboy would do...
Forum: LIVE PLC Questions And Answers October 23rd, 2020, 12:36 PM
Replies: 11
Views: 599
Posted By drbitboy
[Update: second! I didn't see that parky already...

[Update: second! I didn't see that parky already coded summat similar; I did not assume there was an SFL instruction or equivalent]





Yes, I agree, use parky's method and you will thank...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:01 PM.


.