CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Dec 11, 2019 3:07 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Sep 16, 2019 12:44 pm 
Offline

Joined: Mon Sep 16, 2019 10:26 am
Posts: 3
Hello,
I have a problem with the package for PLCNext PLC (Phoenix Contact). I want to configure some startup parameters of the I/O modules behind the PLC while the program is running. For example, I want to change the behaviour when the Profinet communication to another device is lost: Sometimes I want to set all outputs to zero, sometimes I want to hold the last value.

I don't have a program right now, just imagine a boolean which I use to decide between these options.

The user manual states that acyclic services named PDI can be used for that. As the controller is a Phoenix Contact controller, this acyclic service is a Phoenix Contact special service for the bus directly behind the PLC. There is a library for PLCNext when installing the runtime but I don't get where I can find the function blocks to set or read the startup parameters.
I also thought starting with the Get_DeviceInfo function block would help but I don't get how and if I have to initialise the DEVICE_INFO structure.

I would appreciate your answers, I am a little bit lost here :? .
I have already tested the example for the CAA_Device_Diagnosis library but that works with known fieldbuses like Ethernet and did not help me.

Thanks everyone :)


Top
   
PostPosted: Mon Sep 16, 2019 2:40 pm 
Offline

Joined: Mon Sep 16, 2019 10:26 am
Posts: 3
Hey everyone,

I found out that the so called PDI services are not available yet. Another release coming next year will have this feature.

I hope that anyone with the same problem will now find his/her answer. :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited