Jan 31, 2011

Omron NV HMI Modbus Communication with Omron PLC


NV HMI by Omron PLC is available in three different models , it is a superior HMI by Omron. Omron says that "V" stands for Value , Visibility and Variation. As a compact HMI it is the best for Package PLC. It has RS485 Communication feature and we will see in detail the procedure for MODBUS Communication of NV HMI with Omron PLC.

How to Configure MODBUS In Omron NV HMI :-

We have already told the NP5 HMI Modbus Communication and the basic PLC Program for Modbus Communication in our earlier post. To set up the Modbus in NV HMI first of all we have to make the hard-wire connections. Connect the Omron CP1W-CIF11 at Omron PLC CP1E and do the Settings in the CP1W-CIF11 for MODBUS Communication.

After this , if you will look at the back side of NV HMI then there is RS485 connection terminals. Connect the wires as follows:-

CIF11--------------------------------------------------------------------------------NV HMI
RDA+ ------------------------------------------------------------------------------- + SD (4)
RDB- ------------------------------------------------------------------------------- - SD(5)

Also short the terminals 7 (-RD) and 8 (E) with terminal 5(-SD).Also connect the terminal with terminal 4 on the NV HMI side.

Dip Switch Settings in NV HMI For MODBUS Communication :-
All the dip switch should be off for MODBUS Communication.

Settings in NV Designer Software for MODBUS Communication :-
Omron CX-one software package comes with NV-Designer Software which is used for Designing Screens in NV HMI. After the Hardware connections we have to make some proper settings in the HMI software also .

Open the NV-Designer and select a New Project , select the proper NV Type and NV Model and the click next , Here we have to select PLC Model as " Modbus Slave (RTU Mode)and click next and choose System Memory area Word and Bits.
See the below picture for a better Understanding of settings.



Click on the above picture for a better enlarged view.

Also we have to set up the Node ID of NV HMI and Communication Parameters. To do this click on PT --- NV Configuration and select the NODE ID and other parameters accordingly.
Note :- The configuration of Communication Parameters should be same at both PLC side and HMI Side.
See the below picture for a better Understanding of settings.


Click on the above picture for a better enlarged view.

Now our settings are done and we have successfully done the proper Hardware and Software settings for MODBUS Communication in NV HMI with Omron PLC CP1E.

Query Format for Read/Write in MODBUS for NV HMI :-
As we all know that in MODBUS all the communication takes place in the form of Queries and Responses. For this we have to write the PLC Program accordingly.

Query for Write :-
01------0010-----------000B------Address-------0001---------06**------**00

here :- 01 is Node ID, 10 is Function Code for Write , B is number of Bytes , 01 means that we want one register to write.
**** - It is the value which will be written in Address you mention.( Remember this Value is in Hexa-Decimal)
Note :- As in MODBUS we need to subtract 1 from the address , there is no need to do it in NV HMI , it does automatically.

Query For Read :-
0001--------0003----------0004---------Address----------Number of Bytes to Read.

here 03 is the function code for Read in MODBUS.

This way you will be able to establish MODBUS Communication between NV HMI and Omron PLC or any other PLC.

Remember :- NV HMI uses its internal Registers for MODBUS Communication, so put the address accordingly. GDT for words and GR for Bits.

If you are facing any problem in NV HMI Modbus Communication , then please write in Comment section and we wil get back to you . Also you can subscribe to get all latest update in PLC Programming ,MODBUS Programming , VFD Installation, SCADA Scripts.
Subscribe to Automation-Talk by Email.

Advertisements :-

1 comment:

  1. sir,
    i want to write plc program in cp1e for communicating seimens v20 vfd on modbus please suggest me.

    ReplyDelete

Get New Updates

Enter your email address:

Delivered by FeedBurner

Receive all updates via Facebook. Just Click the Like Button Below