Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

(blue star)

This section gives an illustrative example of connecting an I/O device to Xpanel. Settings may differ based on your project’s configuration.

Exercise: Connecting to a CIMON PLC through Ethernet

I/O Device Configuration

a)  Select [Tools] – [I/O Devices] and press the [New Device] button. Enter the device’s name and select “Ethernet Device” as shown below.

b)     In the [Communication Port] tab, select the device type. For this example, select ‘CIMON-PLC’. Then go to the [Station] tab and press the [Add Station] button.

c)     In the [Station] window, enter the station name, type, address, etc. Press the [OK] button to finish the configuration.

Page Configuration

a)     To receive data from the PLC, register a real tag to the database. Go to the database editor and create an analog tag as shown below.

b)     To display the tag value in the Xpanel runtime, select [Draw] – [Dynamic Tag] and click on the page. Configure the object as shown below and press [OK].

Checking the Operation

a)     In CICON, create the program shown below and download it to the PLC. Run the program. The program saves a random number at D0 while M00 is on.

b)     Download the XpanelDesigner program to Xpanel and execute it. You can change the value of M00 in CICON while connected to the PLC. When the M00 contact turns ON, you will find that the value stored in D0 changes.

  • No labels