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 Mon Jan 20, 2020 10:59 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Aug 13, 2018 11:20 am 

Joined: Tue Jun 10, 2014 8:32 am
Posts: 9
<StructType name="isos">
<Component identifier="my_name" type="std:STRING">
<VisibleName name="local:my_name">MYNAME</VisibleName>
<Component identifier="my_value" type="std:DWORD">
<VisibleName name="local:my_value">MYValue</VisibleName>

I defined a structure type as Input in my device description file. I install clearly my device desciption file to codesys editor. And , I wrote a I/O Template library in C programming as given codesys examples. Everything are OK until I try to login . Return an error from codesys editor . It says address aldready used. When I change String type to dword type in my device description , everything are working well. What is the wrong with a string type in device description ? How will i define string in c programming side ? I read documentation , it says default max 80 char for string . Any help , Any example please .

How can I use std:string with Structure Type in device description. How can I match them in Codesys C programming I/O template library ? Please help .

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 6 guests

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