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 Wed Jan 22, 2020 11:38 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MODBUS TCP Slave
PostPosted: Thu Oct 19, 2017 9:01 am 
Offline

Joined: Mon Oct 16, 2017 1:47 pm
Posts: 1
Hello,
I have Codesys 3.5 patch10 and a Berghof screen.
I want to use Modbus TCP slave device but I don't know how to change the type of variable. Automatically the device sends WORD. Can we send DWORD or REAL?
It's so weird that it's %IW and not %MW... :oops:
Some idea?
Thanks. :D [/color]


Top
   
 Post subject: Re: MODBUS TCP Slave
PostPosted: Tue Oct 31, 2017 10:33 pm 
Offline

Joined: Sat Oct 21, 2017 3:42 am
Posts: 1
Modbus is 16 bit words, you will need to split/combine multiple words on each end of the modbus path to get your DINTs and REALs.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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