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.22 seconds.
Search: Posts Made By: drbitboy
Forum: LIVE PLC Questions And Answers Yesterday, 04:33 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Here we go: ...

Here we go:


https://www.youtube.com/watch?v=G9K5JWVmKYk


The part relevant to the current problem starts around 32 minutes in.
Forum: LIVE PLC Questions And Answers Yesterday, 03:29 PM
Replies: 44
Views: 1,294
Posted By drbitboy
OP is using Horner/Cscape RECV instruction to...

OP is using Horner/Cscape RECV instruction to read fixed-length data, presumably 28 characters of code plus a carriage return.

As long as that is what continues to come in on each RECV read, the...
Forum: LIVE PLC Questions And Answers Yesterday, 02:56 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Below is everything I found for the RECV...

Below is everything I found for the RECV instruction in Horner's Cscape program. No intelligence or other options looking for Carriage Returns and such.

I assumed the [RX Count] parameter,...
Forum: LIVE PLC Questions And Answers Yesterday, 01:39 PM
Replies: 6
Views: 186
Posted By drbitboy
Perhaps those should all be 7s (0x0070; 0x0700;...

Perhaps those should all be 7s (0x0070; 0x0700; 0x7000), which works because OP said the values will be 2, 3, or 4; if not, then the last one should be: ((Original_Word AND xF000) / 4096) AND 0x0F
A...
Forum: LIVE PLC Questions And Answers Yesterday, 12:06 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Good advice; I should have mentioned something...

Good advice; I should have mentioned something like this a couple dozen posts ago.

Using a PC with HyperTerminal or Kermit (I'm dating myself; use whatever is current) to manually sort out exactly...
Forum: LIVE PLC Questions And Answers Yesterday, 11:59 AM
Replies: 6
Views: 216
Posted By drbitboy
There are at least a dozen ML1000s on ebay for...

There are at least a dozen ML1000s on ebay for under $200; have you already spent enough time to justify one plus a few DOAs plus a few spares?
Forum: LIVE PLC Questions And Answers Yesterday, 11:40 AM
Replies: 44
Views: 1,294
Posted By drbitboy
P.S. My first rungs, with the screen and the OPEN...

P.S. My first rungs, with the screen and the OPEN instruction, are different than yours; perhaps the OPEN needs to be fed by an [NO ALW_ON]?


Also, I was focusing on the serial comm port code; I...
Forum: LIVE PLC Questions And Answers Yesterday, 11:30 AM
Replies: 9
Views: 287
Posted By drbitboy
I don't understand. Why does "ADD...

I don't understand.


Why does "ADD instruction* True" on a scan or a rung affect a later [B]parallel MOV instruction? Does ControlLogix L72 not follow left-to-right, top-to-bottom?

* do you...
Forum: LIVE PLC Questions And Answers Yesterday, 11:14 AM
Replies: 9
Views: 287
Posted By drbitboy
1) Is the ladder file of Second_Rung.png being...

1) Is the ladder file of Second_Rung.png being called?

2) I'm with @Bernie: something else was keeping a 1 in OneShot[9]; perhaps via indirect access, that is not so easy to locate?


P.S....
Forum: LIVE PLC Questions And Answers Yesterday, 09:38 AM
Replies: 44
Views: 1,294
Posted By drbitboy
P.S. If you are a beginning PLC programmer, this...

P.S. If you are a beginning PLC programmer, this series of videos:https://www.youtube.com/watch?v=T3tnXu-Eywc&list=PLB1ACAF773A15BFB1
will be well worth the sub-two hours of time investment. It's...
Forum: LIVE PLC Questions And Answers Yesterday, 09:34 AM
Replies: 44
Views: 1,294
Posted By drbitboy
Hmm, but you were getting characters on the...

Hmm, but you were getting characters on the Horner screen before, correct?

Well, here is how I assumed it would happen:


Scan N

Rung 2

[Read_complete %M12] becomes 1 when one...
Forum: LIVE PLC Questions And Answers Yesterday, 09:10 AM
Replies: 6
Views: 337
Posted By drbitboy
The article content makes sense, sure. My...

The article content makes sense, sure. My LibreOffice could not display the equations, but I am sure those are correct; did you submit the article as a PDF?

Was there any feedback with the...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 07:36 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Converted to Cscape (not too bad; at least not as...

Converted to Cscape (not too bad; at least not as awkward as TIA or CCW ;)); placed on Github: https://github.com/drbitboy/PLC_Cscape_serial_read_logic
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 05:19 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Minor change to second rung; I am not sure how...

Minor change to second rung; I am not sure how RECV instruction works, so putting a [NC Read_Processed_oneshot] back in, between the AND and the NEQ, may be required.
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 04:19 PM
Replies: 10
Views: 404
Posted By drbitboy
As a direct answer to the question, I agree...

As a direct answer to the question, I agree wholeheartedly with @dmroeder here. Plus C, because it has all the power of assembler with all the power of assembler. That said ...

If you are...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 03:04 PM
Replies: 44
Views: 1,294
Posted By drbitboy
There are more bells and whistles to add, but...

There are more bells and whistles to add, but this should provide the basis of a robust algorithm to


read the scanner,
detect a received carriage return,
check the two characters received...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 12:22 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Update: Sorry, I was using the wrong manual.

Update: Sorry, I was using the wrong manual.
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 11:39 AM
Replies: 44
Views: 1,294
Posted By drbitboy
I have a lot of experience with serial...

I have a lot of experience with serial communications, and I am not going for simple, I am going for robust, but they are often the same thing. Reading 29 characters per rising edge of Read_Complete...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 09:44 AM
Replies: 44
Views: 1,294
Posted By drbitboy
what scan mode is the Gryphon configured to use...

what scan mode is the Gryphon configured to use (Trigger Single; Flashing; Always On; etc.)?

What are the timings used (double-read timeout, etc.)?


Is configured with a Global Prefix or...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 09:29 AM
Replies: 44
Views: 1,294
Posted By drbitboy
How is that Display Element/Screen configured? ...

How is that Display Element/Screen configured? What address(es) is it displaying?



Then we may not have to do a shift to extract those last two characters. If the 28-character string has been...
Forum: LIVE PLC Questions And Answers September 22nd, 2021, 12:53 AM
Replies: 44
Views: 1,294
Posted By drbitboy
What screen are you talking about? How...

What screen are you talking about?


How does the program know it has the latest ASCII data, and not some buffered input e.g. the last half of the previous barcode and the first half of the next...
Forum: LIVE PLC Questions And Answers September 21st, 2021, 11:12 PM
Replies: 44
Views: 1,294
Posted By drbitboy
I wonder if a step sequence model would be a...

I wonder if a step sequence model would be a better approach. That is, have a [Current_Step] integer keep track of where the process is, perform specific actions (or nothing) when [Current_Step] is...
Forum: LIVE PLC Questions And Answers September 21st, 2021, 06:58 PM
Replies: 16
Views: 1,018
Posted By drbitboy
Octal though.

Octal though.
Forum: LIVE PLC Questions And Answers September 21st, 2021, 04:56 PM
Replies: 44
Views: 1,294
Posted By drbitboy
If the logic is wrong, then fixing the compiler...

If the logic is wrong, then fixing the compiler error won't help much. OP should really add those comments; it will be a form of rubber duck debugging cf. this link...
Forum: LIVE PLC Questions And Answers September 21st, 2021, 02:28 PM
Replies: 44
Views: 1,294
Posted By drbitboy
Call me pedantic, but there is no difference...

Call me pedantic, but there is no difference between this:59524
and this:59525
and this:59527
Also, since the full [PPMem %M00010] story is this:59528
then it could all be simplified to only...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:45 AM.


.