User`s manual

Contents
GFK-1742A Contents xi
Control Sequence:.................................................................................................9-5
Chapter 10 Introduction to Local Logic Programming...................................................10-1
Introduction to Local Logic Programming...................................................................10-1
When to Use Local Logic Versus PLC Logic..............................................................10-4
Getting Started with Local Logic and Motion Programming........................................ 10-5
Requirements..............................................................................................................10-5
Getting Started with VersaPro.....................................................................................10-5
Using the Local Logic Editor......................................................................................10-7
Local Logic Variable Table.........................................................................................10-9
Main Window Menus ............................................................................................... 10-10
File.....................................................................................................................10-10
Edit .................................................................................................................... 10-12
View ..................................................................................................................10-13
Folder................................................................................................................. 10-14
PLC ...................................................................................................................10-15
Tools.................................................................................................................. 10-16
Window ............................................................................................................. 10-17
Help ................................................................................................................... 10-18
Toolbars............................................................................................................. 10-18
VersaPro/Local Logic Editor Window Layout........................................................... 10-20
Changing a VersaPro Screen Layout.................................................................. 10-20
Connecting the Local Logic Editor to the DSM...................................................10-21
Building Your First Local Logic Program........................................................... 10-22
Downloading Your First Local Logic Program ...................................................10-39
Executing Your First Local Logic Program......................................................... 10-42
Using the Motion Program Editor ............................................................................. 10-43
Executing Your First Motion Program................................................................ 10-54
Chapter 11 Local Logic Tutorial.......................................................................................11-1
Introduction................................................................................................................11-1
Statements..................................................................................................................11-1
Comments ..................................................................................................................11-2
Variables ....................................................................................................................11-2
Operators....................................................................................................................11-3
Arithmetic Operators............................................................................................11-3
Relational Operators.............................................................................................11-4
Bitwise Logical Operators ....................................................................................11-4
Local Logic / PLC / Motion Program Communication ................................................11-5
Local Logic Programming Examples ..........................................................................11-5
Torque Limiting Program Example.............................................................................11-6
Gain Scheduler Program Example...............................................................................11-8
Programmable Limit Switch Program Example...........................................................11-9