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 Tue Feb 25, 2020 4:37 am

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Aug 26, 2018 3:48 pm 

Joined: Sat Aug 11, 2018 7:17 am
Posts: 22
Hello everyone,
I start with using codesys for raspberry,
I want to use several mcp23s17 to extend the IO number of the pi.
but I do not understand how to use this block.

could someone do like a tutorial step by step to explain how:

1-define the address of each integrated circuit.
2-Define the inputs and outputs for each circuit, and ideally be able to rename them.
3-recover the states of the inputs and outputs and be able to use them as global variable.

thank you for your help, I have not found any documentation on this block function.
neither on codesys or on the internet.
even in the program examples provided by codesys, you do not have access to the program lines to understand the operation.

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