Beruflich Dokumente
Kultur Dokumente
OMRON
FinsGateway
Version 2
Runtime Edition
Revision History
Revision Date Revised content
code
2.10 August Original production
1998
Contents
1 Introduction .................................................................................................. 1
1.1 FinsGateway and the Network ..........................................................................................1
1.2 FINS Message Communications.......................................................................................2
1.3 EventMemory ....................................................................................................................3
1.4 FINS Services and the CPU_UNIT ...................................................................................3
1.5 Data Link ...........................................................................................................................4
1.6 The Routing Table and the Gateway .................................................................................5
2 Installation .................................................................................................... 7
2.1 Environment and Conditions .............................................................................................7
2.2 Precautions Before Use.....................................................................................................8
2.3 Installing ............................................................................................................................8
2.4 Uninstalling ........................................................................................................................9
3 FinsGateway Configuration and Operation.............................................. 11
3.1 Service Control Manager.................................................................................................11
3.2 Startup .............................................................................................................................11
3.3 FinsGateway Network Navigator.....................................................................................13
3.4 Communications Check ..................................................................................................13
3.5 EventMemory Check .......................................................................................................14
4 Controller Link Settings............................................................................. 15
4.1 Controller Link Functions.................................................................................................15
4.2 Controller Link Driver Settings.........................................................................................15
4.3 Controller Link Network Configuration.............................................................................16
4.4 Controller Link Data Link Settings ...................................................................................16
4.5 Communications Check ..................................................................................................17
4.6 Troubleshooting ...............................................................................................................19
5 ETN_UNIT Settings..................................................................................... 21
5.1 ETN_UNIT Functions ......................................................................................................21
5.2 ETN_UNIT Network Configuration ..................................................................................21
5.3 Communications Check ..................................................................................................22
5.4 Troubleshooting ...............................................................................................................24
6 SYSMAC LINK Settings.............................................................................. 25
6.1 SYSMAC LINK Functions................................................................................................25
6.2 SYSMAC LINK Driver Settings........................................................................................25
6.3 SYSMAC LINK Network Configuration............................................................................26
6.4 SYSMAC LINK Data Link Settings ..................................................................................26
6.5 Communications Check ..................................................................................................27
6.6 Troubleshooting ...............................................................................................................29
7 Serial Unit Settings .................................................................................... 31
7.1 SerialUnit Functions ........................................................................................................31
7.2 SerialUnit Network Configuration ....................................................................................31
7.3 Serial Communications and the Network ........................................................................32
7.4 FINS Commands Supported by the SYSWAY Protocol ..................................................34
7.5 Communications Check ..................................................................................................35
7.6 Troubleshooting ...............................................................................................................37
8 SYSMAC Board Settings............................................................................ 39
8.1 SYSMAC Board Functions ..............................................................................................39
8.2 SYSMAC Board Settings.................................................................................................39
8.3 SYSMAC Board Unit and FINS Network.........................................................................39
8.4 SYSMAC Board Settings.................................................................................................40
1 Introduction
Windows NT
Windows 95 Application
FinsGateway
CPU_UNIT
Network
Some applications that use FinsGateway need an additional FinsGateway operating
environment. Use the FinsGateway Runtime Edition for those applications.
Omron FA networks allow multi-level configuration. This provides many advantages, such as
data transfer time being shortened. By using FinsGateway, the application developer can ignore
the various levels. Thus, the convenience of a multi-level configuration is retained, without the
additional consideration normally required in application development. The FinsGateway
CPU_UNIT allows the computer to operate as a virtual PLC. This allows equal access to the PLC
and computer data by other nodes on the network. FinsGateway also supports the data link
feature that many Omron networks provide.
Ethernet Network
Computer-1
SYSMAC LINK
Network
Computer-2
PLC_3 (CV only) PLC_4
Controller Link
Network
Computer-3
PLC_5 PLC_6
As shown in the above example, up to three network levels can be configured with free access
between any two nodes in the system. Operators at each computer can use FinsGateway to
develop applications for the entire network. You can also check the FinsGateway functions with a
program prepared in advance.
FINS response
Example: data
1.3 EventMemory
FinsGateway has a shared memory called the EventMemory. The EventMemory has names
similar to those of the PLC data areas (such as DM or CIO), and can be used as a shared data
area by the applications. There is also a function for automatically detecting status changes in
the memory value. In communications systems, the EventMemory is used for the following
purposes:
• As the data area for FINS services
• As the data link area for data link functions
• As a storage area for system data such as network status data
The EventMemory also has a function for detecting changes in data and notifying the application
when specified conditions are met. This function is described in the FinsGateway SDK.
CPU_UNIT
FINS command
Read variable
Unit number 0 Write variable
Node
Data link
Node
Data area
Unit 18 Unit 17
Remote network: 10
In this example, setting the correct routing table allows applications on FinsGateway to execute
message communications with nodes on local networks 1 and 2, as well as remote network 10.
Setting the routing table using FinsGateway is done with the Routing Table button in the Route
Viewer. In this example, the routing table is displayed as follows:
FinsGateway also provides a gateway function for FINS message communications between
several networks. In other words, FinsGateway can perform the function of transmitting
messages between multiple networks.
As an example of this function, a computer with FinsGateway can be used for expanding an
existing system, or as a gateway to an OA network.
FinsGateway
Gateway
Unit 18 Unit 17
Network 2 Network 1
With SYSMAC LINK, the gateway function cannot be used because of board restrictions.
2 Installation
SYSMAC LINK
• Requires an OMRON SYSMAC LINK Support Board (i.e., 3G8F5-SLK21)
• Only one SYSMAC LINK Support Board can be installed in one computer.
• The software included with the Board cannot be used with FinsGateway.
• The network gateway function cannot run.
Controller Link
• Requires an OMRON Controller Link Support Board (i.e., 3G8F5-CLK21)
• Only one Controller Link Support Board can be installed in one computer.
• The software included with the Board cannot be used with FinsGateway.
ETN_UNIT
• Requires an Ethernet board which can be used with WindowsNT or Windows95.
• TCP/IP must be installed. FINS communications on the Ethernet use UDP/IP. TCP/IP is
included in WindowsNT.
• Has a fixed IP address allocated.
• Cannot be used on a system with DHCP configuration, because the Ethernet unit requires a
static IP address.
Serial Unit
• A PC 95-compliant COM port which can be used with WindowsNT or Windows95.
• The above COM port must be used exclusively by FinsGateway. Other applications not
using FinsGateway cannot use the COM port simultaneously.
• COM ports that can be specified by the serial communications of FinsGateway are COM1 to
COM4.
SYSMAC Board
• OMRON SYSMAC Board (C200PC-ISA-01-DRM)
• The software included with the board cannot be used with FinsGateway.
SYSMAC NET
• Requires an OMRON SYSMAC NET Support Board (i.e., 3G8F5-SNT31)
• Only for WindowsNT. Windows95 edition is unavailable.
• The software included with the board cannot be used with FinsGateway.
• Data link is not supported.
• Either binary code or ASCII code can be selected as the send/receive code.
• Either FINS mode or C-mode can be selected as the datagram format. If C-mode is
selected, some FINS commands are automatically changed to those of the C-mode.
2.3 Installing
The CD-ROM includes a ReadMe file and Release Notes. Read them before installing
FinsGateway.
FinsGateway is installed from the CD-ROM.
1. Determine the installation directories on the hard disk. Approximately 20Mb of files are
created when installing FinsGateway onto the hard disk. These files are stored in the
following folders by default. Be sure that there is enough space on the hard disk drive to
install the program before beginning.
Product Install folder (default)
WindowsNT C:\Program Files\OMRON\FinsServerNT
Windows95 C:\Program Files\OMRON\FinsServer95
2. The FinsGateway setup changes the registry. To save the registry information, take a
backup beforehand using the registry editor.
3. If any of the following programs are running, close them.
• Event Viewer
• Registry Editor
• All applications that use FinsGateway (from any previous installation)
• FinsGateway services such as CPU_UNIT (from any previous installation)
4. For WindowsNT, log on as a user with administrator access authority.
5. Insert the FinsGateway CD-ROM into the CD-ROM drive.
6. Execute the Add/Remove Programs applet on the control panel. Select the Install/Uninstall
tab in the Add/Remove Programs property dialog, and click the Install… button.
7. When Windows finds the setup file, setup.exe on the CD-ROM, click Finish.
©Copyright OMRON Corporation 1998 All Rights Reserved.
FinsGateway Version 2 Runtime User’s Manual 9
Environment Variable
When FinsGateway is installed, the FinsServer environment variable is set in the system.
2.4 Uninstalling
Uninstall FinsGateway using the Add/Remove Programs applet in the control panel.
1. If any of the following programs are running, close them.
• All applications using FinsGateway
• System services such as CPU_UNIT
• FinsGateway Service Control Manager
2. Execute the Add/Remove Programs applet in the control panel.
3. Select FinsGateway Runtime Edition in the List Box, and click the Add/ Remove… button.
4. Follow the instructions of the program.
5. Restart the computer after uninstalling FinsGateway.
3.2 Startup
To start/stop a FinsGateway service, use the FinsGateway Service Control Manager (SCM).
Select Service Control Manager in Start | Programs | FinsGateway.
When the Service Control Manager is running, the icon (shown below) is displayed in the task
tray.
The following screen is the setup screen for the Service Control Manager. To display the setup
screen, right click on the icon and select Setup. Service start/stop and properties can be set in
this dialog box:
In this example, the data link table for node 1 and node 2 is the same. After creating a data link
table as shown below, transfer the data link table to node 1 and node 2 by clicking Transfer.
Note: The FINS unit number 254 has a specific meaning. It refers to the Communication Unit (of the
specified node number) which is connected directly to the specified network (i.e., not any
communication units on the same node which are connected to other networks).
Confirm communication with a different destination node.
• Enter the unit number of the destination node Communication Unit in the Peer field.
• Set 0501 (PLC Data Read) as the Send message, and click Start.
4.6 Troubleshooting
The following describes common causes for some problems:
5 ETN_UNIT Settings
Note: The FINS unit number 254 has a specific meaning. It refers to the Communication Unit (of the
specified node number) which is connected directly to the specified network (i.e., not any
communication units on the same node which are connected to other networks).
5.4 Troubleshooting
The following describes common causes for some problems:
Cannot Communicate
Confirm communication with the command Ping.
Check the PLC Ethernet Unit LED to confirm data reception.
In this example, the data link table for node 1 and node 2 is the same. For C-series PLCs, word
LR n corresponds to CIO (n+100). After creating a data link table as shown below, transfer the
data link table to node 1 and node 2 by clicking Transfer.
Note: The FINS unit number 254 has a specific meaning. It refers to the Communication Unit (of the
specified node number) which is connected directly to the specified network (i.e., not any
communication units on the same node which are connected to other networks).
Confirm communication with a different destination node.
• Enter the unit number of the destination node Communication Unit in the Peer field.
• Set 0501 (PLC Data Read) as the Send message, and click Start.
6.6 Troubleshooting
The following describes common causes for some problems:
For the relationship between the host link and CompoWay/F unit numbers and the FINS node
number, start the FINS Network Settings. Specify these in the properties of each node in Serial
Communication Properties | Set Node.
If the Protocol in this dialog is SYSWAY, SYSWAY-CV, or CompoWay/F, specify the host link and
CompoWay/F unit number in Unit number/data. Specify 1 in Data size. The FINS node number
can be set here to equal the node number, and the Host link unit number.
Note: The FINS unit number 254 has a specific meaning. It refers to the Communication Unit (of the
specified node number) which is connected directly to the specified network (i.e., not any
communication units on the same node which are connected to other networks).
Confirm communication with the CPU_UNIT of a different destination node.
• Enter the address of the destination node CPU_UNIT in the Peer field.
• Set 0501 (PLC Data Read) as the Send message, and click Start.
7.6 Troubleshooting
The following table describes common causes for some problems:
Problem Possible cause Countermeasure
Serial The SerialUnit is not Start the SerialUnit using the Service Control
communications running. Manager.
network (Serial- Confirm that the COM port used by the SerialUnit is
COMx) is not not being used by another application, especially a
displayed in the modem, a serial mouse, or HyperTerminal.
FinsGateway For PC AT devices, do not set the stop bit to 1.5. Use
Network the Serial Communications Settings program to
Navigator. change the settings.
If the unit number used by the SerialUnit is not
unique, the SerialUnit will not start. Set a unique
unit number. The unit number used by the
SerialUnit is set using the Serial Communications
Settings.
Confirm that the FinsGateway setup was completed
properly.
A routing error In an environment Specify the network number set in the routing table
occurred when where several for the destination network. The network number
sending with the networks can be can be read and set in the network list of
FINS Network used, 0 is specified FinsGateway Network Navigator. If the network
Tester. as the destination number displayed in the network list is 0, set the
network number. network properties, and then execute the System
Configuration.
The destination There is a broken Always confirm that the connection between the
device does not cable or an improper devices is correct, and the communication conditions
respond. The connection. match. For details of the connections and
communication (Transmission speed, communication conditions (transmission speed, data
LED of the device data bit length, stop bit length, stop bit, and parity), refer to the manual
does not light. bit, or parity are of the device.
different from that of
the device.)
The message was Confirm the FINS node number.
sent to the wrong
unit number.
The wrong network Confirm that the destination network number is a
number was serial communications network.
specified.
Another method of testing is to exit the SerialUnit. Then, using general terminal software such as
HyperTerminal, send a host link command directly, and confirm that a response is returned from
the device. Refer to the device manual regarding the command to send and expected response.
If a response is not returned, there is a possible fault with the connection, communication
conditions, or unit number.
If you click the Node tab, the following page is displayed. From here you can set the node
number of the SYSMAC CPU Unit or refer to the Unit type. Changes to the SYSMAC CPU Unit
node number are effective after the SYSMAC Board Unit is restarted.
The following page is displayed when you click the Unit tab. In this page you can start the Data
Link Table Editing Utility, and reset the SYSMAC Board.
The following page is displayed when you click the Driver tab.
Always set to the same value as the IO Port set with the SYSMAC Board switch and address of
the shared RAM area. If an incorrect value is entered, problems or malfunction in the operation
of the SYSMAC Board or SYSMAC Board Unit may occur.
• Transfer Size. The size to transfer can be set in bytes. If a value larger than the specified
area of the PLC is set, an error occurs at execution.
• The data area and address of the SYSMAC Board. This specifies the beginning address
and offset of the PLC that is the transfer source (destination).
• Name and offset of the EventMemory. This specifies the name and first word of the
EventMemory that is the transfer source (destination).
• Whether or not to execute the transfer. It is possible to register the data link, but not actually
execute it yet.
• Delete button
Deletes the data link selected in the data link list. This will not directly delete settings
registered on the system.
• Delete All button
Deletes all data links displayed in the list. This will not directly delete settings registered on
the system.
• Import button
Imports the settings from an existing file.
• Export button
Saves the information in the data link list. If a file already exists, it is overwritten. Do not edit
exported files.
When the Refresh Interval button is clicked, a dialog box is displayed for setting the data link
refresh interval of each group.
• The more data links there are, the more system resources are required by the Board. This
will affect other applications running on the same system. The exact effects of an increase
in load will differ depending on the system environment.
Note: The FINS unit number 254 has a specific meaning. It refers to the Communication Unit (of the
specified node number) which is connected directly to the specified network (i.e., not any
communication units on the same node which are connected to other networks).
8.7 Troubleshooting
The following describes common causes for some problems: