7/24/2019 Omron Fins Serial
1/41
User Manual
OPC Server
Omron FINS Serial
Configuration Manual
UMHMIOm3EA
1stEdition, 08/2010
7/24/2019 Omron Fins Serial
2/41
Omron Fins Serial OPC Server Table of Contents
2
Table of Contents
Chapter 1 Hardware Settings ............................................................................................ 3
1-1 Support PLC Models .............................................................................................. 4
1-2 Data Type Description ............................................................................................ 5
1-3 Signal Type of Omron PLC..................................................................................... 5
1-4 Cable Diagram........................................................................................................ 6
1-4-1 RS232/422 Modules and Figure................................................................... 7
1-5 Communication Parameter Settings of Omron PLC ............................................... 8
Chapter 2 Editing Configuration ..................................................................................... 13
2-1 Communication Setting of Omron PLC ............................................................ 14
2-1-1 Port Define ................................................................................................. 15
2-1-2 Device Define............................................................................................. 18
2-1-3 Folder Define.............................................................................................. 21
2-1-4 Data Item Define ........................................................................................ 23
Appendix A Cable of wiring .......................................................................................... 27
ALL Series (CPU Port)/(RS232) ................................................................................. 28
CJ Series (RS232)...................................................................................................... 29
CJ Series (RS485)...................................................................................................... 30
CJ Series (RS422)...................................................................................................... 31
CPM1/2A Series (CPM1-CIF01)/(RS232)................................................................... 32
CPM1/2A Series (CQM1-CIF02)/(RS232) .................................................................. 33
CPM1/2A Series (CPM1-CIF11)/(RS422) ................................................................... 34
CPM1L/H/E Series (CP1W-CIF01)/(RS232)............................................................... 35
CPM1L/H/E Series (CP1W-CIF11/12)/(RS485) .......................................................... 36
CPM1L/H/E Series (CP1W-CIF11/12)/(RS422) .......................................................... 37
CPM2C Series (CPM2C-CIF11)/(RS422) ................................................................... 38
CS1 Series (RS232) ................................................................................................... 39
CS1 Series (RS485) ................................................................................................... 40
CS1 Series (RS422) ................................................................................................... 41
7/24/2019 Omron Fins Serial
3/41
Chapter 1 Hardware Settings
7/24/2019 Omron Fins Serial
4/41
Omron Fins Serial OPC Server Hardware Settings
4
1-1 Support PLC Models
PLC CPU PLC CPU
CPU11 CPU65C200HCPU31 CPU66
CPU32
CJ1H-H
CPU67C200HE
CPU42 CPU11
CPU32 CPU12C200HE-Z
CPU42 CPU13
CPU33 CPU21
CPU43 CPU22
CPU53
CJ1M
CPU23
C200HG
CPU63 CPU42
CPU33 CPU43
CPU43 CPU44
CPU53
CJ1G
CPU45C200HG-Z
CPU63 CQM1H CPU51
CPU31 CPU42C200HS
CPU33 CPU43
CPU34 CPU44CPU44
CS1G
CPU45
CPU54 CPU63C200HX
CPU64 CPU64
CPU34 CPU65
CPU44 CPU66
CPU54
CS1H
CPU67
CPU64 CV500 CPU01
CPU65 CV1000 CPU01
C200HX-Z
CPU85 CV2000 CPU01
C500 CPU01 CPU01
C1000H CPU01CVM1
CPU11
C2000H CPU01 CPU01
CPU42 CPU11
CPU43
CVM1-V2
CPU21
CPU44CJ1G-H
CPU45
7/24/2019 Omron Fins Serial
5/41
Hardware Settings Omron Fins Serial OPC Server
5
1-2 Data Type Description
OPC Server
Bool Single bit
Int Signed 16 bit
Dint Signed 32 bit
UINT Unsigned 16 bit
UDINT Unsigned 32 bit
Real 32 bit
String Null
BCD 2 Byte BCDLBCD 4 Byte BCD
1-3 Signal Type of Omron PLC
Signal Type Data Type Access
CIO Relay Bool Read / Write
Working Relay Bool Read / Write
Holding Relay Bool Read / Write
Aux Relay Bool Read / Write
Task Flag Bool Read / Write
Timer Flag Bool Read / Write
Counter Falg Bool Read / Write
Timer PV(G) Int / Word Read / Write
Counter PV (R) Int / Word Read / Write
DM Area Int / Word Read / Write
EM Area Int / Word Read / Write
Index Register Int / Word Read / Write
Data Register Int / Word Read / Write
The address will be different from each PLC. Please look it up in the configuration
manual.
7/24/2019 Omron Fins Serial
6/41
Omron Fins Serial OPC Server Hardware Settings
6
1-4 Cable Diagram
Omron PLC can transmit the data through RS 232 or RS422 serial communication. It
is suitable for the small amount data transmission. If some devices need hightransmission speed and the bulk data transmission, users can use Ethernet for data
transmission.
To connect OPC Server to Omron C Series PLC, CJ1M-SCU41/ CJ1M-SCU21
(RS232/RS422 serial module) communication module should be installed. The cable
diagram is shown as below.
Please refer to the Appendix A.
Usually, RS232 serial port is used for short distance communication; on the contrary,
RS422 or modem is the better choice for the long distance communication.
RS 485 is only used for the communication between PLCs.
7/24/2019 Omron Fins Serial
7/41
Hardware Settings Omron Fins Serial OPC Server
7
1-4-1 RS232/422 Modules and Figure
Hardware Figure
CJ1M-SCU41 CQM1H-SCB41
7/24/2019 Omron Fins Serial
8/41
Omron Fins Serial OPC Server Hardware Settings
8
1-5 Communication Parameter Settings of Omron PLC
Connect Omron communication module with PLC CPU Port and start CX-Program.
Process: PLCAuto OnlineAuto Online
Start CX-Programmer
Click PLCOperating ModeProgram
7/24/2019 Omron Fins Serial
9/41
Hardware Settings Omron Fins Serial OPC Server
9
Click [IO Table and Unit Setup] to show up PLC IO Table
Click [Inner Board] to show the communication module settings. Users can modify the
communication settings here. (Defaults: Host Link station number 0 9600E72)
7/24/2019 Omron Fins Serial
10/41
Omron Fins Serial OPC Server Hardware Settings
10
Select the Port
Set up the Baud rate
The setting for the above figure are as follows
Parameter Value
Port1Serial communications mode Host Link
Port1Baud rate 9600 bps
Port1Parity Even
Port1Data length 7 bits
Port1Stop b its 2 bits
Port1
Host Link unit number 0Click [OK] after finishing setting.
7/24/2019 Omron Fins Serial
11/41
Hardware Settings Omron Fins Serial OPC Server
11
OptionsTransfer to PLCmeans to download the new setting parameters into PLC.
Run Reset [PLC Mode] into [Run].
7/24/2019 Omron Fins Serial
12/41
Omron Fins Serial OPC Server Hardware Settings
12
7/24/2019 Omron Fins Serial
13/41
Chapter 2 Editing Configuration
7/24/2019 Omron Fins Serial
14/41
14
2-1 Communication Setting of Omron PLC
Sample
PLC Type Omron CJ1M-cpu12Communication Module The Port of Omron CJ1M cpu
The Address Space tree control in the Configurator, shown in the figure below, sets the
properties and connection parameters for the following items:
Ports
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 dataitemsare always the branches in the tree
control hierarchy.
The hierarchical structure of the foldersand data items helps to organize the devices
and tags, as shown below.
7/24/2019 Omron Fins Serial
15/41
15
2-1-1 Port Define
A port is equivalent to a physical serial port in the computer. To correctly configure a
port means to set up a serial port as a File name (COM 1, COM2),communication speed(Baud rate), and protocol characteristics: RTS flow control, Stop bits and Parity scheme.
When the Parity checking enabled check box is not checked, it will force the server to
ignore the parity bits in the message.
1 SelectAddress Space Edit New Port
You can also use [Ctrl+T] as the shortcut to create a Port.
7/24/2019 Omron Fins Serial
16/41
16
Port Define Operation platform
Item Description
Specify a name of the new device. The special
symbols such as +/*- are not allowed.
Define the Port number.
The Omron PLC station no. to link to PC
The value must match the Baud rate value of Omron
PLC.
The value must match the Data length value of Omron
PLC.
The value must match the Stop bit value of Omron
PLC.
7/24/2019 Omron Fins Serial
17/41
17
The value must match the Parity scheme value of
Omron PLC.
Also, check Parity checking enabled
Particular setting will be required if the device works
under RTS flow control. If not, please choose Disable
Select this item if the device works under CTS for
output flow control. If not, just skip this item.
All of the devices under this port will in the simulation
mode. Simulation function will simulate the real
communication situation between devices and OPC
Server.
Apply: Saves all changes specified in the properties
dialog box.
Reset: Undo the setting configuration
Add New : Add the new Port
7/24/2019 Omron Fins Serial
18/41
18
2-1-2 Device Define
Every deviceis connected to particular port, so it logically creates the second level in
theAddress Space tree. Each device is represented by its symbolic name, and isuniquely 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.
7/24/2019 Omron Fins Serial
19/41
19
Device define Operation Platform
Item Description
Specify a name of the new device. The special
symbols such as +/*- are not allowed.
Please type 0 for point to point communication. If theOmron PLC joins the PLC network, then you should fillout the network address. (the range is 0-2)
Please Type the node number of the PLC
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)
Under normal condition, please write down 0. The
particular setting is required for special EM Area
Device Type choose FINS Serial Protocol
7/24/2019 Omron Fins Serial
20/41
20
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.
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.
Define the Parameters. You could do it in detail
in the [ Device Parameters ] on the Tree View
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
7/24/2019 Omron Fins Serial
21/41
21
2-1-3 Folder Define
Folders can be used to group items logically. You can configure as many folders as
required. Each folder can even have subfolders. The OPC Server supports up to threefolder 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]
7/24/2019 Omron Fins Serial
22/41
22
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
7/24/2019 Omron Fins Serial
23/41
23
2-1-4 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 dataitem description.
The actual OPC item name (tag) is compounded from theAddress Spaceroot, 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 NewData Item
7/24/2019 Omron Fins Serial
24/41
24
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: CIO Relay, DM Area, Holding
Relay, etc
Look for more information in Chapter 1.
Data Type
CIO Relay Bool
DM Area IntUINT
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] functionwill let OPC server put the values into the arrays.
7/24/2019 Omron Fins Serial
25/41
25
This value specifies the data item address (register
number) in the device data space.The gray column
shows the decimal value.
Read Only does not allow you to save new value into
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.
Check the Generate
Alarms check box to
make the server
generate alarms based
on the data item value.
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).
7/24/2019 Omron Fins Serial
26/41
26
Apply: Saves all changes specified in the properties
dialog box.
Reset:Undo the setting configuration
Add New:Add the new Data Item
7/24/2019 Omron Fins Serial
27/41
27
Appendix A Cable of wiring
7/24/2019 Omron Fins Serial
28/41
28
ALL Series (CPU Port)/(RS232)
7/24/2019 Omron Fins Serial
29/41
29
CJ Series (RS232)
7/24/2019 Omron Fins Serial
30/41
30
CJ Series (RS485)
7/24/2019 Omron Fins Serial
31/41
31
CJ Series (RS422)
7/24/2019 Omron Fins Serial
32/41
32
CPM1/2A Series (CPM1-CIF01)/(RS232)
7/24/2019 Omron Fins Serial
33/41
33
CPM1/2A Series (CQM1-CIF02)/(RS232)
7/24/2019 Omron Fins Serial
34/41
34
CPM1/2A Series (CPM1-CIF11)/(RS422)
7/24/2019 Omron Fins Serial
35/41
35
CPM1L/H/E Series (CP1W-CIF01)/(RS232)
7/24/2019 Omron Fins Serial
36/41
36
CPM1L/H/E Series (CP1W-CIF11/12)/(RS485)
7/24/2019 Omron Fins Serial
37/41
37
CPM1L/H/E Series (CP1W-CIF11/12)/(RS422)
7/24/2019 Omron Fins Serial
38/41
38
CPM2C Series (CPM2C-CIF11)/(RS422)
7/24/2019 Omron Fins Serial
39/41
39
CS1 Series (RS232)
7/24/2019 Omron Fins Serial
40/41
40
CS1 Series (RS485)
7/24/2019 Omron Fins Serial
41/41
CS1 Series (RS422)