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 Fri Nov 15, 2019 10:35 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Apr 06, 2016 1:52 pm 

Joined: Mon Mar 07, 2016 2:22 pm
Posts: 5
Hello everybody,

I have created a device (one library and one device description)
which includes 2 MCPs.
--> A MCP23017 for 16 inputs and a MCP23017 for 16 outputs.
My Device which i am using is the Raspberry Pi (via i2c).
In the function block of the library i have defined for my VAR_INPUT
and VAR_OUTPUT my variables IN and OUT.
In my project I can also responsive outputs, for example BIT 0: mydevice.OUT.0

Now to my question:
I want to create a new variable in the I/O image (in the project). But the problem is
that i cannot respond to my inputs and outputs with my new variable.
I think i miss somehow the connection between the I / O image, the parameters
in the device description and in the library.
Is there a solution for my problem?

It is a practical project so
thanks for helpful answers!

Best regards

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 7 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