Mitsubishi Al-10mr-A (Software Manual)
Mitsubishi Al-10mr-A (Software Manual)
Mitsubishi Al-10mr-A (Software Manual)
Foreword
This manual contains text, diagrams and explanations which will guide the reader in the correct
programming and operation of the series controller.
Before attempting to install or use the series controller this manual should be read and
understood.
If in doubt at any stage of the installation of the series controller always consult a professional electrical engineer who is qualified and trained to the local and national standards which
apply to the installation site.
If in doubt about the operation or use of the series controller please consult the nearest Mitsubishi Electric distributor.
This manual is subject to change without notice.
AL-PCS/WIN-E
SOFTWARE MANUAL
: Jan 2000
iii
iv
FAX BACK
Mitsubishi has a world wide reputation for its efforts in continually developing and pushing back
the frontiers of industrial automation. What is sometimes overlooked by the user is the care
and attention to detail that is taken with the documentation. However,to continue this process
of improvement, the comments of the Mitsubishi users are always welcomed. This page has
been designed for you,the reader,to fill in your comments and fax them back to us. We look forward to hearing from you.
Fax numbers:
Your name....................................................
Mitsubishi Electric....
.....................................................................
America
(01) 847-478-2253
Australia
(02) 638-7072
.....................................................................
Germany
(0 21 02) 486-1 12
South Africa
(0 27) 11 444-0223
.....................................................................
United Kingdom
Good
Minor damage
No
Un-friendly
Yes
Unusable
Unusable
Yes
No
If so,which:..................................................................................................................................
What do you think to the manual layout?
Good
Un-helpful
vi
2 ) Indicates that the identified danger could POSSIBLY cause physical and property
damage.
3 ) Indicates a point of further interest or further explanation.
Software warning
4 ) Indicates special care must be taken when using this element of software.
5 ) Indicates a special point of which the user of the associated software element
should be aware.
6 ) Indicates a point of interest or further explanation.
vii
viii
Table of Contents
Guideline...........................................................................................................................vii
1. Introduction............................................................................................1-1
1.1 Outline ................................................................................................................ 1-1
1.1.1 List of Models Compatible with the VLS software ................................................... 1-1
1.1.2 Product Configuration.............................................................................................. 1-1
1.1.3 Major Features of the AL-PCS/WIN-E Software .................................................... 1-1
2. Installation .............................................................................................2-1
2.1
2.2
2.3
2.4
4.5
4.6
4.7
4.8
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
Inputs....................................................................................................................... 6-2
Front Panel Keys..................................................................................................... 6-2
System Memory Bits ............................................................................................... 6-3
Function Blocks ....................................................................................................... 6-3
The Logic Blocks ..................................................................................................... 6-3
The Standard Function Blocks ................................................................................ 6-3
Placing the Blocks on the FBD Base....................................................................... 6-4
Moving Function Blocks and Signals....................................................................... 6-4
Output Blocks ......................................................................................................... 6-4
7.3
7.4
7.5
7.6
xi
xii
1.
Introduction 1
Introduction
This section describes the major functions of the AL-PCS/WIN-E software and the Outline of
this manual. Make sure to read this section before using the software.
1.1
Outline
The software package AL-PCS/WIN-E is a programming tool designed to be used with the
Simple Application Controllers. The VLS software runs on Microsoft Windows Versions 95, 98,
and NT Version 4.0 and above (hereafter referred to collectively as Windows). The software
has been designed to be both powerful and user friendly. While many of the software features
can be learned intuitively, a detailed help file has been incorporated into the software to assist
users in finding answers to their questions.
1.1.1
1.1.2
Product Configuration
Check the contents of the AL-PCS/WIN-E box against this list to confirm that the following
accessories are supplied.
Floppy Disk SW0D5F-ALVLS-E 3.5-inch (1.44 MB) 3 disks
Manual (this manual) JY992D74001D
1.1.3
1-1
Introduction 1
Definitions
The following terms will be used throughout this manual and the AL-PCS/WIN-E software.
Function Block Programming - The method by which the
programmed.
Function Blocks - the heart of the controller. They process information received from inputs
or other sources, manipulate the data, and control the system Outputs. There are 22 function
blocks that can be found in the Accessories Toolbar under the FUNC or LOGIC headings. The
function blocks have been pre-programmed to perform specific actions and may have variable
parameters that can be adjusted for specific programming needs.
Function Block Diagram base (FBD base) - All system program components (Inputs, Outputs,
Function Blocks, Memory Bits, or Keys) are placed on the FBD base during programming.
Digital - A type of Input or Output that only recognizes an On or Off state. An On state can also
be referred to as High or 1 while the Off state can be referred to as Low or 0.
Analog - A type of input/output that measures a Voltage or Ampere value rather than an On/Off
signal.
1.3
Abbreviations
The following definitions or abbreviations will be used throughout this manual.
The AL-PCS/WIN-E software will be referred to as VLS software.
The Simple Application Controller may be referred to as the controller or the controller.
Function Blocks may be referred to as FB(s).
Input/Output may be referred to as I/O.
1-2
2.
Installation 2
Installation
This section describes how to install the AL-PCS/WIN-E software package and to connect the
Simple Application Controller to the Personal computer. The Operation System requirements are outlined and the equipment necessary to make all proper connections are detailed.
2.1
2.2
Operating System
CPU
Hard Disk
10 MB of free capacity
Memory
32 MB or more (recommended)
Pointing Device
Video
Installation
Insert the SW0D5F-ALVS-E disk 1 into the appropriate drive. Execute setup.exe.
Perform installation in accordance with the Wizard. The procedure is equivalent to that for general Windows applications.
2.3
Uninstallation
To uninstall the AL-PCS/WIN-E software, click the [Install/Uninstall] option in the
My Computer:\Control Panel:\Add/Remove Programs.
Delete Mitsubishi SW0D5*-ALVLS-E.
2-1
Installation 2
System Configuration
The system configuration for the Personal Computer and controller is diagrammed below.
Please check for proper connections before transferring programs between the controller and
the PC. The Communications port for program transfer between the personal computer and
the controller can be designated in the COM pull down Menu in the VLS software.
Program transfer via Modem can also be accomplished; use the Initialize Controller Modem
Command in the Option Menu to configure the modem setup. See Chapter 6 for details.
controller
Computer
AL-232CAB(Option)
IN
L
A C IN P U T
POW ER
A C 1 0 0 /2 4 0 V
ES C
+
OK
R E LA Y O UTP U T
OU T1
O UT 2
O U T3
RS-232Cable
Modem
2-2
OU T4
3.
3.1
The F1 Key
The F1 key will provide specific help on a highlighted object.
Click a system component on the FBD base to highlight it and press the F1 Key to bring up a
dialog screen. To receive Help on a command, move to the command with the mouse until the
instruction is highlighted in blue. Type F1 to access the Help dialog box before using the
command.
3.2
3.3
3-1
Introduction - Choose from a basic introduction, information on the FBD base, or the System
Sketch Operations.
Menu Options - Choose to view detailed information upon each pull down menu available at
the top of the screen.
Functions and Signals - Learn about the functions and capabilities of the Inputs, Outputs, and
Function Blocks available for programming with the VLS package.
Various Modes of Operation - Explains about the different modes of operation including the
Programming mode, the Simulation Mode, and the Monitoring Mode.
Special Features - This section describes the various ways of Dragging and Dropping objects,
and of Moving Objects with the arrow keys.
Help Support - Provides information on using the Contents Help icon, F1 key, and help dialog
boxes.
When an option is chosen, the main topics available for that category pop up on screen.
Choose the desired topic to bring up a dialog box.
Words or phrases that are highlighted in green contain addition information in another dialog
box. Click on the highlighted text to view its dialog box.
3-2
3.3.3
3.3.4
3.3.5
3.3.6
About VLS
Use this command to display the copyright notice and version number of your copy of VLS.
3-3
3-4
4.
4.1
Screen Identification
The Toolbars have been labeled on the screen below for the users reference. These Toolbars
can be turned On or Off in the View menu. The Menu Bar runs across the top of the screen.
The two main viewing screens will be discussed later in the chapter.
Standard toolbar
Controller toolbar
Drawing toolbar
Accessories toolbar
Wiring toolbar
Status toolbar
4-1
The user can perform the following ten operations using FBD base screen. Refer to Chapter
Six for more details.
1. Place the I/O signals and functions using the Accessories Toolbar.
2. Assign parameters to functions.
3. Wire the various program components together (with the help of Wiring Analyser).
4. Load the Program logic and I/O devices information to the Controller.
5. Invoke Auto FBD Wizard to begin to program with directions.
6. Test the program logic with Internal Devices (Input and Output signals placed in the
FBD wiring area).
7. Simulate and check the programming logic without connecting an
user can:
Controller. The
4-3
4.4.1
4.4.2
4.5
4.6
4.7
Cable Connection
The AL-232CAB cable is used to connect the controller and the PC in order to communicate
with the VLS software.
4-4
Modem Communication
The controller can communicate via modems to a PC using VLS software. The user can
Upload or Download Programs, monitor counter values or function block times, change parameter settings, or write new data to the controller. All communications are initiated from VLS
software so that the user controls the information flow from the PC. The controller cannot
initiate error messages or send messages to external devices.
The controller will initiate its modem upon startup and can then receive or transmit data as
requested from VLS.
4.8.1
Modem Connections
The uses the following setup to connect to its modem.
controller
AL-232CAB
RS-232Cable
Modem
IN
L
A C IN P U T
POW ER
A C 1 0 0 /2 4 0 V
ES C
+
OK
R E LA Y O UTP U T
O U T1
O UT 2
O U T3
O U T4
The RS-232Cable pinouts are shown below, both ends of the RS232 cable should be male.
4-5
4.8.2
Modem Initialization
The controller must be initialized with the modems AT
command which can be entered from the controller front
panel or transferred from VLS through the AL-232CAB. The
VLS software provides options three preprogrammed
commands for commonly used modems or the user may
enter the command according to the modems
specifications.
Begin the initialization process by entering the Option/
Initialize Controller Modem command.
The screen below will appear. Use the select key to choose from a preprogrammed option or
type in the AT command. Set the Power On Delay from a default of 0 seconds to a maximum
of 10 seconds as the delay between the time the controller powers up and the modem is
initialized.
The three preprogrammed modem commands are shown below and can be used as an example for other modems AT commands.
4-6
Please refer to the modem manufacturers manual for the necessary requirements for models
other than the ones listed here.
Maker/Model
AIWA
PV-AF3360
Remarks
AT
E0
Q1
AT
E0
Q1
&B1
&D0
&H0
&I0
\J0
&D0
\Q0
-
Echo Off
Quiet mode;
No result codes.
Fix serial port rate
DTR override
Flow control disabled
Software flow control disabled
&R1
S0=2
&S0
S15=8
Disable MNP
handshake
&W
S0=2
&S0
&M5
V.42 mode
4.8.3
3Com
SP560V-P
&W
4-7
Type in your telephone number, pick the modem name from the options available, and enter
the Maximum Data Transmission Speed.
The Dialing box will appear while the modem tries to make a connection.
4.8.5
Data Transfer
After the modem line has been successfully established, data can be transferred between VLS
and the controller. Commands from the Controller pull down menu or Icons from the
Controller Toolbar can be used to Upload/Download programs, verify or clear controller
contents, run Diagnosis of Controller, Check the Used Memory, Start/Stop, and Monitor Test
Results.
When the controller is running, the controller program cannot be changed.
4.8.6
4-8
AS-Interface Programming
AS-Interface modules are available for the 20 I/O controller and can be programmed with the
VLS software. The following special symbols apply only to the AS-Interface network
4.9.1
4.9.2
4.9.3
Active/Passive State
The can be switched from an Active to a Passive state on the AS-Interface network by changing the state on the N01 Control Icon. In the Active
State, N01=0, communication is possible over the network. This icon can
be found in the Out Menu next to the ASI Link Out icon.
When multiple units are added to a network, each slave must be given
an address. In order to address the slaves from the Master station, only one unaddressed
slave can be active at any one time. Once a slave has an address, another passive slave can
be turned to an active state to receive its address. Please refer to the AL-ASl-BD manual and
the manual for the ASI Network Master controller.
4.9.4
4-9
4-10
5.
5.1
File
New (Crtl+N) - Creates a new file with windows in both the FBD and Monitoring in System
Sketch window. Any file currently open will be closed with an option to save.
Open (Crtl+O) - Open an existing file with windows in both the FBD and Monitoring in System
Sketch window. Any file currently open will be closed with an option to save.
Close - Closes existing active documents in both the FBD and System Sketch window with an
option to save any changes.
Save (Crtl+S) - Saves the current file to its current name and directory.
Save As - Save the current file under a new name and or directory. The first time a file is saved
this command will come up so that the file can be named.
Print Setup - Select a printer and printer connection from the Print Setup Dialog Box that pops
up on the screen.
Print Preview - View the active document as it would appear if printed. This command is disabled if either of the FBD or Monitoring in System Sketch window is minimized.
Print (Crtl+P) - A Print Dialog box pops up onscreen to select options and Print data.
1-8 Previously Opened Files - Use the numbers and filenames listed to Open the last eight
documents that have been closed.
Exit - End the VLS session. A prompt will appear to save open documents.
5.2
Edit
Undo (Crtl+Z) - Cancel the Previous Instruction. There is only one level of Undo available.
Redo (Crtl+Y) - Cancel the Previous Undo Instruction. There is only one level of Redo
able.
Cut (Crtl+N) - Remove the selected data from the Screen and place it to the Clipboard.
Copy (Crtl+C) - Copy the selected data to the Clipboard.
Paste (Crtl+V) - Add the data from the Clipboard to the Program
Delete (Del) - Delete the selected data from the program.
Select All (Crtl+A) - Select All the function blocks on the screen.
5-1
avail-
View
Close System Sketch - Close the System Sketch Screen. If the screen is closed, the title will
change to Open System Sketch.
Close FBD - Close the Function Block Diagram base. If closed, the menu option will change to
Open FBD.
Standard Toolbar - When the Check mark appears, the Standard Toolbar will be displayed
onscreen.
Controller Toolbar - When the Check mark appears, the Controller Toolbar will be displayed
onscreen.
Drawing Toolbar - When the Check mark appears, the Drawing Toolbar will be displayed
onscreen.
Accessories Toolbar - When the Check mark appears, the Accessories Toolbar will be
displayed Onscreen.
Wiring Toolbar - When the Check mark appears, the Wiring Toolbar will be displayed onscreen.
Status Bar - When the Check mark appears, the Status Bar will be displayed Onscreen.
Zoom - Choose from 200, 150, 100, 75, 50, 25, or 10% zoom factor
5.4
Insert
Icons into Vacant Terminals - Input S and Output S icons will be inserted into any vacant Input
or Output Terminals, respectively.
Insert New Object - Insert a Display, OLE, or file into the System Sketch Window.
Links... - Edit links between the VLS file and other documents.
Object - Opens the application in which the selected embedded or linked object was created
so that you can edit it.
5.5
Tools
Start Auto FBD Wizard - The Auto FBD Wizard is an option to help explain function blocks and
the way in which they will perform under differing combinations and placements.
Renumber Signals - The Function Blocks will be renumbered to the lowest possible number. If
Function Blocks have been deleted, the higher numbered Function Blocks will decrease
their value to the lowest number available.
5.6
Search
By Comment - Search for a Function Block by the attached comment. The comment does not
have to be displayed nor is the search case sensitive. The text, however, must be an exact
match. If a match is found, the block will be highlighted.
By Signal Number - Search for the Function Block by the coded signal number. The alphanumeric sequence as it appears onscreen - one letter followed by two numbers. The letters
are not case sensitive. Ex. - M01, i06, B12.
5-2
Controller
Write to Controller - Write the program in the VLS software to the memory of the controller. The
contents of the controller memory will be overwritten.
Read from Controller - Transfer the contents of the controller memory into the VLS program.
The current program in VLS will be overwritten.
Verify Controller data with VLS - Verify that the data in the FBD matches the data in the
controller memory.
Clear Controller Contents - Clears the memory of the controller that is connected to the PC.
Diagnosis of Controller - Brings up a dialog box with the following information about the
connected controller:
Model name
Version number
Number of input terminals connected to the controller
Number of analog inputs
Number of output terminals
Power supply type (AC or DC)
Error Code
Status of the RTC
Status of the controller (Run or Stop)
Status of Program Write (Enable or Disable)
Check Used Memory - Check the amount of memory, function blocks, or input signals used in
the program.
Simulation - The simulation mode will run the program in the VLS memory without a controller.
This is very useful to check your program prior to transferring it to the actual controller.
Drive Controller - Place the connected
software.
Monitor/Test - Monitor the status of the connected controller from the VLS software.
Select COM Port - Select from Com port 1, 2, 3, or 4 for your PC to controller connections.
5.8
Com
Configuration - Set the Configuration of the COM port. The user can choose between a
modem or a Com port to communicate with the Controller.
Connect Line - Dial a Telephone number by invoking the Ring Telephone dialog.
Disconnect Line - Disconnect an ongoing call. An active Modem line should be disconnected
before it can be used again for communication.
5-3
Option
Select Controller Type - Select the type of controller that the program for which the program is
to be written - 4 Inputs and 2 Outputs, 6 Inputs and 4 Outputs, or 12 Inputs and 8 Outputs.
User Defined Icons - Import your own user defined Icons.
Function Set Icon - Select the icon set to be displayed on screen.
Set Wire Color - Set the wire color for the Edit and Simulation modes.
Set Base Color - Set the Function Block Diagram Base color.
Date Format - Select one of the following formats in which the calendar date will be shown.
mm/dd/yy, dd/mm/yy, yyyy/mm/dd.
Change Current Time - Change the RTC current time.
Initialize Controller Modem - Choose the modem from a pre-entered group or enter the AT
command information for your chosen model.
Password - Enter Password for program protection.
Grid - Choose the Horizontal and Vertical Grid line spacing from 2 to 32.
Show Grid - Hide or Display the Grid lines on the FBD Base.
5.10
Window
Cascade - Use this command to arrange multiple open windows in an overlapped fashion.
Tile - Use this command to vertically arrange multiple open windows in a non-overlapped fashion.
1 Monitoring in System Sketch - Open the system sketch window for monitoring/editing.
2 FBD - Open the Function Block Diagram base for monitoring or editing.
5.11
Help
Contents - Shows the Table of Contents of the Help Function. The user can click on the
desired chapter and the help file will appear onscreen.
Search for Help on... - Displays the opening screen of the Help command. Choose from a list
of instructions and reference information on the features of the VLS software.
How to Use Help - Provides information on how to use and customize the help function.
About VLS... - Gives the Version number and Copyright notice for the VLS package.
5-4
6.
6.1
6.1.1
6.1.2
6-1
6.2.1
Inputs
System Inputs receive data from the devices wired to the actual controller and
can be either the digital or analog signal type. The digital units transmit an On
or Off signal; Analog inputs transfer a data value. The icons can be found under
the IN heading of the Accessories Toolbar at the left of the FBD base.
The digital signals can be placed on the Input rectangles at the left of the FBD
base or on the base itself. Each icon functions in the same way. The different
icons have been developed to aid in the documentation and understanding of
the program. Use an input icon that corresponds to the actual input device to
be connected to the controller. The names of the signals will appear when the
mouse arrow is placed on the icon.
The analog signals can be placed only in Input Rectangles I01 - I08. The
controller inputs act as an 8 bit Analog/Digital converter when the analog signal
is placed in the Input Rectangles.
Four AS-Interface bits, E01 - E04, are available when using the 20 I/O versions
of the Alpha controller and VLS Version 1.30 or above. These inputs can be
placed anywhere on the FBD base and will not be counted toward the number
of system Inputs.
6.2.2
6-2
6.2.4
Function Blocks
There are twenty-two function blocks that can be used with the controller. They fall into two
categories - Logic and Standard. The function blocks can be placed on the FBD base only.
6.2.5
6.2.6
6-3
6.2.8
6.2.9
Output Blocks
The system outputs should be placed in the output rectangles on the right side
of the FBD base. Ouputs placed outside the rectangles will act as neutral
blocks. There are two, four, or eight outputs available depending on the type of
controller chosen. The outputs blocks have one input pin and an output pin
that can connect to other function blocks or outputs.
Four AS-Interface outputs, A01 - A04, are available when using the 20 I/O
versions of the Alpha controller and VLS Version 1.30 or above. These
Outputs can be placed anywhere on the FBD base and will not count towards
the number of system outputs.
6.3
6.3.1
The small icons present on left and right side of Signal/Function icon are known as pins. Pins
are of two types, BIT (Digital) pins and WORD (Analog) pins. Pins which are present on the left
side of icon are known as INPUT pins. Pins which are present on the right side of icon are
known as OUTPUT pins.
Bit Pin (Digital Pin) - On or Off signals
Bit Pin
Word Pin
6-4
Digital Output Pins can be connected to Digital Input Pins and Analog Output Pins can be
connected to Analog Input Pins. Digital pins cannot be connected to Analog pins. Output Pins
can connect to multiple input pins.
In the following cases an appropriate error message occurs:
Input Pin cannot be connected to Input Pin.
Output Pin cannot be connected to Output Pin.
Digital Pin can not be connected to Analog Pin.
Input Pin can not have more than one wire connected to it.
No pin is located in this position.
Wiring will be activated until the user presses the left mouse button on any other tool bar or on
some vacant space in the FBD base. The user can move wires with the mouse by clicking and
dragging them to a new location.
6.4
6.4.1
6-5
6.5
6.5.1
Choose an Output
The output icons will appear on the left of the screen and the Output rectangles will appear on
the right of the screen. Choose an icon with the left mouse button and place it in the Output
rectangle with another click of the button. Proceed to step two by clicking on the Next box.
6.5.2
6-6
6.5.4
6.5.5
6.5.6
6-7
Setting Parameters
Set parameters for the Function Blocks and set up Logic functions for the Boolean parameter
in this screen. A red arrow will appear above the Function Block that should have its
parameters set next.
Double click on the Function Block to open the parameter dialog box and enter the parameters
as required. A Boolean Function Block will always appear in this screen to enable the user to
employ Logic Operations. The logic must be set for the Boolean operation. (The logic can be
set so that the whenever the input is On, the Boolean Block is On. This makes the operation of
the Boolean function transparent).
The logic can be set two ways - the Set Rule or
the Set by Logic option. Set Rule allows the
use r to se t th e signa ls in a s ma ny non conflicting options as desired and the logic will
be generated by the VLS software. Click on the
signals and function blocks to turn the device
On or Off and accept with the Set Rule button
when finished. Set as many Rules for each
situation as necessary.
The Set by Logic option allows the user
to write a logic equation using the AND,
OR, XOR, NOT, and operands.
6.5.8
Operation Check
Check the operation of the circuit by turning the Input Signals On and Off. The status of the
outputs and the current and set values for each block will be displayed. The wire connected to
an output pin which is On (Signal or Function Block) will change to a red color.
When finished with the operation check, press the Finish button to place the completed circuit
on the FBD base or Cancel to return to the FBD base in its original condition.
6-8
Simulation Mode
The simulation mode allows the user to test the actions of the program prior to transferring the
program to an controller. Changes to Function Block parameters can be made during the
simulation process, analog values can be input as necessary, and the input signals themselves
can be turned On/Off.
This is a powerful tool to debug new programs or to check updates to current programs.
6.6.1
6.6.2
6.6.3
6.6.4
6.6.5
6.6.6
6-9
6.7.1
6-10
6.7.3
6.7.4
6.7.5
6.7.6
6-11
6-12
7.
7.1
7.1.1
7.1.2
7.1.3
7.1.4
7-1
Changing Colors
To change the color of an existing line, select the line with the left mouse button. Click on the
Line Color Icon and choose the new color for the line. Future Lines will be drawn in this color.
This color will appear as the Line color for the outside of Ovals and Rectangles. The inside
color of the Rectangle and the Oval can be changed by clicking on the Brush Color icon and
choosing a new color.
7.1.6
7.2
7.2.1
7.2.2
7.4
7.5
7-3
7-4
HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310 TELEX:J24532 CABLE MELCO TOKYO
HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN
JY992D74001D
(MEE 0001)