News

How does the WEINVIEW touch screen connect with the Omron NJ controller?

Published:2023-03-24 14:52:16

First, Omron NJ controller programming


1. Create the structure data type required by the project. For example, the Boolean switch quantity used in this example is combined to establish a structure data type of "board receiver IO", and the integer data quantity used in this example is combined to establish a structure data type of "board receiver parameter". This makes it easy to assign addresses.


2. Create global variables according to the data type of the structure. The name cannot be the same with the data type, and can be distinguished by adding "HMI" before the data type. In addition, the initial address of the variable is assigned to the address in CJ mode, which is respectively %W0 and %D0.


D0 you want to check Hold.


3. Open "Data Type" and select an offset type for the structure variable. Here, select "CJ". Variable addresses are assigned according to the address of CJ PLC and can be commented on.


4, write PLC program, and download it to PLC.


Ii. Configuration of the touch screen of WEINVIEW


1. Create a new project and select the type of touch screen to be used.


2. In the System parameter Setting window, click Add Device/Server... , select the PLC model.


3. Select the Ohm device, which is connected by "OMRON CJ/CS/CP (Ethernet-FINS /TCP)".


4. Set the IP address to connect to PLC, which is usually 192.168.250.1.


5. Add a new value element, remove the check mark of "enable input function", and set the read address as "D0".


6. Add a "start" switch element, and set the read and write address as "W0.0"; Copy a Stop switch element with the read/write address set to W0.1.


7. Add a new indicator and set the address as "W0.2"; Copy the two indicators and set their addresses to "W0.3" and "W0.4".


8. After the touch screen is configured, save it and download it to the touch screen.

152104l3ts7uuzjn77wz2k.jpg