Toshiba Ethernet

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

User Manual

OPC Server
Toshiba Ethernet
Configuration Manual

UMHMITo2EA
st
1 Edition, 08/2010
Table of Contents
Chapter 1 Hardware Figure and Settings ............................................................................3
1-1 Hardware Figure........................................................................................................4
1-2 Supported PLC CPU .................................................................................................4
1-3 Data Type Description ...............................................................................................5
1-4 Signal Type of Toshiba PLC.......................................................................................5
1-5 Cable Diagram ..........................................................................................................6
Chapter 2 Editing Configuration...........................................................................................7
2-1 Communication Setting of Toshiba PLC ....................................................................8
2-1-1 Device Define.....................................................................................................9
2-1-2 Folder Define ...................................................................................................12
2-1-3 Data Item Define ..............................................................................................14

2
Chapter 1 Hardware Figure and Settings

3
1-1 Hardware Figure
Toshiba PLC (S2T PLC)

1-2 Supported PLC CPU


PLC CPU

PU-235N
T2N
PU-245N

T series T3H EN311

EN611
S2T EN631
EN651A

V series S2PU22A
EN611
EN621
S2PU32A
EB621
EN631
Model 2000 S2PU72A EN641
EB641
EN651A
S2PU72D EN661
FN661
S2PU82

Model 3000 S3PU21 EN711


EN721
EN731
S3PU45A EN741
EN751
S3PU55A EN761
FN711
S3PU55B

4
S3PU65A

1-3 Data Type Description


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 End of the Null character string

1-4 Signal Type of Toshiba PLC


Signal type Access Data type
D: Data Register Read / Write Int / Word
X: Input Device Read / Write Bit
Y: Output Device Read / Write Bit
R: Auxiliary Device Read / Write Bit
T.: Timer Relay Read Only Bit
C.: Counter Relay Read Only Bit
T: Timer Register Read / Write Int / Word
C: Counter Register Read / Write Int / Word
YW: Output Register Read / Write Int / Word
RW: Auxiliary Register Read / Write Int / Word
S: Special Device Read / Write Bit
Z: Link Relay Read / Write Bit
W: Link Register Read / Write Int / Word
I: Direct Input Device Read Only Bit
IW: Direct Input Register Read / Write Int / Word
O: Direct Output Device Read / Write Bit
QW: Direct Output Register Read / Write Int / Word
L: Link Relay Read / Write Bit
LW: Link Register Read / Write Int / Word
F: File Register Read / Write Int / Word

5
1-5 Cable Diagram
Toshiba PLC could insert the Ethernet module for communication. You can use the
cross over cable or Hub and easily let the PC connect to the Toshiba PLC Ethernet
devices. The hardware cable diagram is as follows:

Straight Through Crossover


Cable Cable
PLC/HMI PLC/HMI
RJ-45 RJ-45 RJ-45 RJ-45
PIN PIN PIN 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-

6
Chapter 2 Editing Configuration

7
2-1 Communication Setting of Toshiba PLC
Sample
PLC Type S2T
Communication Module EN611

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. Toshiba Ethernet 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.

8
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 [ New ] Æ [ Device ]
2. You can also press [Ctrl+D] as the shortcut to create a Device.

9
Device define operation platform

Item Description
Specify a name of the new device. The special
symbols such as ‘+’、/、*、- are not allowed.
The IP Address of Toshiba PLC

Set Toshiba PLC connect to OPC Server


communication Port

Select the PLC type

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

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

11
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. The Toshiba Ethernet 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 ]

12
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

13
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 ]

14
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

The Data Item of Toshiba PLC includes QW、XW、


R.... etc. Please look for more information in Chapter
1.

Data Type:if the PLC address is X、Y. It should be


Bool。D address area is Int、UINT data type
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.
15
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.
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).

Apply: Saves all changes specified in the properties


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

16

You might also like