0% found this document useful (0 votes)
28 views25 pages

Teco Serial

OPC Server Teco Serial Configuration Manual

Uploaded by

Jorge Valdivia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views25 pages

Teco Serial

OPC Server Teco Serial Configuration Manual

Uploaded by

Jorge Valdivia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

User Manual

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

1-2 Supported PLC

PLC CPU PLC CPU


TP03-14S TP03-20H
TP03-20S TP03-30H
TP03 TP03-26S TP03 TP03-40H
TP03-36S TP03-60H
TP03-20M TP03-30M

1-3 Data Type Description


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

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.

Please refer to the Appendix A.

1-6 Communication Parameters Setting of Teco PLC


By using the Teco PLC Ladder program TP3-PCLINK to configure the PLC
parameters. Please set the PLC to “STOP” mode.
Enter the Ladder program

Select PLC Connect

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

Data items can be organized hierarchically. It is similar to organizing directories and


files on your computer's hard disk. The Teco 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.

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.

The default setting is 8 bits.

It should be the same as the Teco hardware setting .

t should be the same as the Teco hardware setting

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

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.

Select Port New Device

Device define operation platform

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.

Please select Teco PLC serial No.

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

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.

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

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

Folder define operation platform

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”.

Apply: Saves all changes specified in the property


dialog box.
Reset: Undo the setting configuration
Add New: Add the new Folder

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

Choose the data item type

Data Type:the system will correspond the proper data


type

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.
To define the Data Item correspond to the PLC address

It is not allowed to save new settings under “Read Only”


condition.
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.
20
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). Please look for details in
“UMHMIOPCEA.pdf”.
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

21
Appendix A Cable of wiring

22
TP03 Series (CPUport)/(RS232)

. Note: TP03-302PC by Teco

23
TP03 Series (CPUport)/(RS422)

24
TP03 Series (RS485)

25

You might also like