Jump to content

Recommended Posts

Hi, I'm having hard time displaying data on V700 PLC. After MODBUS config and reading holding registers HMI still shows 0. Do I need to write data to data table and only then display on HMI? Data has to be read from MIO 12-V I/O module. Network ID matches, start of vector links to hmi variable. What could be done or I did wrong? Thanks. I'm attaching vlp file here

Share this post


Link to post
Share on other sites

Hi,

There is no attachment file here.

Are you using MODBUS TCP or RTU? 

You will need to check that the communication settings are properly configured (Baud rate, parity, stop bits etc.. IP address, port)

Check also the value of the status register that is linked to the MODBUS command - this can tell you if the problem relates to communication , register address, etc..

 

Share this post


Link to post
Share on other sites
5 minutes ago, Ofir said:

Hi,

There is no attachment file here.

Are you using MODBUS TCP or RTU? 

You will need to check that the communication settings are properly configured (Baud rate, parity, stop bits etc.. IP address, port)

Check also the value of the status register that is linked to the MODBUS command - this can tell you if the problem relates to communication , register address, etc..

 

I'm using MODBUS RTU. The tricky part is that baud rate, parity, stop bits, slave ID and port matches perfectly.

I will try to check status register using online test.

One more question - if I'm reading only one register from slave, can I display measured variable on HMI at set time frame? for example every 60 seconds it asks for measurement and refreshes last one.

Share this post


Link to post
Share on other sites

You don't need to write the Modbus data to a Data Table.  You can display link it directly to the display with a numeric indicator.

The display updates every PLC scan, but the value on the display will only update when it gets new data.

You need to post your code - it sounds like you're having trouble configuring HMI display elements.  We can help if we have something to look at.

Joe T.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...