CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sun May 28, 2017 11:19 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Apr 28, 2017 10:00 pm 
Offline

Joined: Tue Mar 15, 2016 8:31 pm
Posts: 1
So i'm having trouble implementing my master or slave, not sure yet where is the problem. I'm using an Eaton XV-102 to implement my Mbus TCP/IP slave, which is also a Mbus RTU master, so the tags from RTU i'm doing some ladder logic and updating my Mbus TCP/IP register map, which has 120 registers. Everything on the slave seems to be working fine, the map tags are updated according to my logic, no errors on the bus. And i also implemented the Mbus TCP/IP master, which is to test my main project (Mbus TCP/IP slave), so i added the proper devices, IP, unit ID, and channels using the function Read holding registers, with a length of 120, which is what i have on the slave. I don't have any errors on the bus or nothing, i have it to update my variables in always in bus cycle task (enable 2), but all my values on the master side are false. There is activity on the bus since my xDone and xBusy variables are active, but i'm really not getting any data.
I thought this would be very straightforward, but apparently it isn't, i'm thinking i'm missing a setting, but i'm out of ideas on what to look for.
I need help, any ideas?

Thanks in advance,
Hector


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