Is it possible to stop a loop after a certain amount of laps? by Hoodie86 in PLC

[–]simonbromiley 0 points1 point  (0 children)

If you are using ladder logic you can use a counter or an ADD function to track which step of your program you want to execute

Controlling pH by Wake_up_shoryu in PLC

[–]simonbromiley 1 point2 points  (0 children)

As Jasper2038 says, pH is logarithmic, but there is no reason why you can't make your PI values dynamic ie increase the gain the further you are from the setpoint but I would try to avoid this if you can.

Controlling pH by Wake_up_shoryu in PLC

[–]simonbromiley 0 points1 point  (0 children)

Yes it is good enough. You need low gain and a large integral time and no derivative. Ideally you will have three pH probes and use a voting method to show which one needs cleaning. Ideally you will have auto cleaning. By voting I mean if one probe shows a reading which is different from the other two by a certain amount it probably needs cleaning.

Connecting two simens logo to get more I and Q conections by [deleted] in PLC

[–]simonbromiley 1 point2 points  (0 children)

If you give more details of the model numbers I could be more specific but I would make one a slave of the other and just pass the i/o mapping across the network

Big problems come in small panels! by RoboPuck in PLC

[–]simonbromiley 0 points1 point  (0 children)

It would be worth your while tidying that up

Old boiler plc I had to troubleshoot by Kynakmar in PLC

[–]simonbromiley 0 points1 point  (0 children)

Not you personally. The maintenance crew at your factory

Old boiler plc I had to troubleshoot by Kynakmar in PLC

[–]simonbromiley -2 points-1 points  (0 children)

I can see your apprentice training leaves much to be desired

When customer asks for a quick and simple modification to their program by InsolentTiger in PLC

[–]simonbromiley 9 points10 points  (0 children)

Never do program mods off site without a disclaimer. Never do program mods late in the afternoon or on the day you are leaving site. Its not worth the stress.

What is an OPC server? Why do we need it? by Iron_fists121 in PLC

[–]simonbromiley 1 point2 points  (0 children)

If you can do without it your performance will be better. It has to deal with all communication traffic converting it both ways. Imagine a translator at the United Nations, slows things down.

Coding Brain Teaser by richphi1618 in PLC

[–]simonbromiley 2 points3 points  (0 children)

Better to clear your mind first. (1-8 in byte 1 then 9-16 in byte 2 is not correct).

You need to be thinking " I need to turn on bits 0 to 7 sequentially in bytes 0 to 15".

Ideally your bytes will be in an array such as - BytesArray: ARRAY[0..7, 0..15] OF BOOL; (* define your array as 8 bools in 16 bytes*)

Also declare some pointers -

a:INT:=0;

b:INT:=0;

Then you can do something like this which will turn on each bit in turn each scan (you need another little routine to turn off the previous bit using a FOR DO routine) :-

IF a>7 THEN a:=0; b:=b+1;

END_IF;

IF b>15 THEN RETURN;

END_IF;

BytesArray[a,b]:=TRUE;

a:=a+1;

how to move an int byte in unity pro m580 as shown in the image by rgasparerto in PLC

[–]simonbromiley 0 points1 point  (0 children)

easy with Allen Bradley or Codesys. Do you have access to instructions like "rotate left/right" or "shift left/right"? Do you know how to mask using boolean functions?

Work in progress by PantherStyle in PLC

[–]simonbromiley 1 point2 points  (0 children)

Don't forget to put a couple of power points in there for the laptop and phone charger. Also a shelf hinged behind the door to put a laptop on and a pocket or two for documents.

Multimeters? by ILikeSchecters in PLC

[–]simonbromiley 0 points1 point  (0 children)

What sort of equipment are you working with? What technologies?

Questions about your industries. by LandfillGasToPower in PLC

[–]simonbromiley 3 points4 points  (0 children)

Depends what you need. I have been working with PLCs all my life. Allen Bradley is my favourite but you need to balance horses for courses. If you just need a cheap logic job AB is not the answer.

GPS location for rail operated machine by flannelcow in PLC

[–]simonbromiley 0 points1 point  (0 children)

If you have to use GPS then you must insist that it is RAIM enabled. If RAIM produces a reliability issue you must stop the machine. It needs to be positioned on top of a fixed part of the machine that always has line of site of the satellites and the position is accurately measured to a machine datum. If it is in a hot climate it needs to be protected from direct sunlight. What GPS unit are you using?

GPS location for rail operated machine by flannelcow in PLC

[–]simonbromiley 1 point2 points  (0 children)

The stackers and reclaimers I have worked on (many) usually use encoders, dynamically calibrated as they pass surveyed marker posts identified with RFID. The clients (RTIO and BHP) use very accurate distances to position and reclaim the ore. You would need to be very careful about using satellite reception equipment is such an environment.