Professional Documents
Culture Documents
For Windows
Ver. 1.0
User Manual
Catalog #100233 Rev. 02
Copyright ©1999 Eshed Robotec (1982) Ltd.
Catalog No. 100233 Rev. 02
June 1999
Every effort has been made to make this book as complete and accurate as
possible. However, no warranty of suitability, purpose, or fitness is made
or implied. Eshed Robotec is not liable or responsible to any person or
entity for loss or damage in connection with or stemming from the use of
the software, equipment and/or the information contained in this
publication.
Eshed Robotec bears no responsibility for errors which may appear in this
publication and retains the right to change specifications without prior
notice.
Table of Contents
Chapter 1 Introduction........................................................................................................... 9
Chapter 2 Starting PLCMotion ........................................................................................... 11
System Requirements................................................................................................................ 11
Software Copy Protection ......................................................................................................... 11
Installing the Software .............................................................................................................. 12
Installing PLCMotion on a PC Without a CD Drive ............................................................ 12
Windows 95: Keeping the PLCMotion Program Group on the Desktop ............................. 13
Uninstalling PLCMotion........................................................................................................... 14
Activating the Software ............................................................................................................ 14
Quitting the Software................................................................................................................ 15
Chapter 3 PLC Editor .......................................................................................................... 17
Overview................................................................................................................................... 17
Activating the PLC Editor .................................................................................................... 17
Quitting the PLC Editor ........................................................................................................ 18
PLC Editor Menus .................................................................................................................... 18
File Menu .............................................................................................................................. 18
Edit Menu.............................................................................................................................. 20
Ladder Menu......................................................................................................................... 23
Creating a Ladder with PLC Editor .......................................................................................... 27
Editing Tools......................................................................................................................... 27
Using the Activation Button ................................................................................................. 27
Using the Submenus ............................................................................................................. 28
Relay Contact Submenu.................................................................................................... 28
Coil Contact Submenu ...................................................................................................... 29
Box Submenu.................................................................................................................... 30
Using the PLC Editor Dialog Boxes..................................................................................... 31
Assigning Addresses......................................................................................................... 32
Entering Information for Instructions in Function Boxes................................................. 34
Chapter 4 PLC Simulator .................................................................................................... 37
Overview................................................................................................................................... 37
Activating the PLC Simulator Window................................................................................ 37
Quitting the PLC Simulator Window ................................................................................... 38
PLC Simulator Menus............................................................................................................... 38
File Menu .............................................................................................................................. 38
View Menu............................................................................................................................ 40
Simulate Menu ...................................................................................................................... 40
Window Menu ...................................................................................................................... 41
Map Menu............................................................................................................................. 41
System Requirements
PLCMotion for Windows requires the following:
• IBM compatible computer with Pentium 166 or faster processor
• At least 32 MB RAM
! 64 or more MB RAM recommended
• Hard drive with at least 60 MB of free disk space
! 80 MB minimum if you choose to install the Wizcon manuals
• Windows 95, Windows 98, or Windows NT operating system
• A VGA or better graphics display
• A mouse or other pointing device
Uninstalling PLCMotion
To uninstall PLCMotion, do the following:
1. 1. Insert the license diskette into the floppy drive. (Make sure the
diskette is not write-protected.)
2. 2. From the PLCMotion program group, select Uninstall.
3. Follow the instructions that appear on the screen.
Overview
File Menu
The file menu contains the usual Windows functions that allow you to
load and save files, and exit the software. In addition, you may change the
properties and view the instruction list through this menu.
Edit Menu
The Edit menu contains the commands that allow you to edit ladder
diagram files.
3. Click OK.
The selected text will be highlighted. The rung
with the text will be active.
Find Next Finds the next occurrence of the selected text.
Use this command after using the Find command.
This will automatically locate the next occurrence
of the text located with the Find command.
Editing Tools
To edit a rung of the ladder, do the following:
1. Click the Activation button next to the rung to be edited.
2. Click on Relay (or other) button.
3. Click on the rung where the input or output is to be placed.
4. Enter information in the appropriate dialog box.
Address Field
Comment Field
On Screen Keyboard
Overview
The PLC Simulator allows you to view PLC ladders created with the PLC
editor. Ladders can be viewed online, using a PLC logic controller, or in
simulation mode, using a file created with the Human Machine Interface
(HMI) or Wizcon.
File Menu
The file menu contains the Windows functions used to open close and
print files. New files must be created first using PLCEditior.
Print Opens the Print dialog box. Allows you to print the
active file.
Properties Opens the Properties window.
Memory Map Opens a memory map. The memory map shows the
status of the memory addresses used in the ladder
diagram. For information on using the Memory
Map, see Map Menu below.
Ladder Diagram Opens the active ladder diagram when the Memory
Map is active.
Refresh Updates the HMI file when the simulator ladder is
changed.
The active ladder diagram must correspond to the
active HMI module. For more information on using
the simulator with an HMI module, see Chapter 5.
Simulate Menu
The Simulate menu allows you to choose how to operate the software.
You can work online with a PLC panel and controller, offline, or in
simulation mode.
Map Menu
The Map menu contains the commands used for viewing a Memory Map.
The Memory Map shows the status of the memory addresses. The Map
menu is available only when a Memory Map is open.
Address
Address Value
Bit Box
Red, Green Displays the status for each bit by color. The box is
red when the status is false, and green when the
status is true.
0,1 Displays the status for each bit by number. The box
displays the number 0 when the status is false, and
displays 1 when the status is true.
Hexidecimal Displays the value of the word in hexidecimal
numeric form.
Decimal Displays the value of the word in decimal numeric
form.
Octal Displays the value of the word in octal numeric
form.
Overview
The PLCLine module allows you to work with the simulator and the Panel
HMI. Panel HMI is was created with the HMI / Wizcon module. The PLC
Simulator window opens on the top of the screen when you start and the
Panel HMI opens at the bottom.
To open PLCLine do one of the following.
1. Double click the PLC Editor icon from the PLCMotion program group
folder .
Or
From the Start menu select Programs | PLCMotion | PLCLine.
The PLC Simulator and Panel HMI windows open:
A small window called Wizcon User Name will also open. You may
ignore this window, but do not close its.
Panel HMI
The Panel HMI is a module created using the HMI / Wizcon function of
the PLCMotion software. For more information on creating your own
HMI module, see Chapter 6.
Option Menu
The Option menu contains the two user options which are available for
use when using the PLCLine panel simulation.
Labels On/Labels Off Turns the labels on the Panel HMI on or off. The
labels show the addresses of the Panel components.
Timing Diagrams
The Timing Diagrams dialog box allows you to work with either a digital
timing diagram, or an analog timing diagram.
Horizontal Lines;
Indicate Address
Status
Overview
You can build your own PLC simulations in what is referred to as a
Human Machine Interface (HMI). In order to do this, you must use the
Wizcon software that is supplied with the PLCMotion. This chapter
describes how to activate the software, and use it in conjunction with the
PLC Simualtor. For information on how to use the Wizcon software refer
to the Wizcon user manual, or the Wizcon online help guide.
The user manual is supplied as an Adobe™ PDF file. To install this file on
your computer’s hard drive you must select custom installation when
installing Wizcon.
.
When prompted to select which modules you wish to install do the
following:
1. Leave all the default checkboxes checked.
2. Select the checkbox next to books.
Logging In
To log in to Wizcon the first time, do the following:
1. Click on the Login Icon. The Login User dialog opens.
2. In the Name field, Enter Pc Soft (two separate words).
3. In the Password field, Enter Wizcon.
4. Press OK to activate.
Logging Out
To close Wizcon do one of the following:
1. Click on the Logout button from Wizcon's Quick Access Bar.
Or
Click on the Exit button from Wizcon’s Quick Access Bar.
See the Wizcon User Manual or online help guide for information on each
button.
Overview
This chapter describes the instructions used for an Allen Bradley
controller. For information on how to insert instructions into your PLC
ladder, see Chapter 3.
Address Organization
Allen Bradley PLC instruction addresses are made of words. Each word is
made up of 16 bits, numbered from 0 to 15. Each group of addresses is
located in a memory file. Each file contains 256 words, numbered from 0
to 255.
For an explanation of which file types to use with which type of
instruction see, Chapter 3.
Computational Instructions
ADD: Addition
When rung conditions are true, this output instruction adds Source A to
Source B and stores the result at the destination address. Source A and
Source B can be either values or addresses that contain values; however,
Source A and Source B cannot both be constants.
CLR: Clear
This output instruction sets all the bits in a word to (0) when rung
conditions are true. The destination must be a word address.
MUL: Multiply
Use the MUL instruction to multiply one value (source A) by another
(source B) and place the result in the destination. Source A and Source B
can be either constant values or addresses that contain values; however,
Source A and Source B cannot both be constants.
NEG: Negate
The NEG instruction changes the sign of the source and places it in the
destination when rung conditions are true. The source and destination
parameters must be word addresses.
SUB: Subtraction
The SUB output instruction subtracts Source B from Source A and stores
the result in the destination when rung conditions are true. Source A and
Source B can be either values or addresses that contain values; however,
Source A and Source B cannot both be constants.
LBL: Label
A label marks a place in a rung as a reference for a Jump instruction. This
instruction has no control bits. It is always evaluated as true or logic 1.
CTU: Count Up
This output instruction counts up for each false-to-true transition of
conditions preceding it in the rung and produces an output when the
accumulated value reaches the preset value. Rung transitions might be
activated by a limit switch or by parts traveling past a sensor.
NOT
When rung conditions are true, the source of the NOT instruction is stored
in the specified destination.
The source and destination must be word addresses.
NOT Truth Table
SOURCE DEST
0 1
0 1
1 0
OR
When rung conditions are true, Sources A and B of the OR instruction are
stored in the specified destination. Sources A and B can be either word
addresses or constants; however, both sources cannot be a constant. You
can enter a constant or a word address for either source parameter. The
destination must be a word address.
OR Truth Table
SOURCE A SOURCE B DEST
0 0 0
0 1 1
1 0 1
1 1 1
Move Instructions
MOV: Move
When rung conditions preceding this instruction are true, the MOV
instruction moves a copy of the source to the destination each scan. The
original value remains intact and unchanged in its source location.
Overview
The PLCMotion software is configured to work online with a PLC
controllerTo connect the controller to the PLC components, consult the
manual provided with your controller.
Connecting a Controller to a
Computer
Software License
During the PLCMotion software installation, a copy-protection system is
also installed on the hard disk. Only one installation per hard disk is
permitted.
To check the number of installations remaining, insert the Software
License Disk into the floppy drive, and execute the file WINSDEI.EXE.
This opens a dialog box.