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.18 seconds.
Search: Posts Made By: drbitboy
Forum: LIVE PLC Questions And Answers Today, 07:59 AM
Replies: 3
Views: 68
Posted By drbitboy
At this link...

At this link (https://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf#page=29), you can see and example how the Modbus protocol encapsulates the values of each group of eight coils into...
Forum: LIVE PLC Questions And Answers Today, 07:06 AM
Replies: 3
Views: 68
Posted By drbitboy
Welcome to the forum! Which Modbus Function...

Welcome to the forum!

Which Modbus Function Code are you using to write to the output coils: 05 (0x05; Write Single Coil); or 15 (0xF; Write Multiple Coils)?
_
Forum: LIVE PLC Questions And Answers Today, 06:58 AM
Replies: 17
Views: 2,154
Posted By drbitboy
With indentation: macro_command main() ...

With indentation:

macro_command main()
char ScanData[40] = " "
short NumOfChars = 0
short ScanResult = 0
short DataRead = 0

GetData(ScanResult, "Barcode Scanner/Keyboard", RESULT, 0, 1)
Forum: LIVE PLC Questions And Answers Yesterday, 06:15 PM
Replies: 4
Views: 202
Posted By drbitboy
LOL. Make sure they know that the numbering...

LOL.

Make sure they know that the numbering system of the data and addressing models are inconsistent, arbitrary, opaque, ridiculous, poorly-designed, etc. E.g. the prefix (4 in 40001) of the...
Forum: LIVE PLC Questions And Answers May 22nd, 2022, 11:53 PM
Replies: 3
Views: 238
Posted By drbitboy
Can you switch to LREALs (64-bit floating point)?...

Can you switch to LREALs (64-bit floating point)? LREALS have 15+ digits of precision.
>>> struct.unpack('f',struct.pack('I',0x45111111))
(2321.066650390625,)
>>>...
Forum: LIVE PLC Questions And Answers May 22nd, 2022, 07:53 PM
Replies: 12
Views: 577
Posted By drbitboy
+1 You will be lucky to get minimum wage.

+1


You will be lucky to get minimum wage.
Forum: LIVE PLC Questions And Answers May 22nd, 2022, 04:47 PM
Replies: 18
Views: 837
Posted By drbitboy
However many blocks we end up with, it does not...

However many blocks we end up with, it does not make sense to use unnecessary block that only obfuscate what the code is supposed to be doing:62074

Here is is simplified:62075
Forum: LIVE PLC Questions And Answers May 22nd, 2022, 03:36 PM
Replies: 18
Views: 837
Posted By drbitboy
Why not a single timer for timing both run and...

Why not a single timer for timing both run and dwell, for both motors?

Seven blocks: four instructions; one input; two outputs.

I find the more timers are involved, the harder it is to read...
Forum: LIVE PLC Questions And Answers May 21st, 2022, 11:55 PM
Replies: 18
Views: 837
Posted By drbitboy
@icemaker - that is more than twice as many...

@icemaker - that is more than twice as many blocks as are needed to implement that behavior. Look at the Asynchronous Pulse Generator block; I implemented the target behavior with that as one of...
Forum: LIVE PLC Questions And Answers May 21st, 2022, 06:59 PM
Replies: 18
Views: 837
Posted By drbitboy
Ah, similar to Siemens LOGO! apparently. Very...

Ah, similar to Siemens LOGO! apparently. Very nice.

Could you please explain how you thought the blocks and connections in that diagram are going to interact with each other to accomplish your...
Forum: LIVE PLC Questions And Answers May 21st, 2022, 02:23 PM
Replies: 13
Views: 696
Posted By drbitboy
Welcome to the forum! If you put [/ladder]...

Welcome to the forum!

If you put [/ladder] after the code and before the code, you can keep the indentation ([/code] and [code] also works but it more limited by width):

[ladder]
...
Forum: LIVE PLC Questions And Answers May 21st, 2022, 11:09 AM
Replies: 18
Views: 837
Posted By drbitboy
+1 Post an image or a PDF as well, as not...

+1

Post an image or a PDF as well, as not everyone here will have the same brand PLC and software as you, so they will not be able to look at your code using the manufacturer's IDE, but if they...
Forum: LIVE PLC Questions And Answers May 21st, 2022, 09:32 AM
Replies: 6
Views: 472
Posted By drbitboy
Welcome to the forum! Do you mean Micro800,...

Welcome to the forum!

Do you mean Micro800, not MicroLogix? I am pretty sure the MicroLogix platform does not have UDTs.
_
Forum: LIVE PLC Questions And Answers May 20th, 2022, 03:44 PM
Replies: 3
Views: 429
Posted By drbitboy
I am not sure I understand the query. The...

I am not sure I understand the query.

The image shown ensures uses GSV and WallClockTime/LocalDateTime (cf. this link...
Forum: LIVE PLC Questions And Answers May 20th, 2022, 12:43 PM
Replies: 15
Views: 913
Posted By drbitboy
https://github.com/search?q=dmx512+atmega&type=Rep...

https://github.com/search?q=dmx512+atmega&type=Repositories
Forum: LIVE PLC Questions And Answers May 20th, 2022, 12:39 PM
Replies: 13
Views: 573
Posted By drbitboy
well, if you can paste the accumulated volume...

well, if you can paste the accumulated volume column ("H") values into a 1000-element array, it is a linear lookup from level to volume. e.g.

SUB REAL_measured_level REAL_level_datum...
Forum: LIVE PLC Questions And Answers May 20th, 2022, 12:14 PM
Replies: 13
Views: 573
Posted By drbitboy
Ten-thousand feet long with a slope of 0.001,...

Ten-thousand feet long with a slope of 0.001, twenty-five feet , end cap planes are perpendicular to a horizontal plane.

So


one end is ten feet higher than the other,
and we are ignoring...
Forum: LIVE PLC Questions And Answers May 20th, 2022, 11:43 AM
Replies: 13
Views: 573
Posted By drbitboy
Ah. By sloped bottom I thought OP meant it is a...

Ah. By sloped bottom I thought OP meant it is a cylindrical prism (ends of tank perpendicular to axis), but that it was mounted without that axis perfectly vertical or horizontal.

But either way,...
Forum: LIVE PLC Questions And Answers May 20th, 2022, 11:08 AM
Replies: 13
Views: 573
Posted By drbitboy
Assuming you have eXcel (or can upload the...

Assuming you have eXcel (or can upload the workbook to Google Sheets), an eighth column can do the accumulation. e.g. if column G is the delta volume between levels, and row 2 is the first row, then...
Forum: LIVE PLC Questions And Answers May 20th, 2022, 10:21 AM
Replies: 14
Views: 438
Posted By drbitboy
+1 In addition to the safety issue, as noted...

+1

In addition to the safety issue, as noted earlier it is usually easier to have the PLC do consistency and sanity checking.
Forum: LIVE PLC Questions And Answers May 20th, 2022, 08:05 AM
Replies: 14
Views: 438
Posted By drbitboy
It sounds like you have a well-run facility, with...

It sounds like you have a well-run facility, with communication, and everybody, including operators, thinking "What if?"
Forum: LIVE PLC Questions And Answers May 20th, 2022, 08:00 AM
Replies: 14
Views: 438
Posted By drbitboy
It sounds like we have switched from...

It sounds like we have switched from operator-manual on/off overrides to operator-manual limit overrides. I was wondering if the project might end up there.

But what happens if the operator sets...
Forum: LIVE PLC Questions And Answers May 19th, 2022, 05:04 PM
Replies: 3
Views: 355
Posted By drbitboy
DC or AC? Try searching this forum with...

DC or AC?


Try searching this forum with terms like "measure current with plc"


The range goes from clamp-on devices with 4-20mA outputto power monitoring devices that speak Modbus (e.g. here...
Forum: LIVE PLC Questions And Answers May 19th, 2022, 04:41 PM
Replies: 15
Views: 913
Posted By drbitboy
What is the budget for the...

What is the budget for the UI/controller/DMX-interface pipeline (assuming I understand what you are looking for)?

Summat like this?
...
Forum: LIVE PLC Questions And Answers May 19th, 2022, 04:22 PM
Replies: 26
Views: 744
Posted By drbitboy
What a great forum this is.

What a great forum this is.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 08:04 AM.


.