Documente Academic
Documente Profesional
Documente Cultură
OPC Server
Omron HostLink Serial
Configuration Manual
UMHMIOm1EA
1st Edition, 08/2010
Table of Contents
Table of Contents
Chapter 1 Hardware Settings............................................................................................4
1-1 Support PLC Models ..............................................................................................5
1-2 Data Type Description ............................................................................................6
1-3 Signal Type of Omron PLC .....................................................................................6
1-4 Cable Diagram........................................................................................................7
1-4-1 RS232/422 Modules and Figure...................................................................8
1-5 Communication Parameter Settings of Omron PLC ...............................................9
Chapter 2 Editing Configuration.....................................................................................15
2-1
Communication Setting of Omron PLC ............................................................16
2-1-1 Port Define .................................................................................................17
2-1-2 Device Define.............................................................................................20
2-1-3 Folder Define..............................................................................................23
2-1-4 Data Item Define ........................................................................................25
Appendix A Cable of wiring ..........................................................................................28
ALL Series (CPU Port)/(RS232) .................................................................................29
C Series (RS232)........................................................................................................30
C Series (RS422)........................................................................................................31
CJ Series (RS232)......................................................................................................32
CJ Series (RS485)......................................................................................................33
CJ Series (RS422)......................................................................................................34
CPM1/2A Series (CPM1-CIF01)/(RS232)...................................................................35
CPM1/2A Series (CQM1-CIF02)/(RS232) ..................................................................36
CPM1/2A Series (CPM1-CIF11)/(RS422) ...................................................................37
CPM1L/H/E Series (CP1W-CIF01)/(RS232)...............................................................38
CPM1L/H/E Series (CP1W-CIF11/12)/(RS485) ..........................................................39
CPM1L/H/E Series (CP1W-CIF11/12)/(RS422) ..........................................................40
CPM2C Series (CPM2C-CIF11)/(RS422) ...................................................................41
CQM1H Series (CQM1H-CIF12)/(RS422) ..................................................................42
CS1 Series (RS232) ...................................................................................................43
CS1 Series (RS485) ...................................................................................................44
CS1 Series (RS422) ...................................................................................................45
CV Series (CPU Host Link Port)/ (RS232)..................................................................46
CV Series (CPU Host Link Port)/ (RS422)..................................................................47
CV Series (CV500-LK201/Port1)/(RS232)..................................................................48
CV Series (CV500-LK201/Port2)/ (RS232).................................................................49
CV Series (CV500-LK201/Port2)/ (RS422).................................................................50
Alpha Series (RS232) .................................................................................................51
Table of Contents
Hardware Settings
CPU
CPU11
CPU31
CPU32
CPU12
CPU42
CPU21
CPU53
CPU23
CPU63
CPU42
CPU43
CJ1G
CPU53
CPU33
CPU43
CPU44
CPU45
CQM1H
CPU31
CPU51
CPU42
CS1G
CPU43
CPU44
CPU44
CPU45
CPU54
CPU63
CPU64
CPU64
CS1H
CPU65
CPU44
CPU66
CPU54
CPU67
CPU64
CV500
CPU01
CPU65
CV1000
CPU01
CPU85
CV2000
CPU01
CPU01
C1000H
CPU01
C2000H
CPU01
CPU42
CPU43
CPU44
CPU45
CPU13
CPU22
C500
CJ1G-H
CJ1M
CPU43
CPU34
C200HX-Z
CPU66
CPU11
CPU34
C200HX
CJ1H-H
CPU42
CPU63
C200HS
CPU65
CPU67
CPU33
C200HG-Z
CPU
CPU32
CPU33
C200HG
PLC
CVM1
CPU01
CPU11
CPU01
CVM1-V2
CPU11
CPU21
Hardware Settings
Description
Bool
Single bit
Int
Dint
UINT
UDINT
Real
String
Range
Data Type
Access
CIO0000-CIO06143
Read / Write
Int / Word
W000-W511
Read / Write
Int / Word
H000-H511
Read / Write
Int / Word
A000-A959
Read / Write
Int / Word
IO Area (I)
TK00-TK31
Read Only
Int / Word t
Timer Flag(G)
TS0000-TS4095
Read / Write
Int / Word
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
The address will be different from each PLC. Please look it up in the configuration
manual.
Hardware Settings
Hardware Settings
CQM1H-SCB41
Hardware Settings
Hardware Settings
Click [Inner Board] to show the communication module settings. Users can modify the
communication settings here. (Defaults: Host Link station number 0 9600E72)
10
Hardware Settings
Value
Port1Baud rate
9600 bps
Port1Parity
Even
Port1Data length
7 bits
Port1Stop bits
2 bits
11
Host Link
Hardware Settings
OptionsTransfer to PLC means to download the new setting parameters into PLC.
12
Hardware Settings
13
Omron CQM1H-cpu21
Communication Module
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 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.
16
17
Item
Description
Specify a name of the new device. The special
symbols such as +/*- are not allowed.
Define the Port number.
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.
18
19
20
Item
Description
Specify a name of the new device. The special
symbols such as +/*- are not allowed.
The value must match the Host Link unit number.
21
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
22
23
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
.
24
25
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 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] 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 the decimal value.
26
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.
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
27
28
29
C Series (RS232)
30
C Series (RS422)
31
CJ Series (RS232)
32
CJ Series (RS485)
33
CJ Series (RS422)
34
35
36
37
38
39
40
41
42
43
44
45
46
47
CV Series (CV500-LK201/Port1)/(RS232)
48
49
50
51
52
53