SoMachine Modbus RTU read value

labik

Member
Join Date
Nov 2011
Location
Pabianice
Posts
8
Hello,

I'm having a problem with configration and programming of modbus in SoMachine.

My project contains HMISCU8B5 (HMI with PLC) and I've added 'Modbus Manager' for COM1 The other device will be connected to this port and I would like to read data from it. Let's say it will have address 1.

As far as I know I should use ADDM and READ_VAR function blocks. How should I configure them to read temperature from device. Temperature addres is 40002. How should I set those blocks to continuously read value?

Any help will be appriciated. Thanks
 
Hi iam using ABB 800xA software...i need to use set a password for pump run hours reset , operator should not have direct authority to reset the pump drive running hours...How can do the programming ...Is it possible in VB scripting or is there any readymade password block? Please suggest me!!!! Vinayak Mulay
 
Hi iam using ABB 800xA software...i need to use set a password for pump run hours reset , operator should not have direct authority to reset the pump drive running hours...How can do the programming ...Is it possible in VB scripting or is there any readymade password block? Please suggest me!!!! Vinayak Mulay
You can create a script as below. iPasswordUser is a numeric display input.

if (iPasswordUser.getIntValue() == 1234)
{
xPasswordOK.write(1);
}
else
{
xPasswordOK.write(0);
}
 

Similar Topics

Hi all, I've been trying to develop modbus rtu program between uv balasts and plc ı'have 6 slave balast.I am reading fault run voltages etc...
Replies
0
Views
1,204
Hi all, I have a HACH sc200 controller with 2 sensors which I hope to connect an M221 plc to via Modbus RS485 in order to display the info on a...
Replies
4
Views
2,276
Hi All, I am a newbie to Modbus tcp communication, and need some directions in this regard. I have TMCE221CE16R with SoMachine Basic as my...
Replies
9
Views
5,478
Hi, Does anyone have any examples on how to use the Modbus IO Scanner on the Schneider M221 controller? I have one on test bench with a Delta...
Replies
4
Views
5,996
Hi all I tried to piggyback onto the back of an old thread, but I think I need to ask for help on here. I am trying to get two M221 plcs to...
Replies
5
Views
4,738
Back
Top Bottom