+ All Categories
Home > Documents > Omron Fins Udp

Omron Fins Udp

Date post: 20-Feb-2016
Category:
Upload: tedyscorpio5891
View: 207 times
Download: 2 times
Share this document with a friend
Popular Tags:
26
UMHMIOm2EA 1 st Edition, 08/2010 User Manual OPC Server Omron FINS UDP Configuration Manual
Transcript
Page 1: Omron Fins Udp

UMHMIOm2EA 1st Edition, 08/2010

User Manual

OPC Server Omron FINS UDP Configuration Manual

Page 2: Omron Fins Udp

Omron FINS UDP OPC Server Table of Contents

2

Table of Contents Chapter 1 Hardware Settings............................................................................................3

1-1 Supported PLC ..................................................................................................4 1-2 Data Type Description ............................................................................................5 1-3 Signal Type of Omron Ethernet PLC ......................................................................5 1-4 Cable Diagram........................................................................................................6 1-5 Communication Parameter Setting of Omron PLC.................................................7

Chapter 2 Editing Configuration.....................................................................................15 2-1 Communication Setting of Omron FINS UDP PLC ..........................................16

2-1-1 Device Define.............................................................................................17 2-1-2 Folder Define..............................................................................................22 2-1-3 Data Item Define ........................................................................................24

Page 3: Omron Fins Udp

Chapter 1 Hardware Settings

Page 4: Omron Fins Udp

Omron FINS UDP OPC Server Hardware Settings

4

1-1 Supported PLC

PLC CPU PLC CPU CPU32 CPU11

C200HE CPU42 CPU12 CPU32 CPU13

C200HE-Z CPU42 CPU21 CPU33 CPU22 CPU43

CJ1M

CPU23 CPU53 CPU42

C200HG

CPU63 CPU43 CPU33 CPU44 CPU43

CJ1G

CPU45 CPU53 CPU42

C200HG-Z

CPU63 CPU43 CPU34 CPU44 CPU44

CS1G

CPU45 CPU54 CPU63

C200HX

CPU64 CPU64 CPU34 CPU65 CPU44 CPU66 CPU54

CS1H

CPU67 CPU64 CV500 CPU01 CPU65 CV1000 CPU01

C200HX-Z

CPU85 CV2000 CPU01 CPU42 CPU01 CPU43

CVM1 CPU11

CPU44 CPU01 CJ1G-H

CPU45 CPU11 CPU65

CVM1-V2 CPU21

CPU66 CJ1H-H CPU67

Page 5: Omron Fins Udp

Hardware Settings Omron FINS UDP OPC Server

5

1-2 Data Type Description

OPC Server Data Type Description Bool Single bit Int Signed 16 bit value Dint Signed 32 bit value UINT Unsigned 16 bit value UDINT Unsigned 32 bit value Real 32 bit floating point value String String type with “Null” character

at the end BCD 2 Byte (BCD) LBCD 4 Byte (BCD)

1-3 Signal Type of Omron Ethernet PLC

Signal Type Range Data Type Access IO Area (%I) CIO0000-CIO06143 Read / Write Int / Word Work Area (%Q) W000-W511 Read / Write Int / Word Holding Area (%M) H000-H511 Read / Write Int / Word Auxiliary Area (%T) A000-A959

A000-A447 is read only

Read / Write Int / Word

Task Flag (%S) TK00-TK31 Read Only Int / Word t Timer Flag(%G) TS0000-TS4095 Read / Write Int / Word Counter Falg (%R) CS0000-CS4095 Read / Write Int / Word Timer PV(%G) T0000- T4096 Read / Write Int / Word Counter PV (%R) C0000- C4095 Read / Write Int / Word DM Area D00000-D32767 Read / Write Int / Word EM Area E00000-E32767 Read / Write Int / Word Index Register IR00-IR15 Read / Write Int / Word Data Register DR00-DR15 Read / Write Int / Word

Different PLC will match different PLC address. Please check the correct address in

configuration manual before use.

Page 6: Omron Fins Udp

Omron FINS UDP OPC Server Hardware Settings

6

1-4 Cable Diagram

The devices which use Omron Ethernet communication protocol based on Ethernet. General speaking, you can use the cross over cable or Hub and easily let the HMI connect to the Omron Ethernet devices. The hardware cable diagram is as follows:

Straight Through

Cable

PLC/HMI

Crossover

Cable

PLC/HMI

RJ-45

PIN

RJ-45

PIN

RJ-45

PIN

RJ-45

PIN

1 Tx+ 1 Rc+ 1 Rx+ 3 Tx+

2 Tx- 2 Rc- 2 Rc- 6 Tx-

3 Rc+ 3 Tx+ 3 Tx+ 1 Rc+

6 Rc- 6 Tx-

6 Tx- 2 Rc-

Page 7: Omron Fins Udp

Hardware Settings Omron FINS UDP OPC Server

7

PLC Figure CJ1W-ETN21 CS1W-ETN21

1-5 Communication Parameter Setting of Omron PLC

Start Omron ladder diagram software CX-Programmer

Page 8: Omron Fins Udp

Omron FINS UDP OPC Server Hardware Settings

8

Click Auto Online function, the program will search the appropriate PLC Type and set it up automatically.

The operation platform of searching figure

Page 9: Omron Fins Udp

Hardware Settings Omron FINS UDP OPC Server

9

Upload the PLC program to the ladder diagram software.

Upload task finished.

Page 10: Omron Fins Udp

Omron FINS UDP OPC Server Hardware Settings

10

Click [PLC] [Operating Mode] [Program] Program Mode to set PLC parameters

Double click [I/O Table] on the left side to show up the dialog below

Page 11: Omron Fins Udp

Hardware Settings Omron FINS UDP OPC Server

11

Move the cursor to Ethernet Unit, pressing the right key to choose [Unit setup]

Input the IP Address and Subnet Mask values. “Node No. Switch” value must match the

Page 12: Omron Fins Udp

Omron FINS UDP OPC Server Hardware Settings

12

last number of the IP Address.

Under the condition that more than one PLC should be connected to an OPC server in the same domain, each of the Fins UDP port should define to the different port number. Otherwise, the communication will fail.

Column Name Parameter Broadcast All 1 (4.3BSD) Conversion Auto FINS UDP Port Default (9600) Sub-net Mask 255.255.255.0 IP Address 192.168.127.2 Options->Transfer the modified parameters to PLC.

Page 13: Omron Fins Udp

Hardware Settings Omron FINS UDP OPC Server

13

Restart PLC

Page 14: Omron Fins Udp
Page 15: Omron Fins Udp

Chapter 2 Editing Configuration

Page 16: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

16

2-1 Communication Setting of Omron FINS UDP PLC

Sample PLC Type CJ1W PLC Communication Module CJ1W-ETN21

The Address Space tree control in the Configurator, shown in the figure below, sets the properties and connection parameters for the following items: • Devices • Folders • Data Items

Data items can be organized hierarchically. It is similar to organizing directories and files on your computer's hard disk. The OPC Server offers several levels of hierarchy. The Configurator module uses the terms “Folder” and “Data Item”. A folder can contain additional folders and also data items. The data items are always the branches in the tree control hierarchy.

The hierarchical structure of the folders and data items helps to organize the devices and tags, as shown below.

Page 17: Omron Fins Udp

Creating a New Configuration Omron FINS UDP OPC Server

17

2-1-1 Device Define

Every device is connected to particular port, so it logically creates the second level in the Address Space tree. Each device is represented by its symbolic name, and is uniquely identified by the Address value. It is impossible to have two devices with the same address connected to one port. Setting up a device requires configuration of its unique address, type, timeouts and optimization parameters, as shown in the figure below. 1. Select Port Edit New Device 2. You can also press [Ctrl+D] as the shortcut to create a Device.

Page 18: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

18

Device define operation platform

Item Description

Specify a name of the new device. The special symbols such as ‘+’、/、*、- are not allowed.

The value must match IP settings.

Page 19: Omron Fins Udp

Creating a New Configuration Omron FINS UDP OPC Server

19

Please choose [FINS UDP port]

FINS UDP Port of PLC stands for the UDP Port of OPC Server

(1) Destination Network Address: Please type “0” for point to point communication. If the Omron PLC joins the PLC network, then you should fill out the network address. (the range is 0-2)

(2) Destination FINS Node No: Please Type the last number of the IP Address.

(3) Destination Unit Address:Please type “0”

for the point to point communication. If the Omron PLC joins the PLC network, then you should fill out the unit address. (the range is 0-31)

(4) Bank No for EM Area Register:Under normal condition, please write down “0”. The particular setting is required for special EM Area

Page 20: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

20

(1) Source Network Address : Under normal condition, please write down “0”.

(2) Source FINS Node No:Please Type the last number of IP Address

(3) Source Unit Address:Please write down “0” Because there is only one network unit.

Please choose “FINS UDP Protocol.”

Timeout parameters (separately for reading and writing data) specify the period of time (in milliseconds) the server will wait for a response from the device:

Read/Write: Amount of time (in milliseconds) the OPC server will wait for a response (read/write) from the device.

Timeouts to Suspend: The number of consecutive read/write attempts that timeout before the OPC server will suspend communication with the device.

Suspend Period: Amount of time the OPC server will wait before attempting to reconnect to the device. Note: The Suspend Period setting can be decreased to reconnect faster with a device that has been restarted, but this will cause the OPC server to generate more network traffic while a device is down.

Delay: Amount of time (in milliseconds) between read attempts.

The server tries to optimize the communication with the devices by requesting as much data as possible in one message. Consecutive registers are merged together into one request for efficiency. The server also can read registers that are not really requested, if this allows it to join

Page 21: Omron Fins Udp

Creating a New Configuration Omron FINS UDP OPC Server

21

two blocks of requested registers. The numbers entered under Optimizations specify the maximum block length of adjacent unused data.

The Device Parameters directory contains the list of custom device types. Device parameters influence the behavior and performance of the server for the device.

All of the groups and data items under this device are in the simulation mode. Simulation function will simulate the real communication situation between devices and OPC Server.

Please see “UMHMIOPCEA.pdf”.

Apply: Saves all changes specified in the properties dialog box.

Reset: Undo the setting configuration Add New: Add the new Device

Page 22: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

22

2-1-2 Folder Define

Folders can be used to group items logically. You can configure as many folders as required. Each folder can even have subfolders. Our OPC Server supports up to three folder levels. The use of folders is not required. If desirable, the configuration could just contain data items without any folders. But most likely this will only be useful if the application does not demand too many persistent tags. Select [Device] or [Folder] on the Tree View. Press the right key of the mouse and select [New] [Fold]

Page 23: Omron Fins Udp

Creating a New Configuration Omron FINS UDP OPC Server

23

Folder define Operation Platform

Item Description

Specify a name of the new folder. The special symbols such as ‘+’、/、*、’-‘ are not allowed.

All of the data items under this group are in the simulation mode. Simulation function will simulate the real communication situation between devices and OPC Server.

Please see “UMHMIOPCEA.pdf”.

Apply: Saves all changes specified in the properties dialog box.

Reset: Undo the setting configuration Add New: Add the new Folder

Page 24: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

24

2-1-3 Data Item Define

A Data Item represents a register in the device or a range of registers. A symbolic name and description is associated with the data item. An OPC client can obtain the data item description. The actual OPC item name (tag) is compounded from the Address Space root, the names of the folder and its subfolders, and the name of the data item. Data items can be located in any folder, even in the root of the address space. The steps to create the data item (tag) are as below. Select [Device] or [Folder], Press the right button of the mouse, it will show you the Popup menu. Then select [New] [Data Item]

Page 25: Omron Fins Udp

Creating a New Configuration Omron FINS UDP OPC Server

25

Then define the data Items, the picture is as below:

Item Description

Specify a name of the new data item. The special symbols such as ‘+’、/、*、- are not allowed.

Description of Data Item

Register/ Replay Type: IO Relay, DM Area, Holding Relay, etc

Look for more information in Chapter 1.

Data Type: IO Relay   Bool DM Area   Int、UINT String   When selecting String type, you must specify the data length

From the starting address to access the data by block, not point to point to access the data. It could speed up the communication speed. You do not have to define a lot of items to get the values. Using [Vector] function will let OPC server put the values into the arrays.

This value specifies the data item address (register number) in the device data space. The gray column shows its decimal value.

“Read Only” does not allow you to save new value into

Page 26: Omron Fins Udp

Omron FINS UDP OPC Server Creating a New Configuration

26

OPC Client.

If the data type is UINT, you can choose the number of bits and analyze the value and put into this item. Bit# means the starting Bit No. Count means the constant Bits number.

To get the data value converted according to a prescribed form, choose one of the predefined or user-defined conversions.

Simulation function will simulate the real communication situation between devices and OPC Server. Executing “Monitor View” or press F12 as the shortcut, the “Tag Value” will keep changing for testing the connecting situation.

To test the client functionality, choose a Simulation Signal from the Signal drop-down list and check the Simulate check box. All levels in the Address Space (port, device, folder, data item) support the process of simulation (Simulate check box). The parent list in the tree is superior; it has a higher priority when deciding to simulate the data item or not. In other words, a data item is simulated, if it itself has a simulation selected, or if any of its parents has the Simulate check box checked. (It may be simulated even if its Simulate check box stays unchecked)

If checked, the data item will offer constant parameter value, because Manual setting is of the highest priority. The changes in the configuration take effect only when the server reloads the configuration (on startup).

Apply: Saves all changes specified in the properties dialog box.

Reset: Undo the setting configuration Add New: Add the new Data Item


Recommended