Fuji Electric NP4N-MDLW User manual

FEH246a
series
USER’S MANUAL
MICREX-SX Communication Middleware
Models: NP4N-MDLW

This User’s Manual describes the operations, functions, system configurations of and how to use the Communication
Middleware (NP4N-MDLW) for MICREX-SX series. Read this manual thoroughly and use this product correctly.
Also read the related manuals listed below for MICREX-SX Series.
eltiT .oNlaunaM noitpircseD
XS-XERCIM,snoitcurtsnIlaunaMs'resU
HPSseireS
002HEF,egaugnal,yromemseireSXS-XERCIMehtsebircseD
.cte,snoitinifedmetsys
,erawdraHlaunaMs'resU
HPSseireSXS-XERCIM
102HEF dnanoitarugifnocmetsysseireSXS-XERCIMehtsebircseD
.seludomfognildnahdnasnoitacificepserawdrah
,>ecnerefeR<2Vniw003DlaunaMs'resU
seireSXS-XERCIM 452HEF noitarepolladnasnoci,sunem2Vniw003DsebircseD
.serudecorp
Preface
Notes
1. This manual may not be transcribed or reproduced in whole or part without permission.
2. The contents of this manual including the specifications are subject to change without prior notice.
3. This manual has been prepared with extreme care; however, if you find any ambiguous or incorrect description in
this manual, please contact us at one of the addresses listed at the end of this manual. At this time, inform us of
the manual No. given on the cover page.

Safety Precautions
Thoroughly read “Safety Precautions”before using this product.
Caution
: Incorrect handling of the device may result in minor injury and/or moderate damage.
Some items indicated in
Caution
may also result in a serious accident depending on the conditions.
These safety instructions give important information.
Be sure to strictly observe them. Specially important items are given below.
Caution
◊If damage or deformation is found on the product when unpacking, do not use it, or fault or malfunction may occur.
◊Do not give a shock to the product by dropping or falling it, or damage to the product or malfunction may occur.
◊The product CD is CD-ROM. Never try to play it on a general audio CD player, or loud noise may cause hearing
disability or audio equipment fault.
◊Insert loader connectors in the correct direction, or malfunction may occur.
◊Insert CD-ROM, loader connectors, etc. in the correct direction, or fault or malfunction may occur.
◊When performing program change or forced output during operation or starting or stopping operation, make sure of
safety. Operation errors may cause damages to the machine or accidents.
◊Use the product under the software operation environment conditions described in the manual, or fault or malfunction
may occur.
◊Operate D300win and personal computers under stable conditions to prevent falling, etc., or fault or malfunction may
occur.

Revisions
.launamsihtfoegaprevocehtnorenrocthgir-rewolehtninevigsi.oNlaunamehT*
nodetnirP .oNlaunaM* stnetnocnoisiveR
4002.luJ642HEFnoitidetsriF
4002.voNa642HEF .nettirwersawnoitpircsednoitamrofnimetsysgnitarepoehT
•.deddasawPXswodniWehT

Contents
Preface
Safety Precautions
Revisions
Page
Section 1 Overview .......................................................................................1-1
1-1 Outline of NP4N-MDLW .................................................................................................................. 1-1
1-1-1 Data Communication System Configuration Image.............................................................................. 1-1
1-1-2 Outline of system configuration............................................................................................................. 1-2
1-2 Necessary Knowledge ................................................................................................................... 1-4
Section 2 Installation ....................................................................................2-1
2-1 Personal Computer Environment Necessary for SX Communication Middleware ................. 2-1
2-2 Installation Procedure ................................................................................................................... 2-2
2-2-1 Initial screen .......................................................................................................................................... 2-2
2-2-2 Installing SX Communication Middleware ............................................................................................. 2-3
2-3 Uninstallation Procedure............................................................................................................... 2-8
Section 3 SX_MDLW Specifications ............................................................3-1
3-1 MICREX-SX Communication Middleware Operational Specifications ...................................... 3-1
3-1-1 Execution environment .......................................................................................................................... 3-1
3-1-2 Development language for client ........................................................................................................... 3-1
3-1-3 List of communication interfaces........................................................................................................... 3-1
3-2 Interfaces Supported by SX_MDLW ............................................................................................. 3-2
3-3 Accessing Process Data ................................................................................................................ 3-7
3-3-1 Item ID and access path ....................................................................................................................... 3-7
3-3-2 Basics of process data access.............................................................................................................. 3-7
3-3-3 Scheme of process data access ........................................................................................................... 3-9
3-4 OPC Functions Not Supported by SX_MDLW ........................................................................... 3-12
Section 4 Using SX_MDLW...........................................................................4-1
4-1 Setting SX_MDLW .......................................................................................................................... 4-1
4-1-1 Setting OPC server ............................................................................................................................... 4-1
4-2 Setting DCOM ............................................................................................................................... 4-10
4-3 D300win-Related Settings ........................................................................................................... 4-15
4-3-1 Exporting variable names.................................................................................................................... 4-16
Section 5 Connecting from an OPC Client ..................................................5-1
5-1 Preparing for SX_MDLW (OPC Server) Connection ................................................................... 5-1
5-2 Connecting to SX_MDLW .............................................................................................................. 5-2
5-3 Registering Groups ........................................................................................................................ 5-2
5-4 Registering Items ............................................................................................................................ 5-2
Section 6 Troubleshooting ...........................................................................6-1

Section 1 Overview
Page
1-1 Outline of NP4N-MDLW .............................................................................................. 1-1
1-1-1 Data Communication System Configuration Image .............................................................. 1-1
1-1-2 Outline of system configuration ............................................................................................. 1-2
(1) Basic system configuration ..................................................................................................................... 1-2
(2) Expanded system configuration .............................................................................................................. 1-3
1-2 Necessary Knowledge ................................................................................................ 1-4

1-1
The MICREX-SX Communication Middleware (NP4N-MDLW) is a local/remote data access server compliant with OPC
Data Access 2.0 proposed by OPC Council. It provides connection environment for clients (applications created in Visual
Basic, Visual C++, etc.) and MICREX-SX (global variables).
(Hereinafter, the MICREX-SX Communication Middleware may be simply referred to as SX_MDLW.)
SX_NDLW is an interface for connecting between the MICREX-SX SPH system (data source) and applications (data
users) called clients.
1-1-1 Data Communication System Configuration Image
* OPC ........ OLE for Process Control
OLE ......... Object Linking and Enbeding
SCADA .... Supervisory Control and Data Aquistion
[Hint]
OPC-related information is available at the Web site of OPC Council Japan.
Address: http://www.microsoft.com/japan/partners/industry/opchome.htm
Section 1 Overview
1-1 Outline of NP4N-MDLW
Personal computer D300win
(V2.2 or up)
OPC clients
Applications created in
Visual Basic (VB) or Excel
and operating on Windows,
and SCADA software, etc.
OPC server for
MICREX-SX
SX_MDLW
OPC i/f
Global variable information
from D300win
MICREX-SX SPH Note)
Note: SPS is not currently supported.
OPC clients and the OPC server are connected using automation or custom
interface. For example, automation interface is used for Visual Basic and
custom interface is used for C++.
For interfacing between SX_MDLW
(machine equipped with SX_MDLW) and
MICREX-SX system, use Ethernet, RS-
232C, FL-net, SX bus or modem.

1-2
1-1 Outline of NP4N-MDLW
1-1-2 Outline of system configuration
(1) Basic system configuration
In the basic system configuration, communications are made between one personal computer and MICREX-SX. On the
personal computer, SX_MDLW, D300win and OPC client are activated. SX_MDLW can access up to 10 global variable
definition worksheets created by D300win. If a variable name definition file has been exported, SX_MDLW can access to
the MICREX-SX global variables without activating D300win.
Notes:
1. The OS of the personal computer must be WindowsNT V4.0 SP3 or up, Windows2000, or WindowsXP.
2. Message Manager is attached to SX_MDLW.
Personal computer
OPC client SX_MDLW
(OPC server)
D300win
(V2.2.0.1 or up)
Message manager (MM)
WindowsNT V4.0 SP3 or up/Windows2000/WindowsXP
Dedicated
interface
Use RS-232C, Ethernet, etc. for communications
between the personal computers and MICREX-SX.
For details, see Section 3-1 “MICREX-SX
Communication Middleware Operational
Specifications.”
Global variable information
MICREX-SX

1-3
(2) Expanded system configuration
In the expanded system configuration, communications are made between personal computers on LAN and/or Internet
and the MICREX-SX. The SX_MDLW execution environment must be WindowsNT 4.0 or up, Windows2000 or
WindowsXP, and the OPC client execution environment must be WindowsNT V4.0 SP3 or up, Windows2000/WindowsXP.
OPC client SX_MDLW
(OPC server)
D300win
(V2.2.0.1 and up)
Message manager (MM)
WindowsNT V4.0 SP3 or up/Windows2000/WindowsXP
Dedicated
interface
Use RS-232C, Ethernet, etc. for communications
between the personal computers and MICREX-SX.
For details, see Section 3-1 “MICREX-SX
Communication Middleware Operational
Specifications.”
OPC client
Personal computer Personal computer
Personal computer
OPC client
OPC client
Windows2000
or WindowsXP WindowsNT
Windows2000
or WindowsXP
Internet/intranet
DCOM
1-1 Outline of NP4N-MDLW
MICREX-SX

1-4
For development of OPC clients using SX_MDLW, following knowledge is necessary:
<For development with OPC automation interface>
Category Items
Knowledge about OLE standard interface Outline of OLE automation
Knowledge about OPC Knowledge about the interface defined by OPC is necessary.
Knowledge about D300win Knowledge about D300win operations is necessary.
<For development with OPC custom interface>
Category Items
Knowledge about OLE/COM Interface definitions
Knowledge about OLE standard interface Outline of OLE automation
Knowledge about OPC Knowledge about the interface defined by OPC is necessary.
Knowledge about D300win Knowledge about D300win operations is necessary.
1-2 Necessary Knowledge

Section 2 Installation
Page
2-1
Personal Computer Environment Necessary for SX Communication Middleware .....
2-1
2-2 Installation Procedure ................................................................................................ 2-2
2-2-1 Initial screen .......................................................................................................................... 2-2
2-2-2 Installing SX Communication Middleware ............................................................................. 2-3
2-3 Uninstallation Procedure ........................................................................................... 2-8

2-1
Section 2 Installation
2-1 Personal Computer Environment Necessary for
SX Communication Middleware
Because MICREX-SX Communication Middleware is incorporated in a user application for operation, its operation
environment is limited by the user application software specifications. The recommended execution environment for the
user application software incorporating the SX Communication Middleware is given below.
Items Specifications
Hardware IBM-AT compatible machine
CPU Intel Pentium 233 MHz or equivalent
Hard disk driv At least 1 drive
External storage device/
interface
Floppy disk drive At least 1 drive, Media: 2HD, 1.25/1.44 Mbytes, 3.5 inches
CD-DOM drive At least 1 drive (quadruple speed or more recommended),
Media: ISO9660 format
Memory capacity 128 Mbytes or more
Keyboard 106-type Japanese (A01) keyboard (CTRL + alphanumerics) or
101-type English keyboard
Mouse USB, bus or PS2 mouse
Display (resolution) 1024 x 768 dots or more
Communication interface
Select one of the following interfaces:
•COM port (RS-232C/modem)
•Ethernet
•FL-net
•SX bus (SX bus slave board is necessary.) See Note.
Operating system necessary for SX_MDLW WindowsNT 4.0 SP3 or up, Windows2000, WindowsXP
Note: Currently, SX bus slave boards (model: NP3L-SA1SASS) compliant with ISA bus are available.
The SX Middleware Software package is shipped as one CD-ROM. It contains the software itself, installer and product

2-2
manual (PDF file).
2-2-1 Initial screen
With Windows activated, insert the product CD-ROM in the CD-ROM drive. Then, the screen shown below automatically
appears.
Note: If the installation screen shown above does not appear automatically, perform the following procedure:
Click Windows [Start] ⇒[Run], specify the name as “(drive where the product CD-ROM is inserted):¥autorun.exe”
and click [OK] button.
2-2 Installation Procedure

2-3
2-2 Installation Procedure
2-2-2 Installing SX Communication Middleware
<Procedure>
1) From the initial screen, click “Setup” to start the installer.
Note: If your personal computer runs on WindowsNT, “Windows Installer” may not have been installed. In this case, install
“Windows Installer” and restart the personal computer.
First, click here.

2-4
2-2 Installation Procedure
2) The license agreement screen appears. Read the contents and select whether or not to accept the terms of the license.
3) To agree with the terms of the license and continue installation, select “I accept the terms in the license agreement” and
click [Next>] button.
The Customer Information entry screen appears. After entering necessary information, click [Next>] button.

2-5
2-2 Installation Procedure
4) Select the setup type.
When “Complete” is selected, the middleware is installed to C:¥Proogram Files¥FujiElec¥SXMiddleWear. To change the
installation destination, select “Custom” and click [Next>] button.
5) From Custom Setup screen, click [Change...] button and setup the installation destination.
After setup, click [Next>] button.
Clicking this button invokes the screen for changing
the installation destination folder.
Clicking this button displays empty space size of the
disk necessary for installation.

2-6
2-2 Installation Procedure
6) The screen shown below appears. From this screen, click [Install] button to start installation.
The installation destination folder is shown here.

2-8
<Procedure>
1) Execute “Add or Remove applications” from Control Panel, select “MICREX-SX Communication Middleware” and click
[Add/Remove] button ([Change/Remove] button for Windows2000/WindowsXP) to invoke the screen shown below.
2) Click [Next>] button to invoke [Program Maintenance] screen. From this screen, click [Remove] radio button and then
click [Next>] button.
2-3 Uninstallation Procedure
This manual suits for next models
1
Table of contents