Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual...

68

Transcript of Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual...

Page 1: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)
Page 2: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Before the Use ( Caution)

Please read the manual carefully for optimal performance and to prevent any damage or

misuse of the product.

SAFETY SYMBOL(S) USED IN THIS USER MANUAL:

Caution This symbol signifies situations that may cause malfunction of the product.

Store this manual in a noticeable place near the operating device so that the user can review

whenever it is necessary.

CIMON Inc.(hereinafter referred to as CIMON) is not responsible for damage arising from

failure to follow instructions relating to the product's use.

Precautions for Design ( Caution)

While connecting CIMON-SCADA and CIMON-PLC, make sure each communication setting

follows that of the user manual. If the settings are not set properly, communication error

may be caused.

Before use, check if all other components such as cables are fully functioning. In case other

components malfunction, communication through CIMON-HMI Protocol may lead to failure.

Be careful of data security as outside issue may cause error to PLC data. Data missing and

error can be caused even when the communication shows no symptom of malfunction.

When running the device, install and use the product based on the content of the user

manual for the device.

CIMON will not be liable for any direct or indirect damage or loss resulting from not following

the instructions.

Page 3: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Page 4: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

CONTENTS

1. Introduction ............................................................................................................................ 1

1.1 Features ........................................................................................................................ 2

1.2 Supported Devices and Recommended specification ...................................................... 2

1.3 Supported Functions ...................................................................................................... 3

2 Address ................................................................................................................................ 4

2.1 Space and Notation of Address ...................................................................................... 4

2.2 Supported Data ............................................................................................................. 5

2.3 Bit Processing Word Data .............................................................................................. 6

3 Communication Settings ........................................................................................................ 8

3.1 Station ......................................................................................................................... 10

3.1.1 Station Settings ........................................................................................................ 12

3.2 Communication Port.................................................................................................... 14

3.3 Communication Block .................................................................................................. 18

3.4 Dynamic IP(DHCP) ....................................................................................................... 20

3.4.1 Dynamic IP(Domain name) ....................................................................................... 21

3.4.2 Dynamic IP(CIMON DDNS) ....................................................................................... 25

3.5 Line Redundancy ......................................................................................................... 29

3.6 Exporting and Importing CSV ...................................................................................... 30

4 Tag Registration .................................................................................................................. 34

4.1 Register Real Tag ......................................................................................................... 34

5 Additional Functions ............................................................................................................ 39

5.1 Communication Status ................................................................................................ 39

5.1.1 Communication Error Message ................................................................................ 39

5.1.2 Check Communication Status .................................................................................. 40

5.1.3 Enable or Disable Station ......................................................................................... 41

5.2 Tag SCAN Option ........................................................................................................ 42

5.3 Data logger System with CM1-LG02G ......................................................................... 45

5.3.1 Historian Function .................................................................................................... 46

5.4 Recipe ......................................................................................................................... 51

5.4.1 Recipe Settings ........................................................................................................ 51

5.4.2 Recipe Execution ...................................................................................................... 53

INDEX ...................................................................................................................................... 59

Page 5: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 1. Introduction 1

Total Solution for Industrial Automation

1. Introduction

This manual must be read and understood before the use of the device. Make sure this

manual reaches the final user and maintenance staff. This manual is about the CIMON-HMI

Protocol(Ethernet) communication and this protocol is also used as one of the CIMON-

SCADA communication drivers. The content of this manual is as below.

Chapter 1 : Explains the features, supported device and functions of CIMON-HMI

Protocol(Ethernet) communication.

Chapter 2 : Explains the address and data of CIMON-HMI Protocol(Ethernet)

communication.

Chapter 3 : Explains the communication settings for the use of CIMON-HMI

Protocol(Ethernet) communication.

Chapter 4 : Explains the tag registration to use CIMON-HMI Protocol(Ethernet)

communication.

Chapter 5 : Explains additional functions of CIMON-HMI Protocol(Ethernet)

communication.

Communication method between CIMON-SCADA and CIMON-PLC can be categorized to

three in general : CIMON-HMI Protocol(Ethernet) communication(TCP/UDP), Serial

communication(RS232/422/485) and CICON communication. This manual explains CIMON-

HMI Protocol(Ethernet) communication.

CIMON-HMI Protocol(Ethernet) is the protocol for communication between CIMON-SCADA

and CIMON-PLC. [Figure 1] below displays data exchange in actual communication.

[Figure 1] Communication structure of CIMON-HMI Protocol(Ethernet)

Page 6: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

2 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

1.1 Features

CIMON-HMI Protocol (Ethernet) is compatible with various devices and able to transmit large

amount of data with higher speed than other protocols.

Possibility of error or data loss in transmitting process is lower than serial communication.

Dynamic IP (DHCP) and line redundancy are supported.

Dynamic IP (DHCP) allows a user to use IP address more efficiently. Line redundancy allows

a user to restore communication quickly in case a disconnection happens.

< SUMMARY >

Process large amount of data with high speed

Low possibility of error and data loss

To be a most preferred network due to little constraint on the number of devices, the

distance of communication, and the amount of data

Supports dynamic IP and line redundancy

1.2 Supported Devices and Recommended Specification

Category Content Remarks

Manufacturer CIMON Inc.

Product Name CIMON-PLC

Communication

Method Ethernet TCP/IP, UDP/IP

Application

Layer CIMON-HMI Ethernet Protocol

Supported

Devices

CPU Type Communication Module

CM1 Series

CM1-EC01A, CM1-EC10A, CM1-EC10B,

CM1-EC10C, CM1-LG02G

CM2 Series CM2-BP32MxxxE

CM3 Series CM3-SP01EET

[Table 1] CIMON-HMI Protocol(Ethernet) supported device

Page 7: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 1. Introduction 3

Total Solution for Industrial Automation

1.3 Supported Functions

Each communication protocol driver provided by CIMON supports different functions. [Table

2] below shows the list of supported function of the CIMON-HMI protocol(Ethernet).

Refer to the list of supported functions before the use, as the supported functions of each

driver vary.

Function Supported Remarks

BIT Processing Word Data ■ Supported (*) 2.3 Bit Processing Word Data

Setting Station COM Block,

Exporting and Importing CSV ■ Supported (*)3.1 Station, 3.6 Exporting and Importing CSV

Dynamic IP(DHCP) ■ Supported (*) 3.4 Dynamic IP(DHCP)

Line Redundancy ■ Supported (*) 3.5 Line Redundancy

Communication Method ■ Block

(*) 3.2 Communication Port □ Page

Setting SCAN Time ■ Supported

Read and Write String Tag ■ Supported (*) 4 Tag Registration

Display Communication

Error Message ■ Supported (*) 5.1.1 Communication Error Message

Check Communication Status ■ Supported (*) 5.1.2 Check Communication Status

Enable or Disable Station ■ Supported (*) 5.1.3 Enable or Disable Station

Read after Write ■ Supported (*) 5.2 Tag SCAN Option

Recipe ■ Supported (*) 5.4 Recipe

Data Swap Analog □ Supported Not Supported

String □ Supported Not Supported

Communication Frame

Indicator □ Supported Not Supported

[Table 2] CIMON-HMI Protocol(Ethernet) supported functions

Page 8: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

4 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

2 Address

You must set the address of device properly in order to connect communication. As device

memory is where data value is saved, when the address is not properly written, data will not

be saved and read and write function will not operate properly. Therefore, make sure to

understand supported address space and its notation before use.

2.1 Space and Notation of Address

[Table 3] below is the address space and notation of address per each device model.

※ When writing each address, 0 can be omitted and the examples are as follow : X0000

as X00, X0012 as X12, and X0123 as X123.

Device CM1-CP1 CM1-CP2 CM1-CP3 CM1-CP4 CM1-XP CM2-BP32M PLC-S

X X0000~X255F X0000~X127F X0000~X63F X0000~X23F X0000~X511F X0000~X7F X0000~X63F

Y Y0000~Y255F Y0000~Y127F Y0000~Y63F Y0000~Y23F Y0000~Y511F Y0000~Y7F Y0000~Y63F

M M0000~M511F M0000~M511F M0000~M511F M0000~M511F M0000~M999F M0000~M255F M0000~M511F

K K0000~K127F K0000~K127F K0000~K127F K0000~K127F K0000~K999F K0000~K63F K0000~K255F

L L0000~L127F L0000~L127F L0000~L127F L0000~L127F L0000~L999F L0000~L63F L0000~L255F

F F0000~F127 F0000~F127 F0000~F127 F0000~F127 F0000~F127 F0000~F127 F0000~F127

S S00~S99 S00~S99 S00~S99 S00~S99 S00~S99 S00~S99 S00~S99

Z Z0000~Z2047 Z0000~Z2047 Z0000~Z2047 Z0000~Z2047 Z0000~Z2047 Z0000~Z2047 Z0000~Z2047

D D0000~D9999 D0000~D7999 D0000~D4999 D0000~D1999 D0000~D31999 D0000~D4999 D0000~D9999

TS TS0000~TS1023 TS0000~TS1023 TS0000~TS1023 TS0000~TS1023 TS0000~TS4095 TS0000~TS255 TS0000~TS511

TC TC0000~TC1023 TC0000~TC1023 TC0000~TC1023 TC0000~TC1023 TC0000~TC4095 TC0000~TC255 TC0000~TC511

T T0000~T1023 T0000~T1023 T0000~T1023 T0000~T1023 T0000~T4095 T0000~T255 T0000~T511

CS CS0000~CS1023 CS0000~CS1023 CS0000~CS1023 CS0000~CS1023 CS0000~CS4095 CS0000~CS255 CS0000~CS511

CC CC0000~CC1023 CC0000~CC1023 CC0000~CC1023 CC0000~CC1023 CC0000~CC4095 CC0000~CC255 CC0000~CC511

C C0000~C1023 C0000~C1023 C0000~C1023 C0000~C1023 C0000~C4095 C0000~C255 C0000~C511

Q - - - - - - Q0000~511F

[Table 3] Address space and notation of address per each device model

Page 9: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 2. Address 5

Total Solution for Industrial Automation

2.2 Supported Data

[Table 4] below is the explanation about tag type and data type each device model supports.

When setting communication, confirm the supported tag type and data type before the use.

Caution

If you set the input supported tag type and the supported data type incorrectly, read and

write of data is not supported.

※ R/W represents the right to read and write to internal data of CIMON-PLC from

CIMON-SCADA. (R : able to read, W : able to write)

Do not read and write to system space of each device.

Caution

Do not read and write to system space of each device.

Device Supported Tag Type

Supported Data Type R / W Digital Analog String

X O O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

Y O O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

M O O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

K O O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

L O O O NT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

F O O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

S X O X INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

C O X X - R

D X O O INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

TS X O X INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

TC X O X INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R

T O X X - R

CS X O X INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R / W

CC X O X INT8, 16, 32 / UINT8, 16, 32 / BCD8, 16, 32 / UBCD8,16, 32 / Float R

[Table 4] Supported data per device

Page 10: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

6 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

2.3 Bit Processing Word Data

When the data is based on Word unit, information of each Bit is not accessible as the data is

displayed by Word. However, once ‘Bit processing Word data’ is applied then each Bit of data

becomes accessible the Word.

To use the Bit address in Word address, set the address according to the form of [Word

address. Bit address]. Bit address should use the decimal system.

1 Word area consists of total 16 Bit flags. Refer the table below when inputting Bit

address.

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

※ D0001.0 → First Bit of D0001 Word address

※ D0001.15 → Last Bit of D0001 Word address

Caution

Bit flag of Word data is read only. Editing or modifying Bit flag will not take effect.

Example 1 : Bit Processing Word Data

This example is about how driver processes Word data to Bit flag.

(1) Register real tag in database as below.

Page 11: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 2. Address 7

Total Solution for Industrial Automation

(2) Figure below is the dialog box which shows tag value in CimonX. When inputting value

to SCADA, each Bit value will be displayed inside of Word according to input tag value.

※ Table below shows each value of Bit in case inputting 5555 to D10 Word.

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Value 0 0 0 1 0 1 0 1 1 0 1 1 0 0 1 1

Page 12: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

8 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3 Communication Settings

The purpose of the communication settings is to select a communication driver. The

communication driver can be set in I/O Device Configuration. Select [New Device] in I/O

Device Configuration dialog box to pop up I/O Device Selection dialog box as [Figure 2]

below. Find and select CIMON-PLC Ethernet communication method.

※ Make sure to identify the proper communication method before use.

[Figure 2] I/O Device Selection dialog box

Page 13: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 9

1) Device Name

Input name to distinguish devices.

Caution

In case of using special characters including dot, spot, space bar, arithmetic

symbols, colon or semicolon may lead to failure in adding new device or

operating system.

Ex) Device_Name (Usable), Device.Name (Non-usable)

In case of not inputting device name, not selecting device type, or inputting

overlapped device name, it may lead to failure in adding new device.

2) Device Type

Select a device type of the device, which connects to CIMON-SCADA. In this manual, CIMON-

PLC Ethernet is selected.

※ CIMON-PLC Ethernet is identical as CIMON-HMI Protocol(Ethernet).

3) Ok

After the setting, click [Ok] button to add a new device with input information. Clicking the

[Ok] button will return the dialog box back to I/O Device Configuration dialog box and newly

added device will show up on the dialog box.

4) Cancel

Cancel the setting and close Selection dialog box.

Page 14: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

10 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.1 Station

Station is the device to distinguish multiple devices(PLC) which are connected to identical

network. Using the station will allow the user to set each device(PLC) separately.

Set the network communication of lower I/O device(PLC) in station settings. Setting and

adding the station is available in station settings dialog box as in [Figure 3].

[Figure 3] CIMON-PLC Ethernet station settings dialog box

Page 15: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 11

1) Edit

Edit existing station or communication block. Clicking [Edit] after selecting a station will

prompt the Station Selection dialog box, and clicking [Edit] after selecting a communication

block will prompt a COM block dialog box. Edit function can also be accessed by double-

clicking the station or communication block.

2) Delete

Delete the existing station or communication block. Select the station or communication

block first and then click [Delete] button.

3) Add Station

Add new station. Clicking this button will prompt [Station] settings dialog box.

4) Add COM Block

Add new communication block. Select station and click [Add COM Block] to pop up [COM

Bloc] settings dialog box.

(*) Refer to 3.3 Communication Block

5) Exporting and Importing CSV

Exporting CSV function will save all the settings of station and COM block to project in forms

of CSV file. Importing CSV function will load the data from CSV file to the station.

(*) Refer to 3.6 Exporting and Importing CSV.

Caution

If added station in CSV file is not registered to communication settings previously,

importing CSV function may fail to work.

(*) Refer to the cautions in 3.6 Exporting and Importing CSV.

6) Save

Save current settings of station and communication block to project as DVX file.

Caution

If the COM port is not configured, save function may fail to work. Check the COM port

settings before the save.

(*) Refer to 3.3 Communication Block.

7) Close

Close CIMON-HMI Protocol(Ethernet) communication settings dialog box.

Page 16: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

12 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.1.1 Station Settings

[Figure 4] below is [Station] settings dialog box for adding and editing station. Match the

model and IP address of the device to communicate with the right device.

[Figure 4] CIMON-HMI Protocol(Ethernet) Station settings dialog box

1) Station Name

Input name to distinguish stations. Station name is used to distinguish the devices within

CIMON-SCADA when two or more devices (PLC) are connected to the communication port.

2) PLC CPU

Select the CPU type of PLC, or the model of the device. Model includes CM1-CP1, CM1-

CP2, CM1-CP3, CM1-CP4, CM1-XP, CM2-BP32M and CM3-PLCS.

(*) Refer to 2.1 Space and Notation of Address as each model use different address and

notation.

Page 17: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 13

3) Socket No.1

Input assigned socket port number for network communication. This number should match

socket port number which is set to PLC. The initial value of socket port number is 10262.

Socket port number is changeable when using dynamic IP(DHCP).

4) DDNS Server #1, #2

Input DDNS address when using ‘Dynamic IP(CIMON DDNS)’.

(*) Refer to 3.4.2 Dynamic IP(CIMON DDNS)

5) #1, #2 IP address

Input primary IP address to #1 IP address. When using line redundancy to network line, input

secondary IP address to #2 IP address.

(*)Refer to 3.5 Line Redundancy.

6) Station Description

Input simple description about the station

7) Data Logger

The data logger signifies the system that allows SCADA to request and restore missing data

in case of communication loss. The data collecting time can be set from minimum 1 minute

to maximum 3600 minutes, i.e. 60 hours based on the point of communication loss.

In case of communication loss, CIMON-HMI Protocol(Ethernet) driver memorizes the time

and requests missing data to CM1-LG02G based on that time when communication is

reestablished.

(*) Refer to 5.3 Data Logger System with CM1-LG02G for more details.

Caution

In case communication of CimonX disconnects for more than 60 hours, part of

data could be missed as requesting time of the data exceed the limitation.

‘Data logging from N minutes ago’ function is to avoid excessive telecom charge

for data usage. In the circumstance which data charge depends on the data size,

excessive charging could happen when N minutes is set too long and it leads to

large amount of collected data. Therefore, be aware of charge for data usage

when using ‘data logging from N minutes ago’ function.

(*) Refer the cautions in 5.3.1 Historian Function.

1 A concept close to an address for program which allows the use of network.

Page 18: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

14 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.2 Communication Port

In COM Port settings, set the network communication to match that of the system (computer)

which has the CIMON-SCADA Software installed.

Caution

When experiencing a problem with communication, check COM port settings or

status of local network as these may be the cause.

Make sure to use proper IP address of the PC and the device (Socket Port

Number) and check the network status before configuring the CIMON-HMI

Protocol (Ethernet) communication.

[Figure 5] CIMON-HMI Protocol(Ethernet) COM Port settings dialog box

1) Socket No.

Input assigned socket port number for network communication. CIMON-HMI

Protocol(Ethernet) communication port has a fixed socket port number of 10262 when

using UDP, and 10260 when using TCP.

2) IP address #1, #2

Input primary address of software installed system(computer) to #1 IP address. #2 IP address

is only for line redundancy. In case of using line redundancy, input secondary IP address of

software installed system(computer).

When input the [0.0.0.0] or [127.0.0.1] to primary IP address, it will automatically load IP

address of SCADA installed computer. Clicking […] button shows the list of network adapters

that are installed in the computer and allows the user to select network in need of use and

connection.

Page 19: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 15

3) Protocol

Choose protocol between UDP and TCP. Description and pros and cons are as table below.

Commu

nication

Method Description Pros Cons

UDP - Do not manage each other’s

connection status.

- Receive quicker response as the

design is simpler than TCP.

- Simultaneous communication

of multiple devices is possible as

it does not need connection

process.

- Suitable for situation which

needs real time data.

- Reliability is lower than TCP as it

does not define method to process

the error during data transmission.

- Communication TimeOut function2

and Retry function3 of the protocol

is implemented to overcome this

problem and raise reliability,

TCP - Manage each other’s

connection status unlike UDP

- Define the method to process

error during data transmitting

- Thus, transmitted data by TCP

have high reliability and

stability

- Adequate to transfer the big

size data such as file

- Exchange response continuously to

check the sequence of the data and

processing error.

- Thus, communication performance

is slightly lower than UDP.

[Table 5] Description and pros and cons of UDP and TCP.

2 A function which decide communication as disconnected when the communication is not connected during set time.

3 Continuously try to connect communication in case of disconnection

Page 20: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

16 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

4) Line Redundancy

The line redundancy is used to connect communication with a secondary line even when the

one line is disconnected in case LAN ports of the computer are composed of two.

[…] button shows the adapter information of the Ethernet installed in computer as in [Figure

6] and sets the proper IP address. #1 IP address is primary address and #2 IP address is

secondary address.

[Figure 7] is network adapter information window which pops up when clicking […] button.

Click each list to check description of certain network adapter. (*)Refer to 3.5 Line

Redundancy to set the function.

[Figure 6] Setting line redundancy

[Figure 7] Network Adapter Information window

Page 21: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 17

5) Use Dynamic IP

Use when the computer use dynamic IP. Once input MAC address to CIMON-HMI

Protocol(Ethernet) communication settings dialog box, the connection will be maintained

even when the IP address of the computer changes.

(*) Refer 3.4 Dynamic IP(DHCP) .

[Figure 8] Dynamic IP settings Dialog box

[Figure 9] Network Adapter Information window

6) Save

Click Save to store all communication settings to inside of project as DVX file. Clicking [save]

button will store the settings without popping up dialog box asking for confirmation.

Page 22: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

18 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.3 Communication Block

CIMON-HMI Protocol(Ethernet) supports block communication as a way of communication

method. Block communication means communicating large amount of data in block units

instead of communicating data individually.

For example, when communicating 100Word data as shown in [Figure 10] below, individual

communication will communicate 1Word for one hundred times but block communication

will communicate two blocks of 50Word unit.

This function enhances efficiency of the communication as it allows to send and receive large

amount of data in bundle.

[Figure 10] Block communication process

Set the communication period to read data from the block every set period(Scan Time).

Communication TimeOut function is to used to decide whether the communication is

disconnected. This function will decide the communication is disconnected only when the

time of disconnection exceeds the set time. Setting range is from minimum 1 second to

maximum 30 seconds.

Page 23: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 19

[Figure 11] COM Block settings dialog box

Communication block settings dialog box will pop up when adding and editing

communication block. Communication block will communicate the data by the number of

Word in assigned address. Available settings in communication block settings dialog box

include Block No., Address, Word and Scan Time.

1) Block No.

Assign number to the block. The block number of the communication block is for

distinguishing blocks, not for assigning the sequence of communication. Thus block number

is not related to sequence of operation. The block number is also applied to the use of Tag

SCAN option.

(*) Refer to 5.2 Tag SCAN Option.

2) Address

Assign address for communication.

(*) Refer to 2.1 Space and Notation of Address.

3) Word

Assign the number of data(Word) to communicate from the initial number.

4) Scan Time

Set the communication period to communicate with assigned block. The scan time is

available from 0 second to 999.9 seconds. Refer to the cautions below when setting.

Caution

In case the address is not set in the COM Block settings, data may cannot be

checked even when that address is registered to real time tag.

When tag address is not set to certain COM block, getting the value from tag

may fail. Do not set communication period (Scan Time) to 0, as read operation

will read at initial time only then stop.

Page 24: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

20 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.4 Dynamic IP(DHCP) 4

Dynamic IP(DHCP) is the method which does not use static IP address but use IP address

which is allocated by network. The network allocates new IP address to network IP of CIMON-

PLC on every connection.

CIMON-HMI Protocol(Ethernet) supports dynamic IP(DHCP)and provides 2 types of DHCP :

‘Dynamic IP(Domain Name)’ and ‘Dynamic IP(CIMON DDNS)’ 5

.

1) ‘Dynamic IP(Domain Name) : Connects by domain name in DDNS server which is provided

by manufacturer of network device.

※ Ex) ipTIME. ipTIME is a network device manufactured by EFM-Networks.

2) ‘Dynamic IP(CIMON DDNS)’ : Connects by domain name(site name) in private DDNS server

which provided by ‘CmDdnsSvr.exe’. ‘CmDdnsSvr.exe’

program is provided along with SCADA.

‘Dynamic IP(Domain Name)’ and ‘Dynamic IP(CIMON DDNS)’ have different benefits in

different way. When using the dynamic IP(DHCP), refer to the table below before choosing

proper method between ‘Dynamic IP(Domain Name)’ and ‘Dynamic IP(CIMON DDNS)’

Caution

‘Dynamic IP(Domain Name)’ and ‘Dynamic IP(CIMON DDNS)’ cannot be used

simultaneously.

Domain Name CIMON DDNS

Definition

- Connects by domain name in

DDNS server which is provided by

manufacturer of network device

- Connects by domain name(site

name) in private DDNS server

through ‘CmDdnsSvr.exe’ which

provided by CIMON.

Terms

of use

- In need of network device of

certain manufacturer

- Manufacturer of network device

provide DDNS server

- No need for network device to

use dynamic IP

- Need at least one static IP

Supported

PLC

- Usable on most PLC which

supports Ethernet - Usable only on CIMON-PLC

Remarks - In need of port forwarding to use

socket port number

- Convenient to use on local

network such as VPN

[Table 6] Comparison between ‘Dynamic IP(Domain name)’ and ‘Dynamic IP(CIMON DDNS)’

4 DHCP (Dynamic Host Configuration Protocol) : The method which allocates unassigned IP address of the user to network IP,

every time the user connects.

5 DDNS(Dynamic Domain Name Service) : The service which changes non-static IP address to a form of domain address.

Page 25: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 21

3.4.1 Dynamic IP(Domain name)

‘Dynamic IP(Domain name)’ updates DNS6

in real time by using DDNS. As ‘Dynamic

IP(Domain name)’ is registered to DDNS server by domain name, domain name remains

unchanged even IP address changes. It makes possible to access by using identical domain

name while not inputting changed IP address every time.

‘Dynamic IP(Domain name)’is provided by the manufacturer of network device and applicable

on most of the devices(PLSs) which supports Ethernet.

[Figure 12] ‘Dynamic IP(Domain Name)’

[Figure 12] above is the figure which shows communication between CIMON-SCADA and

CIMON-PLC. When using ‘Dynamic IP(Domain name)’, CIMON-SCADA communicates with

CIMON-PLC through DDNS server which is provided by network device. The procedure is as

below.

6 DNS (Domain Name Service) : A service for convenient use of Internet which automatically change domain name to IP

address and connects it with domain IP.

Page 26: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

22 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

Network device sends information to DDNS server every time assigned IP address changes.

(1) DDNS server receives information and registers IP Address of CIMON-PLC to domain

name.

(2) CIMON-SCADA requests IP address of CIMON-PLC to DDNS server by using domain

name.

(3) DDNS server sends IP address of CIMON-PLC to CIMON-SCADA.

As domain name of CIMON-PLC is fixed even when IP address changes, CIMON-SCADA

and CIMON-PLC can communicate through name even when IP address is changed.

※ Set the port forwarding in settings window of Network device and set the socket port

number in settings dialog box of station to use socket port number of PLC.

※ Refer to ‘Example 1 : How to use ‘Dynamic IP(Domain name) through ipTIME’ below

about port forwarding

※ Port forwarding provides connecting port for two different networks and it needs

Network device to function.

Example 1 : How to use ‘Dynamic IP (Domain name’ through ipTIME

This example is about how to use ‘Dynamic IP(Domain name)’ through ipTIME

(1) Input ‘192.168.0.1’ and click [set up] to enter settings dialog box. Set remote Mgmt

port by entering [Advanced Setup] – [Firewall] – [Mgmt Access List]. Check [Remote

Mgmt port #] button and set the number of management port.

※ The figure below is the settings window of ipTIME device. Contact the manufacturer of

the Network device for detailed setting.

Page 27: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 23

(2) Enter [Utility] – [DDNS] to register the address of domain name. After registration,

input the name to IP address #1 in settings dialog box of station of CIMON-SCADA.

‘Dynamic IP(Domain name) is usable when set DDNS address is input to IP address of

station as such.

In ipTIME settings dialog box, Host Name means domain address which should be input

to IP address #1 in settings dialog box of station.

Input ‘Host Name.iptime.org’ which is displayed after registration, not just ‘Host Name’.

In this example ‘cimonDDNS.iptime.org’ should be input. Use user ID which registered

to ipTIME homepage to communicate.

(3) Below is the figure about how to set port forwarding to assign socket port number in

ipTIME. Choose port forwarding by entering [Advanced Setup – NAT/Routing – Port

Forwarding] in settings dialog box of ipTIME. Click [Add new rule] button, input Rule

Name, Internal IP, Protocol, External and Internal port , then click [Apply].

Input IP address of PLC you confirmed from this example (3) to Internal IP. Check the

port number of the product before the input as the number of Internal and External port

would vary depending on protocol of the product. Click [Save] button above to save all

the settings.

Page 28: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

24 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

※ Each CIMON-PLC product use port number followed by table below.

CIMON protocol TCP/UDP Port Number

CIMON-HMI Protocol TCP/UDP 10260/10262

CIMON-PLC Loader Protocol UDP 10266

MODBUS TCP(Slave) Protocol TCP 502

CIMON-SCADA User Protocol TCP/UDP Varies depending on user setting.

(4) Click [Using Dynamic IP (Domain Name)] in station settings dialog box of CimonD.

Input ‘hostname.iptime.org’ to #1 IP Address according to set host name as in this

example (2). This example inputs ‘cimonDDNS.iptim.org’.

(5) Run CimonX to check connection status of communication. Enter [View – Network

Status] in CimonX and check whether the status is ‘Enable’ when the communication is

connected.

Page 29: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 25

3.4.2 Dynamic IP(CIMON DDNS)

Using ‘Dynamic IP(CIMON DDNS)’ will allow the user to connect CIMON-SCADA and CIMON-

PLC through private DDNS server provided by CIMON.

Caution

At least one static IP address is needed to use ‘Dynamic IP(CIMON DDNS)’ for

DDNS.

‘Dynamic IP(CIMON DDNS)’ is only applicable for CM1-EC10C, CM3-SP01EET,

PLC-S CPUs.

‘Dynamic IP(CIMON DDNS)’ communicates by setting DDNS information in CIMON-PLC and

using site name which is domain name set in PLC.

‘Dynamic IP(CIMON DDNS)’ is only supported by CIMON products including CM1-EC10C,

CM3-SP32MDTE, CM3-SP32MDTF, CM3-SP16MDRE, CM3-SP16MDRF, and CM3-SP01EET.

By using ‘Dynamic IP(CIMON DDNS)’, constructing and operating the private DDNS server is

possible through DDNS software ‘CmDdnsSvr’ which is provided with CIMON-SCADA.

Therefore, ‘Dynamic IP(CIMON DDNS)’ can be used conveniently in local network such as

VPN.

[Figure 13] ‘Dynamic IP(CIMON DDNS)’

[Figure 13] above shows the way of communication between CIMON-SCADA and CIMON-

PLC through ‘Dynamic IP(CIMON DDNS)’, and the procedure is as below.

(1) CIMON-PLC sends IP address to private DDNS.

(2) Private DDNS software ‘CmDdnsSvr’ receives and registers the IP address to the

program.

(3) CIMON-SCADA requests the IP address of CIMON-PLC to private DDNS server(CIMON

DDNS) to communicate.

Page 30: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

26 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(4) Private DDNS server(CIMON DDNS) sends IP address of CIMON-PLC to CIMON-SCADA

upon request.

※ Look for DDNS folder in SCADA-installed-folder for Program ‘CmDdnsSvr’.

‘Dynamic IP(CIMON DDNS)’ provides DDNS server redundancy function, and it allows to

connect automatically through secondary DDNS server even when one DDNS server is

disconnected.

Example 1 : How to use ‘Dynamic IP (CIMON DDNS)’

This example shows how to use ‘Dynamic IP(CIMON DDNS)’ by using CIMON-PLC DDNS

settings.

(1) Choose ‘Using Dynamic IP(CIMON DDNS)’ in Station settings and input IP address of

the currently using computer. Set domain name(site name) to #1 IP address.

Page 31: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 27

(2) Run CICON program and check settings in [Ethernet] through [New Project –

Parameter – PLC Parameter] menu. Enter PLC parameter dialog box by double-clicking

PLC parameter settings and click [Ethernet] menu. click [Use DHCP] button then set

DDNS Setting according to this example (1).

(*) Refer to first step in this example.

※ Settings dialog box varies depending on the module. Refer to the figure and

explanation below to check settings dialog box of each module.

※ CM3-SP32(PLC-S) module displays settings dialog box as below.

※ CM-EC10C and CM3-SP01EET module displays settings dialog box as below.

Page 32: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

28 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(3) Open DDNS folder in SCADA-installed-folder to run ‘CmDdnsSvr.exe’ file. Once the

program is running, server settings dialog box will be displayed. Set items in server

settings dialog box including server IP address of the computer, server socket number,

TimeOut. When server settings dialog box does not displayed, enter through [File] –

[Setting]

(4) When the connection of PLC is completed after setting the server, communication

status will be available on ‘CmDdnsSvr.exe’ file dialog box.

※ Ethernet module does not need separate IP settings.

※ Setting port forwarding is needed to run CIMON-PLC through separate Network

device.

(*) Refer to 3.4.1 Dynamic IP(Domain name) about how to use port forwarding.

Caution

The communication will fail if address, station, communication port and

communication block are not set properly.

Changing time of Communication status(Normal/Abnormal) varies because it

depends on DDNS Connection Interval in CICON.

Page 33: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 29

3.5 Line Redundancy7

[Figure 14] PLC line redundancy

Line redundancy minimizes communication downtime by restoring communication quickly

and automatically in case communication breaks down. To use the line redundancy, prepare

two identical systems(PLCs) on which Ethernet modules are installed.

[Figure 14] shows line redundancy between PLC and SCADA. In case of disconnection,

secondary IP address is used for communication.

To set the function, choose line redundancy in communication port settings, and input IP in

Station settings.

(*) Refer to 3.2 Communication Port.

The order of priority is #1 IP address → #2 IP address → #1-2 IP address → #2-2 IP address

followed by the number on Station settings dialog box.

(*) Refer to 3.1.1 Station Settings.

7 A system constructs of two network lines. In case of disconnected communication, secondary network IP automatically

connects communication on behalf of one network IP.

Page 34: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

30 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3.6 Exporting and Importing CSV

Exporting CSV function will export all the settings of station and communication block to the

computer in the form of CSV file. Importing CSV function will import the configured data of

CSV file to station.

Exporting and importing CSV function will allow the user to add or edit communication block

more conveniently.

Caution

To import CSV file successfully, station name in CSV file must be registered in I/O device.

Example 1 : Exporting and Importing CSV

This example explains how to add communication block data through exporting and

importing CSV function in communication settings dialog box.

(1) Click [Save CSV] button to export all the settings of COM block in the format

‘Filename.CSV’.

Page 35: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 31

(2) Figure below is an example of a CSV file. All settings are exported and saved according

to the format of the COM block.

Caution

When listing the CSV file, write the content so that row 1 of the file shows the name of

the item as shown in the figure below. If the form does not match, importing function

will fail to work.

(3) Write down items including Station Name, Station IP Address, CommBlock No. to CSV

file according to the form and save the file.

Caution

In case the items including Station Name, Station IP Address CommBlock No. are

not properly listed according to the form, importing function will fail to work.

In case station of edited data does not match previously registered station,

edited data will not be imported. Therefore, stations must match before data can

be imported.

CommBlock numbers cannot be used more than once, regardless of which

station it belongs to. Please see the figure above and beware that import feature

will not work if duplicate numbers are used.

Page 36: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

32 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(4) Click [Load CSV] button and choose CSV file to import as shown below.

(5) When importing an edited CSV file, a dialog box pops up as below. Clicking [Yes]

saves back up file before the import and clicking [No] imports without a back up file.

Clicking [Cancel] closes the dialog box and cancels importing function.

Page 37: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 3. Communication Settings 33

(6) Content of communication block in CSV file is imported to each set station.

Caution

Cautions below is about this ‘Example 1: Exporting and importing CSV’.

In case added content does not match previous form, importing function will fail

to work.

(*) Refer to explanations below for each error messages.

(ⅰ) COM Block :

When COM Block number is not properly input, error message pops up with

“Redundancy of CommBlock Number.”

(ⅱ) PLC Addr Device Code :

When PLC Address Device Code is not properly input, error message pops up with

“PLC Addr Device Code Error.”

(ⅲ) Station Address and Word Number :

When Station Address and Word Number are not properly input, error message

pops up with “Redundancy of Address.”

(ⅳ) SCAN Time :

When SCAN Time is not properly input, error message pops up with “SCAN Time

Error.”

Page 38: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

34 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

4 Tag Registration

Register a tag to link the data in I/O device. Data in I/O device is categorized in 3 types :

Digital, Analog and String. In case of a string tag, alphabet characters can be used to store

values.

4.1 Register Real Tag

Click [New Tag] on the upper left side of database to prompt Tag Edit dialog box as shown

in [Figure 16]

[Figure 15] CimonD Database dialog box

Page 39: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 4. Tag Registration 35

Total Solution for Industrial Automation

[Figure 16] Edit Tag General settings dialog box

Editing and setting real tag is available in this dialog box.

1) Name

Input the name of tag.

2) Type

Select tag type according to the supported data type in the address. (*) Refer to 2.2

Supported Data to check what type of data is supported in the address.

3) Des.

Write additional description about the tag.

4) I/O Device

Set I/O device to register tag.

5) I/O Address

Input I/O address of tag according to the correct notation.

Page 40: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

36 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

Example 1 : How to Resister Real Tag (D Area)

This example is about how to register a real tag to the D area.

(1)Display Edit Tag dialog box on CimonD. Input address to D10 according to I/O address

notation and click [Ok] button to register real tag.

(2) Tag value will be reflected when the user changes the value of the tag in CimonX.

Page 41: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Chapter 4. Tag Registration 37

Total Solution for Industrial Automation

Example 2 : How to Resister String Tag

This example demonstrates how to register a string tag.

(1) Display Edit Tag dialog box of CimonD and set string tag to D100 area.

(2) Open CimonX and input ‘ABCDEF’ to D100 area. Value will be changed as below.

Page 42: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

38 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(3) On CICON memory monitor, 1 Word will show two characters as one English alphabet

takes up 1 Byte. As one Korean character takes up 2 Byte, 1 Word will show 1

character.

※ When inputting multi-byte character such as Korean or Chinese, string tag will be

displayed as question mark(‘?’) on CICON memory monitor. However, CimonX displays

multi-byte character as text itself.

Page 43: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 39

5 Additional Functions

CIMON-HMI Protocol(Ethernet) provides various functions for data acquisition. Users can

monitor their field networks by checking communication status. SCAN option offers users to

read a specific block after write a tag value.

Furthermore, with Historian function, users can collect time-series data and store them

effectively. Data logger system supports lossless data during disconnected communication.

Recipe function helps users to set machine parameter or production data conveniently, also

allows users to load or set recipe data during the runtime.

5.1 Communication Status

Users can check communication status and communication error message on CimonX

execution dialog box, in addition to enabling or disabling stations.

5.1.1 Communication Error Message

Communication error message will be displayed as in [Figure 17], in case there is a

communication problem in CimonX.

[Figure 17] Communication error message window

Users will be able to find solutions promptly because the system status dialog box will provide

error status in real time.

Page 44: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

40 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

5.1.2 Check Communication Status

Click [View] – [System Status] to show System Status dialog box in CimonX. In System Status

dialog box, the user can check the status of system and communication driver and also run

or stop of communication. Communication status of the station is displayed on the message

dialog box. CIMON-PLC Ethernet communication is expressed as [CMPLE ENET], and the

station is expressed as ‘Device Name. Station Name’.

[Figure 18] Communication status window

Page 45: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 41

5.1.3 Enable or Disable Station

When using multiple stations, communication of each station can be controlled individually.

This function is called station Enable or Disable. This function allows only select stations to

communicate.

This function is available on CimonX. Follow the [View] – [Network] menu to prompt the

Network dialog box. Using enable or disable function is available on that network dialog box.

Using a command can also enable and disable communication. Inputting the command

‘EnableDevice(“DeviceName”, 1)’ will enable communication and inputting the command

‘EnableDevice(“DeviceName”, 0)’ will disable communication.

[Figure 19] below is the dialog box which displays enabled station. Click [Comm. disable]

button to disable the station.

[Figure 19] Station Network Status (Normal)

[Figure 20] is the dialog box which displays disabled station. Click [Comm. Enable] button to

enable and connect the communication again.

[Figure 20] Station Network Status (Disabled)

Page 46: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

42 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

5.2 Tag SCAN Option

CIMON-HMI Protocol(Ethernet) provides a special function that is not provided in a typical

communication block. Tag SCAN option is one of them. Using SCAN option can read specific

memory block after writing a data value to certain area.

SCAN option can read specific block after writing a tag value using /SCAN formula. Register

‘/SCAN = N1,N2,...,Nm’ after tag address to read specific block after writing a tag value.

For example, ‘/SCAN=0’ formula reads the value from communication block that have ‘0’

block number, and ‘/SCAN=1’ reads the value from communication block that have 1 as block

number.

Register ‘/SCAN=-1’ after tag address in order not to read the memory block.

Example 1: SCAN Option Execution

This example is about how to read the data from assigned block after writing data through

SCAN option. In this example, users can understand the procedure of writing a tag value and

reading an address block through CIMON-SCADA and CICON.

(1) Set communication block as below.

Page 47: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 43

(2) Set tag to address of D100. Input the formula ‘/SCAN=0’ behind the address.

‘/SCAN=0’ means to read the communication block of D0 which has 0 as block number

in certain station.

(3) Register D0 as a real tag, to make sure the value is read from address of D10.

Page 48: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

44 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(4) Construct a circuit in CICON as below and connect it to PLC.

(5) Open CimonX and change value of tag name ‘WORD’ in D100. It will change

the value of D0 immediately. If the value of D100 is not changed, then the value

of D0 will be changed every 5 seconds as the basic pulling SCAN time is 5

seconds.

Through SCAN option, the user can write a tag value immediately without

waiting 5 seconds and read a value from the space which is set by SCAN block

number.

Page 49: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 45

5.3 Data Logger System with CM1-LG02G

To use the data logger system, CIMON PLC’s CM1-LG02G module and data logger function

of this module is required.

CIMON-HMI Protocol(Ethernet) will request CM1-LG02G for the data that was exchanged

during the time communication between the device and CIMON-SCADA was broken.

[Figure 21] Data logger operation

CM1-LG02G logs data continuously and sends the section of data upon request. If

communication is disconnected, CIMON-HMI Protocol(Ethernet) records the time when

CimonX stopped.

When communication is resumed, SCADA requests for the data during the disconnection,

based on the recorded time. i.e., when CimonX runs or communication is connected, SCADA

request to CM1-LG02G and read the log data which expressed as bold curvy line in [Figure

21]

Through this process, lost or missing data arising from network disruption or error can be

recovered and saved.

Caution

In case of exceeding maximum range of collecting time of CM1-LG02G, be aware that

data can be lost.

(*) Refer the cautions in 5.3.1 Historian Function.

Page 50: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

46 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

5.3.1 Historian Function

[Use CIMON HISTORIAN] should be selected in CimonD, before the use of historian function.

Historian function would save and acquire real time data. Data logging is available from all

kinds of tags.

Historian function can be used independently. With CM1-LG02G installed in the system, the

section of data during a communication failure can be collected as well.

Caution

Historian function is only available under Window 64-bit.

Example 1 : Setting Historian System

This example is about how to set station and register tag in order to use historian feature.

(1) Pop up Project settings dialog box by following [Tool] – [Project]. Click [CIMON

HISTORIAN Use] button.

Page 51: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 47

(2) Enter Station settings dialog box and input Station Name, PLC CPU, IP Address. Click

[Use Data Logging Function(CM1-LG02G)] button and click [Ok]. (*) Refer to 3.1.1

Station Settings.

※ When using ‘Data Logging from N minutes ago’ function, CimonX will request

CM1-LG02G to provide a section of data of N minutes since CimonX starts running

till present time. Limitation of N minutes is 3600 minutes, i.e. 60 hours.

Caution

In case of communication has failed for longer than 60 hours, any data

generated prior to this duration would be lost.

‘Data logging from N minutes age’ function is to avoid excessive charge for data

usage. In the circumstance which data charge depends on the data size,

excessive charging could happen when N minutes is set too long and it leads to

large amount of collected data; Therefore, be aware of charge for data usage

when using ‘Data logging from N minutes age’ function.

※ In case of missing part of the data, use DriverCommand to check section of

communication breakdown and missing data as below. Run CimonX to enter [Work –

Command Window(R)] and input the command as follows :

drivercommand("DeviceName.StationName",”4”, "YYYY-MM-DD TT:MM:SS, YYYY-

MM-DD TT:MM:SS"). This command loads the data in between the two times a user

inputs.

Page 52: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

48 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(3) Add communication block to set communication area. When COM Block dialog box

pops up, input Block No., Address, Word, Scan Time and click [Ok] button. (*) Refer to

3.3 Communication Block

(4) Select TCP in COM Port settings dialog box. Set IP Address, Protocol, Time Out. (*)

Refer 3.2 Communication Port. Save all the settings of Station and COM Port then

close.

Caution

You must select TCP to use data logger function. Be aware that selecting UDP

can lead to a failure during data collection.

Page 53: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 49

(5) Add new tag in database. Click New Tag to pop up Edit Tag dialog box and input I/O

Device and I/O Address according to station settings. Must input ‘/LOG’ behind the I/O

address to use data logger function. Click [Create data for Report] button and register

the tag. Save all the settings and run CimonX to check the status of collecting log data.

(6) When the log data is collected normally, a user can check the data collecting status

through System Status dialog box. Enter [View – System Status] to check the message

about requesting and receiving log data.

Page 54: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

50 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(7) Open the page which has trend in, and check the trend of data. [H] button also

performs the identical function.

The graph of trend will only display the data up to 3600 minutes as this is the maximum

permitted limit. To check the data beyond 3600 minutes, use DriverCommand. (*) Refer

5.3.1 Historian Function about the use of DriverCommand.

(8) The figure below displays the data acquisition point where data started to be collected

after CimonX runs after the stop, or communication is connected after the break.

The blue line under the figure is the data we confirmed in the red box in this example

(7), and the section which does not show any blue lines means communication loss or

CimonX stop.

Page 55: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 51

5.4 Recipe

The recipe function prepares multiple set of tag block values beforehand and loads one of

prepared block at the time of need. When manufacturing multiple products, using the recipe

function allows the user to load process variables of the other product after finishing

manufacture of one product.

Therefore, the operation becomes more convenient as there is no need to input multiple

tag values every time product changes. The operator can simply load the tag block which is

prepared beforehand.

[Figure 22] Recipe settings dialog box

5.4.1 Recipe Settings

1) Model Name

Input model name of the Recipe.

2) Save In

Input the folder which Recipe data will be saved. Input directly or use [Browse...] button.

Page 56: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

52 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

3) Security Level

Give authority to use the function of Recipe depending on the security level. Security level

ranges from 1 to 100 and the first level is the highest level.

4) Tag Group Settings

Tag Group Settings includes Field Name which is to input the type of value to set. For

example, feed factory will input the type of material to the item.

5) Add Model

Add model of Recipe.

6) Reg Model

Edit the model of Recipe which added previously. Register model after adding or deleting

tag group by choosing previous model.

7) Del Model

Delete the Recipe model.

8) Add Group

Clicking [Add Group] button opens a dialog box for adding a name of tag group. The

name of tag group is mainly used as a name of a product. Add a group first, then set a

tag(real tag) to each field of the group.

9) Edit Group

Edit the name of a tag group. Clicking [Edit Group] button pops up a dialog box which

edits a name of tag group.

10) Del Group

Clicking [Del Group] pops up a menu for deleting tag group.

11) Browse...

[Browse...] button allows the user to register tag to Field Name or Group directly without

entering database dialog box.

Page 57: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 53

5.4.2 Recipe Execution

After setting the recipe on CimonD, use RecipeDialog() command to use the recipe

function on CimonX.

Using recipe function allows the user to load tag value that saved previously, and to load

and save recently edited tag value to recipe memory separately. Using the write command

to tag value data which saved to memory, will input that data to PLC.

Caution

To use changed tag value data after closing the recipe, make sure to save the changed

tag value.

[Figure 23] Recipe execution dialog box

1) Model Name

Shows the type of previously saved Recipe model.

2) Tag Group

Shows the type of tag group which is set to Recipe model.

3) Recipe Data

Shows the value of Recipe memory in field of tag group.

Recipe Memory

Read and Write Data Value

Page 58: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

54 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

4) Write

Input Recipe data in Recipe memory to tag. The identical function is also available by script.

The name of command is RecipeDownload() and the form of command is RecipeDownLoad

("ModelName",TagGroup Name").

5) Read

Read the data from field of tag group and bring the data to Recipe memory. The identical

function is also available by script. The name of command is RecipeUpload() and the form of

command is RecipeUpLoad (ModelName",TagGroup Name).

6) Save

Save the set Recipe data as separate name. Input the file name to use and click [Ok] to save.

7) Open

Load Recipe data which is saved previously. Open the name from the list and click [Open]

button to load the data to Recipe memory.

The identical function is also available by script. The name of command is RecipeLoad() and

the form of command is RecipeLoad ("ModelName", "FileName").

8) Close

Close the Recipe dialog box.

Page 59: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 55

Practice Example 1 : Executing Recipe

This practice example shows manufacture multiple feed in one facility by using recipe.

(1) Open CimonD and enter to Recipe dialog box by following [Tool – Recipe Editor]. Input

the Model Name of Recipe and choose the folder to save in. Input the name of

ingredients to Field Name, and the name of product Added Group. Set the tag value of

each ingredients according to field after adding the group.

Inputting a tag name in Recipe Editor will open database dialog box which allows user

to register a tag. Add the model after setting. Clicking [Reg Model] or [Edit Group]

button will edit previously added model or group.

※ When setting the tag value of ingredients, a tag can be added or registered both by

either [Browse...] button or inputting directly. Input ‘PIG,CALCIUM’ in forms of

‘GroupName.TagName’ as above and click [Reg Model] button will pop up the

Database dialog box asking whether to add new ‘PIG.CALCIUM’ tag or not. Click [Yes]

to pop up Edit Tag dialog box and select the settings of ‘CALCIUM’ tag including Tag

Type.

※ Tag Name and Group Name cannot be modified in Edit Tag dialog box and the group

will be created automatically. In case of the example, ‘PIG’ group will be created

automatically and ‘CALCIUM’ tag will be added inside.

Page 60: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

56 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(2) Check whether added tag in this example (1) has been properly registered.

(3) Create a page which includes [Recipe Dialog] button to input Recipe command in

addition to name and tag value of each products.

Page 61: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Chapter 5. Additional Functions 57

(4) [Recipe Dialog] button is needed to load Recipe dialog function. Double-click the

button written in ‘Recipe Dialog’ to enter Object Config dialog box.

Click Button Definition and select Command Expression action. Input ‘RecipeDialog()’

command to [Command – Down] dialog box.

(5) Double-click each tag value objects which shows question marks and Object Config

dialog box will pop up. Set tag name to each object.

Page 62: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

58 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

(6) Double-click each objects with ‘Setting Value’ text and Object Config dialog box will

pop up. Set Entry Data to every ‘Setting Value’ object so that user could input value to

each tag.

(7) Save all the settings in CimonD and run CimonX. Open page to pops up the dialog box

as below. Click [Recipe Dialog] button to execute Recipe function. Select tag group

and input the value. Click [Write] after and check whether the value on page has been

changed.

Input the value to each item through ‘Setting value’ function on page. Click [Read] on

Recipe dialog box to input the value to Recipe dialog box.

Click [Save] on Recipe dialog box saves all the set value to assigned folder. Using Save

function will allow the user to load set value by [Open] function, even after closing

current Recipe.

Page 63: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

INDEX 59

INDEX

[ Figure Reference List ]

[Figure 1] Communication structure of CIMON-HMI Protocol(Ethernet) .............................................. 1

[Figure 2] I/O Device Selection dialog box .......................................................................................... 8

[Figure 3] CIMON-PLC Ethernet station settings dialog box ............................................................... 10

[Figure 4] CIMON-HMI Protocol(Ethernet) Station settings dialog box ............................................... 12

[Figure 5] CIMON-HMI Protocol(Ethernet) COM Port settings dialog box .......................................... 14

[Figure 6] Setting line redundancy ................................................................................................... 16

[Figure 7] Network Adapter Information window ............................................................................. 16

[Figure 8] Dynamic IP settings Dialog box......................................................................................... 17

[Figure 9] Network Adapter Information window ............................................................................. 17

[Figure 10] Block communication process ........................................................................................ 18

[Figure 11] COM Block settings dialog box ....................................................................................... 19

[Figure 12] ‘Dynamic IP(Domain Name)’ ........................................................................................... 21

[Figure 13] ‘Dynamic IP(CIMON DDNS)’ ............................................................................................ 25

[Figure 14] PLC line redundancy ...................................................................................................... 29

[Figure 15] CimonD Database dialog box ......................................................................................... 34

[Figure 16] Edit Tag General settings dialog box .............................................................................. 35

[Figure 17] Communication error message window ......................................................................... 39

[Figure 18] Communication status window ...................................................................................... 40

[Figure 19] Station Network Status (Normal) .................................................................................... 41

[Figure 20] Station Network Status (Disabled) .................................................................................. 41

[Figure 21] Data logger operation .................................................................................................... 45

[Figure 22] Recipe settings dialog box .............................................................................................. 51

[Figure 23] Recipe execution dialog box........................................................................................... 53

Page 64: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

60 CIMON-HMI Protocol(Ethernet) Driver User Manual

Total Solution for Industrial Automation

[ Table Reference List ]

[Table 1] CIMON-HMI Protocol(Ethernet) supported device ................................................................ 2

[Table 2] CIMON-HMI Protocol(Ethernet) supported functions ........................................................... 3

[Table 3] Address space and notation of address per each device model ............................................. 4

[Table 4] Supported data per device .................................................................................................. 5

[Table 5] Description and pros and cons of UDP and TCP. ................................................................ 15

[Table 6] Comparison between ‘Dynamic IP(Domain name)’ and ‘Dynamic IP(CIMON DDNS)’ ............. 20

Page 65: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

Total Solution for Industrial Automation

Version History

Released Date Version Description

11/08/2017 V1.0 First Edition

02/22/2018 V1.1 Errors are corrected.

Page 66: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)
Page 67: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)
Page 68: Before the Use ( Caution)€¦ · communication(RS232/422/485) and CICON communication. This manual explains CIMON-HMI Protocol(Ethernet) communication. CIMON-HMI Protocol(Ethernet)

02/22/2018