User Manual
OPC Server
         Vigor Serial
         Configuration Manual
                                       UMHMIVi1EA
                                1st Edition, 08/2010
                                              Table of Contents
Chapter 1 Hardware Figure and Settings ............................................................................3
  1-1 Device Appearance ...................................................................................................4
  1-2 Supported PLC..........................................................................................................4
  1-3 Data Type Description ...............................................................................................5
  1-4 VIGOR PLC Address Description ..............................................................................5
  1-5 Cable Diagram ..........................................................................................................6
  1-6 VIGOR PLC Communication Parameters Setting .....................................................7
Chapter 2 Editing Configuration......................................................................................... 11
  2-1 VIGOR PLC Communication Settings .....................................................................12
     2-1-1 Port Define .......................................................................................................13
     2-1-2 Device Define...................................................................................................16
     2-1-3 Folder Define ...................................................................................................19
     2-1-4 Data Item Define ..............................................................................................21
Appendix A Cable of wiring..............................................................................................24
  VB/VH Series (CP1-JST)/(RS232) ................................................................................25
  VB/VH Series (CP1-USB)/(RS232) ...............................................................................26
  VB/VH Series (CP2)/(RS232) ........................................................................................27
  VB/VH Series (CP2)/(RS485) ........................................................................................28
                                                               2
Chapter 1 Hardware Figure and Settings
                           VIGOR PLC
                   3
1-1 Device Appearance
VIGOR PLC (VB0-20M)
1-2 Supported PLC
  PLC model      CPU module
                                Communication module    Communication
                   mode
                                        RS-232C            VB-232
                       VB0
                                      RS-422 / RS-485      VB-485
      VB                                RS-232C            VB-232
                       VB1
                                      RS-422 / RS-485      VB-485
                                        RS-232C            VB-232
                       VB2
                                      RS-422 / RS-485      VB-485
                  VH-10MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-14MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-20MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-24MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
      VH          VH-28MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-32MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-40MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  VH-60MR               RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                      VH-20AR           RS-232C            VB-232
                                      RS-422 / RS-485      VB-485
                  M1-CPU1               RS-232C            M-232R
      M
                                      RS-422 / RS-485      M-485R
                                  4
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                 String type with “Null” character at the
                       end
1-4 VIGOR PLC Address Description
                   Signal type                        Access       Data type
D: Data Register                                    Read / Write   Int / Word
X: Input Relay                                      Read / Write      Bit
Y: Output Relay                                     Read / Write      Bit
M: Aux. Relay                                       Read / Write      Bit
S: Step Relay                                       Read / Write      Bit
TS: Timer Contact                                    Read Only        Bit
CS: Counter Contact                                  Read Only        Bit
SM: Special Aux. Relay                              Read / Write      Bit
TC: Timer Coil                                       Read Only        Bit
CC: Counter Coil                                     Read Only        IBit
TN: Timer Current value                             Read / Write   Int / Word
CN: Counter Current value (16 bits)                 Read / Write   Int / Word
CN: Counter Current value (32 bits)                 Read / Write   Int / Word
SD: Special Data Register                           Read / Write   Int / Word
                                            5
1-5 Cable Diagram
VIGOR PLC can transmit the data through RS232 serial port.
Please refer to the Appendix A.
                                          6
1-6 VIGOR PLC Communication Parameters Setting
    The default communication parameters of VIGOR PLC is 19200 for communication
baud rate、the parity check bit is Even、the data bit is 7 Bits and the stop bit is 1 Bit. If
you use the extension card in CP2. You can use the VIGOR PLC Ladder Master
diagram to configure the communication settings. Before the configuration, be make sure
the PLC is in 『STOP』 mode.
Enter Ladder Master
                                             7
first of all, upload the ladder diagram from PLC.
Communication → Upload
                                              8
Choose System → PLC 2nd COM Port Setting
                                      9
Parameter name                          setting
Application                             Computer Link
Station Number                          0 (the value should be the same as
                                        OPC Server)
Baud Rate                               19200 (the value should be the same
                                        as OPC Server)
Click 『Transmit Setup』 to download the ladder to PLC
                                       10
Chapter 2 Editing Configuration
                   11
2-1 VIGOR PLC Communication Settings
 Sample
 PLC Type                 VB0-20M
 Communication            VB-485
 module
     The Address Space tree control in the Configurator, shown in the figure below, sets
the properties and connection parameters for the following items:
   z   Ports
   z   Devices
   z   Folders
   z   Data Items
          Data items can be organized hierarchically. It is similar to organizing directories
and files on your computer's hard disk. The Vigor Serial 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.
                                              12
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. Select 「Address Space」 → 「Edit」→「New 」→「Port」
2. You can also use 「Ctrl+T」as the shortcut to create a Port
                                              13
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 value must match the Baud rate value of Vigor
                                 PLC. The default value of VIGOR PLC CP1 is
                                 19200 bps Baud rate.
                                 The default value of Data bits for VIGOR PLC CP1 is
                                 7 Bits.
                                 The default value of Stop bits for VIGOR PLC CP1 is
                                 1 Bit.
                                 The default value of Parity check bit for VIGOR PLC
                                 CP1 is Even.
                                           14
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
           15
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.
1. Select 「Port 」→「Edit」→「New 」→「Device」
2. You can also press 「Ctrl+D」as the shortcut to create a Device.
                                              16
Device define Operation Platform
 Item                              Description
                                   Specify a name of the new device. The
                                   special symbols such as ‘+’、/、*、- are not
                                   allowed.
                                   The value should be the same as the VIGOR
                                   PLC Station number setting value.
                                   Choose the VIGOR PLC Type
                                   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
                                     17
     (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
  18
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 sub folders. The Vigor 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
                                             19
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
                                        20
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 Popup menu. Then select 「New」 →「Data Item」
                                           21
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 Register/Repay type of
                                                          Vigor PLC. Please check it
                                                          in Chapter 1
                               Choose the proper data type, if you choose “STRING”,
                               the data length should be assigned.
                               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.
                                         22
This value specifies the data item address (register
number) in the device data space.
“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). Please look for details in
“UMHMIOPCEA.pdf”.
f 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
           23
Appendix A Cable of wiring
                 24
VB/VH Series (CP1-JST)/(RS232)
                            25
VB/VH Series (CP1-USB)/(RS232)
                            26
VB/VH Series (CP2)/(RS232)
                             27
VB/VH Series (CP2)/(RS485)
                             28