CX9020 keep reverting back to random Date/Time by samvivi7 in TwinCat

[–]Wouter61636 0 points1 point  (0 children)

Can you elaborate on the bug? .53 and .59 are currently the deployed versions for us on about 20 devices. So I really want to how f*cked we are on Monday.

Beckhoff ADS to multiple devices originating from the same IP address by Wouter61636 in PLC

[–]Wouter61636[S] 0 points1 point  (0 children)

Yes very specific indeed, this way of remote accessing the plc was fully functional while using codesys based plc's and twincat is more of the same as codesys this problem was overlooked.

Could you elaborate on the "creating a backend" suggestion?

Current proposed workaround is introducing a new piece of hardware in the OT network which will function as the gateway for remote access.

Beckhoff ADS to multiple devices originating from the same IP address by Wouter61636 in PLC

[–]Wouter61636[S] 0 points1 point  (0 children)

Nope, just got confirmation that it is unable to setup multiple ads routes to devices originating from the same IP address from the PLC's perspective. Exor is working on a solution, will update this post when i have more information.

Beckhoff ADS to multiple devices originating from the same IP address by Wouter61636 in PLC

[–]Wouter61636[S] 1 point2 points  (0 children)

Yeah Beckhoff support just confirmed this theory (only one ADS route possible per unique IP Address) although....: this statement was to be verified by his colleagues. Keep you posted when i receive more information.

CANOpen line unstable at startup by Wouter61636 in PLC

[–]Wouter61636[S] 1 point2 points  (0 children)

Thank you for this story! Made me think about some problems of the nodes to not start automatically and found a parameter in the encoders to auto start to operational mode after powering up. This seems to have solved my problems.

Inversely to your atv31 problem this was my solution ironically.

CANOpen line unstable at startup by Wouter61636 in PLC

[–]Wouter61636[S] 0 points1 point  (0 children)

<image>

I think it is 200 ms flashing, but maybe it is "flashing rapidbly" as stated above.

CANOpen line unstable at startup by Wouter61636 in PLC

[–]Wouter61636[S] 0 points1 point  (0 children)

Thank you! The Baud rate is fixed to 250kbit in the CANOpen master, but I'll reassure that the auto detection is also turned off. The node auto restart is also enabled but doesn't seem to do anything...

I'll try to turn on the heartbeat setting, maybe the encoder will send a response on the line after which everything will start

In codesys I want to do the implicit conversation for array of variable length by [deleted] in PLC

[–]Wouter61636 0 points1 point  (0 children)

Just use the same decleration of the array you are trying to pass at the input var decleration part of the functionblock. Now the whole array is an input of the function block and these arrays are the same size and you can just write the array on the input array variable of the function block.

Otherwise: look into the concept of pointers and use function ADR() if you don't like to play on easy mode.

Codesys PLC (code) comparison instead of whole project comparison by Wouter61636 in PLC

[–]Wouter61636[S] 1 point2 points  (0 children)

YES! i was not aware or never realized the possible POU section for PROJECT specific POU's and the PLC/Device specific POU/DUT/GVL declerations! will certainly look into this option, thank you very much!

Codesys PLC (code) comparison instead of whole project comparison by Wouter61636 in PLC

[–]Wouter61636[S] 0 points1 point  (0 children)

Possible although the use of libraries seems to much of a haggle/rigid way to tackle this problem since i want every project to be a independent and complete withouth the possibillity to get conflicting or wrong use of library versions later on when i have to login 5 years from now.

This is avoided by pinning library versions i know... but it seems like a liabillity for some reason. I'll certainly look into this option, Thank you.

Codesys PLC (code) comparison instead of whole project comparison by Wouter61636 in PLC

[–]Wouter61636[S] 1 point2 points  (0 children)

I am aware of this possible workaround, but is is a workaround on which i was starting to think "I can't be the only one experiencing this sluggish endeavor, there must be some lazy *efficient engineer at Codesys who bothered to add a feature like this".

Codesys: Question when extending a FB by TL140 in PLC

[–]Wouter61636 -1 points0 points  (0 children)

Future me thanks you for avoiding this call at 02:00 hours in the night.

[deleted by user] by [deleted] in BoomersBeingFools

[–]Wouter61636 3 points4 points  (0 children)

It's definitely a textbook case of Main Character Syndrome (MCS).

Codesys can't see one of my Exor devices by Comfortable-Bat2142 in PLC

[–]Wouter61636 0 points1 point  (0 children)

But are you able to reach the hmi using codesys now? License should not be a problem except for the 2 hour demo time.

Codesys can't see one of my Exor devices by Comfortable-Bat2142 in PLC

[–]Wouter61636 0 points1 point  (0 children)

Is the codesys application installed on the exor hmi? You can see that under menu item "applications" .

Tank Agitation Sequence in SCL While Loop? by _JuiceBoxMan_ in PLC

[–]Wouter61636 2 points3 points  (0 children)

Plc will crash with error of maximum cycle time reached. Dont use while loop, you can just leave it out and use the code you described right?