CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Oct 17, 2017 1:11 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: modbus data types
PostPosted: Tue Jun 14, 2016 8:03 pm 
Offline

Joined: Wed Apr 22, 2015 1:45 pm
Posts: 11
Hello
I have been trying to get some tags from a nibe F1145http://www.nibe.eu/Products/Ground-source-heat-pumps/NIBE-F1145/
I use a modbus 40 connected to the heatpump.
http://www.nibe.eu/Products/Accessories/NIBE-MODBUS-40/

Here I have found out that I need to use -1 to the the rigth regestery. And that eks.
BT1 Outdoor temp is a WORD type under the <Modbus Master Configurator>
I wounder if it is any webpage og tabel that gives me informasjon about what kinde of datatype is rigth when I have the informasjon like thise.

Code:
Title            ID      -1      Unit   Size   Factor   Min   Max   Default   Mode
BT1 Outdoor temp   40004   40003   °C   s16   10      0   0   0      R
EB100-BE3 Current   40079   40078   A   s32   10      0   0   0      R
Software version      43001   43000      u16   1      0   0   0      R
Freeze Protection      43013   43012      u8   1      0   0   0      R
Accumulated energy   43230   43229   kWh   u32   10      0   9999999   0   R
EB108 Version      43580   43579      u16   1      0   0   0      R
Heat curve S1      47007   47006      s8   1      0   15   9      R/W


Codesys <Modbus Master Configurator> gives me these to pick from BOOL, BYTE, WORD, DWORD, SINT, INT, DINT, USINT, UINT, UDINT, REAL and STRING.

Thank you for your guide's into the mystery of datatypes

Espen Bø


Top
   
 Post subject: Re: modbus data types
PostPosted: Tue Jun 14, 2016 10:07 pm 
Offline

Joined: Wed Apr 22, 2015 1:45 pm
Posts: 11
I found some info :D

Image

I'm going to try thise tomorrow.

s16=WORD
s32=DWORD
u16=UINT
u8=USINT
u32=UDINT
s8=SINT

wish me luck :D

Espen


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