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 Mar 18, 2019 6:32 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Dec 11, 2018 11:43 pm 
Offline

Joined: Fri Dec 07, 2018 12:34 am
Posts: 8
Hello! :D

I might be missing something obvious, but I'm trying to test a parameter that sets the IP address and i'm getting some errors I cannot work around.

Attachment:
SetParameter.JPG


(I added a screen shot in case that helps) Under Update parameter I enter '127.0.0.1'. This results in the fallowing error:

C0032: Cannot convert type 'LREAL' to type 'STRING(255)'

Attachment:
parameters.JPG


When I check the parameter under the device's parameters it looks like it sets the value with no quotations.

As another test, I use no quotations under update parameter and i get the fallowing error:

Exeption: "'127.0.0.1' is not a literal"

Am I missing a step? Am I approaching this wrong? Should I be setting/testing this another way?

This is my first time really diving into test manager.

Thank you in advance! :D


You do not have the required permissions to view the files attached to this post.


Top
   
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: Andreas Kehrer 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