Skip to content

CSharpExamples - FB_with_user_struct2 - PLC los connection to PnE

Hello community,

I tried one of the C# examples.
So far every example has worked. Only with the example "FB_with_user_struct2" my CPU seems to lose the connection to the PnE.

https://github.com/PLCnext/CSharpExamples/blob/master/PLCnext_CSharpExamples/03_UserStruct/FBWithUserStruct.cs


In Visual Studio the examples can be built without problems.
In PnE I can also integrate the block into the project without errors.

 lost connection 01

After transferring the project the PLC lose the connection. I have to delete the project via WinSCP (/opt/plcnext/projects/PCWE/Plc/Eclr/eCLR.img) to be able to reach the PLC again after a restart.

Does anyone have any idea why?

I use PnE 2019.9 and the PLC AXC F 2152 with Firmware 2019.9 and Hardware 02.

 

Thanks

 

Comments

Sign In or Register to comment.