Teco Serial
Teco Serial
OPC Server
Teco Serial
Configuration Manual
UMHMITe1EA
1st Edition, 07/2011
Table of Contents
Chapter 1 Hardware Figure and Settings ............................................................................3
1-1 Hardware Figure........................................................................................................4
1-2 Supported PLC..........................................................................................................4
1-3 Data Type Description ...............................................................................................4
1-4 Signal Type of Teco serial PLC..................................................................................5
1-5 Cable Diagram ..........................................................................................................6
1-6 Communication Parameters Setting of Teco PLC......................................................6
Chapter 2 Editing Configuration...........................................................................................9
2-1 Communication Setting of Teco PLC .......................................................................10
2-1-1 Port Define ....................................................................................................... 11
2-1-2 Device Define...................................................................................................14
2-1-3 Folder Define ...................................................................................................17
2-1-4 Data Item Define ..............................................................................................19
Appendix A Cable of wiring ................................................................................................22
TP03 Series (CPUport)/(RS232) ...................................................................................23
TP03 Series (CPUport)/(RS422) ...................................................................................24
TP03 Series (RS485) ....................................................................................................25
2
Chapter 1 Hardware Figure and Settings
3
1-1 Hardware Figure
TP03 Teco PLC
4
1-4 Signal Type of Teco serial PLC
Signal type Access Data type
Input (X) Read Only Bit
Output (Y) Write Only Bit
Internal Relay (M) Read / Write Bit
Special Internal Ready (SM) Read / Write Bit
Step Ready (S) Read / Write Bit
Timer Contact (T) Read / Write Bit
Counter Contact (C) Read / Write Bit
Timer Counter (TC) Read / Write Int / Word
Contact Contact 16Bit (CC) Read / Write Int / Word
Timer Preset (TP) Read / Write Int / Word
Counter Preset 16Bit (CP) Read / Write Int / Word
Date Register (D) Read / Write Int / Word
Special Date Register (SD) Read / Write Int / Word
Contact Contact 32Bit (CC) Read / Write Int / Word
Counter Preset 32Bit (CP) Read / Write Int / Word
Index Register (V) Read / Write Int / Word
Index Register (Z) Read / Write Int / Word
5
1-5 Cable Diagram
Teco PLC uses RS-485 (Terminals) , RS232 / RS485 (MiniDin8pin) to connect to HMI.
6
enter the configuration figure as below
Parameter Value
Port Choose the communication Port
Speed Baud rate
Data Bit 8 Bits (it should be the same as OPC Server)
Parity Bit None (it should be the same as OPC Server)
Stop Bit 2 (it should be the same as OPC Server)
If input value is wrong, the system will detect automatically and show you the errors.
7
When the communication success with PLC. It will show you the below figure.
The successful communication information will show you on the status bar.
8
Chapter 2 Editing Configuration
9
2-1 Communication Setting of Teco PLC
Sample
PLC Type TP03
Communication module PLC Port
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
10
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.
Select Address Space New Port
11
Port define operation platform
12
Item Description
Specify a name of the new device. The special symbols
such as ‘+’ 、 / 、 * 、- are not allowed.
Define the Port number for HMI.
This must match the Baud rate setting of PLC.
13
2-1-2 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.
14
Item Description
Specify a name of the new device.The special
symbols such as ‘+’、/、*、- are not allowed.
It should be the same as Teco PLC No.410 Unit
No.
15
reconnect to the device.
Note: The Suspend Period setting can be
decreased to reconnect faster with a device .
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.
16
2-1-3 Folder Define
olders can be used to group items logically. You can configure as many folders as
required. Each folder can even have sub folders. The Teco Serial 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 Folder
17
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”.
18
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 data
item description.
The actual OPC item name (tag) is compounded from the Address Space root, the
names of the folder and its sub folders, 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
Pop up menu. Then select New Data Item
19
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
21
Appendix A Cable of wiring
22
TP03 Series (CPUport)/(RS232)
23
TP03 Series (CPUport)/(RS422)
24
TP03 Series (RS485)
25