ELAU编程软件EPAS-4使用手册
发布时间:2024-11-10
发布时间:2024-11-10
Imprint
© All rights reserved to ELAU AG, also in case of patent right
applications.
No part of this documentation and the related software and firm-
ware may be reproduced, rewritten, stored on a retrieval system, transmitted or translated into any other language or computer lan-guage without the express written consent of ELAU AG.Any possible measure was taken to ensure that this product docu-mentation is complete and correct. However, since hardware and software are continuously improved, ELAU makes no representati-ons or warranties with respect to the contents of this product documentation.TrademarksPacDrive is a registered trademark of ELAU AG.
All other trademarks mentioned are the exclusive property of their
manufacturers.
ELAU AGELAU Inc.
Dillberg 124201 W. Wrightwood Ave.
D-97828 MarktheidenfeldChicago, IL 60639
Phone:+49 (0) 93 91 / 606 - 0Phone:773 342 8400
Fax:+49 (0) 93 91 / 606 - 300Fax:773 342 8404
eMail:info@elau.desales@http://
Internet:http://www.elau.dehttp://
page 2 EPAS-4
PacDrive MFs.u_00_4SAPEaMpO_MDP
m
.f
Z
VI
s
u
_
4
-
S
AP
E
a
M
p
O
_
M
D
PContentsContents1On this manual 51.1Introduction ............................................................................................ 51.2Symbols, Signs and Forms of Depiction ................................................ 62General Safety Notes 72.1Basics .................................................................................................... 72.2Depiction of Safety Notes ...................................................................... 82.3Use as Directed ..................................................................................... 92.4Selection and Qualification of Staff ...................................................... 103Overview 113.1What is EPAS-4? ................................................................................. 113.2EPAS-4 components ........................................................................... 113.3Overview of EPAS-4 functionality ........................................................ 133.3.1How is a project structured? ................................................................ 133.3.2How do I set up my project? ................................................................ 133.3.3How can I test my project? .................................................................. 133.3.4Debugging with EPAS-4 ...................................................................... 143.3.5Additional online functions ................................................................... 143.3.6Conclusion ........................................................................................... 144Installation of EPAS-4 154.1System requirements ........................................................................... 154.2Installation procedure .......................................................................... 154.2.1Method ................................................................................................. 154.3Starting EPAS-4 ................................................................................... 164.4Language settings in Windows NT ...................................................... 165Communication EPAS-4 / MAx-4 PacController 175.1Principle of Communication ................................................................. 175.2Set up TCP/IP Protocol on the PC ....................................................... 185.2.1Operating System Windows 98 ........................................................... 185.2.2Operating system Windows NT 4.0 ..................................................... 245.2.3Operating system Windows 2000/XP Professional ............................. 285.3Checking the TCP/IP Connection ........................................................ 285.4Setting up the Gateway Server ............................................................ 315.4.1Installation ............................................................................................ 315.4.2Setting or Changing the Password ...................................................... 31
PacDrive EPAS-4page 3
Contents
5.5Setting up a Communication Channel .................................................. 33
5.5.1Establish Connection with Gateway Server ......................................... 33
5.5.2Set up New TCP/IP Connection ........................................................... 34
5.5.3Set up New Serial Connection ............................................................. 35
5.5.4Selecting the Connection ..................................................................... 365.5.5Selecting a Connection Globally or in the Project ................................ 385.5.6Delete Connection Entries .................................................................... 395.5.7Setting up a New Gateway ................................................................... 395.6Checking the Physical Connection ....................................................... 395.7Connector Occupation of the RS232 Interface ..................................... 406Working with EPAS-4 416.1Project Components ............................................................................. 416.1.1Project .................................................................................................. 416.1.2POU (Program Organisation Unit) ........................................................ 416.1.3Function ................................................................................................ 41
6.1.4Function block ...................................................................................... 43
6.1.5Program ................................................................................................ 46
6.1.6Resources ............................................................................................ 48
6.1.7Libraries ................................................................................................ 48
6.1.8Data types ............................................................................................ 48
6.1.9Visualization ......................................................................................... 49
6.2Help When You Need It ........................................................................ 49
6.3Adaptation of EPAS-4 to PacController MAx-4 Firmware Version ....... 51
6.3.1Manually Adaption of the Firmware (V00.11.00 and higher) ................ 51
6.3.2Automatically Adaption of EPAS-4 to MAx-4 Firmware ........................ 51
6.3.3EPAS-4 Does Not Support MAx-4 Firmware ........................................ 52
6.4Using the Keyboard .............................................................................. 52
6.4.1Shortcuts .............................................................................................. 52
6.4.2Key Combinations ................................................................................ 53
6.5Special settings in EPAS-4.ini .............................................................. 567APPENDIX 59
7.1Contact ................................................................................................. 59
7.2Further Literature .................................................................................. 60
7.3Product Training ................................................................................... 62
7.4Modifications ........................................................................................ 63
7.5Index ..................................................................................................... 65page 4EPAS-4PacDrive
m.fZVIsu_4-SAPEaMpO_MDP
1.1 Introduction
1 On this manual
MF
s.
u
_
d
St
d
n
e
w
r
Ve
_
M
D
P1.1
PacDrive IntroductionBefore using ELAU components for the first time, you should familiarize yourself with this operating manual.In particular, observe the safety notes described in chapter 2.Only persons who meet the criteria for "Selection and Qualification of Staff" (see chapter 2.4) are allowed to work on ELAU components.One copy of this manual has to be available for staff working on the components with access at any time.This manual is to help you use the component safely and expertly and to use it as directed.Observe this manual. This will help to avoid risks, reduce repair costs and down times and increase the lifetime and reliability of the products.You also need to observe the valid rules for the prevention of accidents and for environmental protection in the country and place where the device is used. page 5
1 On this manual
1.2 Symbols, Signs and Forms of Depiction
The following symbols and signs are used in this document:
Table1-1:Symbols, signs and forms of depiction
page 6 PacDrive
MFs.u_dStdnewrVe_MDP
mf
.
u
e
n
_
s
u
_
n
iM
h
r
e
h
ci
S
_
M
D
P2.1 Basics2 General Safety NotesThis chapter contains general requirements for working safely. Every person using ELAU components or working on ELAU components has to read and observe these general safety notes.If activities involve a residual risk, you will find a clear note in the respective places. The note describes the risk that may occur and preventive measures to avoid that risk.2.1 BasicsThe ELAU components are built according to the state of technology and generally accepted safety rules. Nevertheless, their use may cause a risk to life and limb or material damage if: you do not use the components as directed work on the components is not done by experts or instructed staff you inexpertly alter or modify a component you fail to test the protective measures in place after installation, commissioning or servicing you do not observe the safety notes and regulations.Only operate the components in perfect technical condition, as directed, with regard to safety and risks and observe this manual.The flawless and safe operation of the components requires appropriate transport, storage, mounting and installation as well as careful maintenance.In case of any circumstances that impair the safety and cause changes in the operating behavior, immediately put the component(s) to a stop and inform the service staff in charge.In addition to this manual, observe the prohibiting, warning and mandatory signs on the component, the connected components and in the switching cabinet the relevant laws and regulations the operating manuals of the other components the universally valid local and national rules for safety and the prevention of accidents.
PacDrive page 7
2 General Safety Notes
2.2 Depiction of Safety Notes
Risk categories
The safety notes in this manual are grouped into different risk
categories. The table below shows which risk and possible consequences the symbol (pictograph) and the signal words indicate.Table2-1:Risk categories
page 8 PacDrive
mf.uen_su_niMhrehciS_MDP
mf
.
u
e
n
_
s
u
_
n
iM
h
r
e
h
ci
S
_
M
D
P2.3 Use otherthan directed
PacDrive 2.3 Use as DirectedUse as DirectedThe ELAU components are designed for installation in a machine/plant or for combination with other components to form a machine/plant. The components may only be used under the installation and operating conditions described in this documentation. You must use the accessories and ancillary parts (components, cables, etc.) mentioned in the documentation. You must not use any foreign objects or components that are not explicitly approved by ELAU."Use as directed" also means that you observe the Operating Manuals and other documentations (see appendix), observe the instructions for inspection and maintenance.The operating conditions at the place where the device is used must be checked on the basis of the given technical data (performance information and ambient conditions) and observed. page 9
2 General Safety Notes
2.4
Working on
electrical
equipment
page 10Selection and Qualification of StaffThis manual is aimed exclusively at technically qualified staff with detailed knowledge in the field of automation technology.Only qualified staff can recognize the significance of safety notes and implement them accordingly.This manual is aimed in particular at design and application engineers in the fields of mechanical and electrical engineering, at programmers, service and commissioning engineers.Work on electrical equipment must only be done by qualified electricians or by instructed staff supervised by an electrician according to the electrotechnical rules.An electrician is a person who, due to his vocational training, know-how and experience as well as knowledge of the valid regulations, is able to: evaluate the work he is supposed to do identify potential risks implement suitable safety measures. PacDrive
mf.uen_su_niMhrehciS_MDP
MF
s.
u
_
3
_
4
S
AP
E
a
M
p
O
_
M
D
POverview3 Overview3.1 What is EPAS-4?EPAS-4 is a complete development environment for the PacDrive system.EPAS-4 puts a simple approach to the powerful IEC language at the disposal of the PLC programmer. Use of the editors and debugging functions is based upon the proven development program environments of advanced programming languages (such as Visual C++).The PacControl CD contains the documentation for the PacDrive system in Portable Document Format (*.PDF). The document can be read and printed with the enclosed Acrobat Reader program.3.2 EPAS-4 componentsThe following table gives you an overview of the components of the EPAS-4 professional version. ComponentsExplanationMessage LoggerTrace RecorderEditors forstructured text (ST)function plan (FBD)instruction list (IL)ladder diagram (LD)sequential function chart (SFC)Continuous Function Chart (CFC)Visualizationcommissioning visualizationConfiguratorsPROFIBUS-DP master and slaveCANopen master and slaveIEC libraries- Standard.libstandard IEC library with elementary functions (e.g. counter, string functions, timer, etc.)
PacDrive EPAS-4 page 11
Overview
ComponentsExplanation
- MAx-4.libinterface library for
- AxisBuf functions
- COM IEC functions
- control functions
- diagnosis- encoder manipulations- file services- IEC task- message logger- overload functions- standard VarioCam® motion functions- system functions- measuring functions (touchprobe)- Check.libinterface library for checking ARRAYs, divide by zero, string functions (debugging functions)- Basic.libIEC library with motion functions. It is based on the functions of MAx-4.lib auf.- IECsfc.libuse of IEC interfaces with SFC for V00.06.00 or higher
- CSpline.libinterface library for VarioCam® CSpline function to convert
supporting point data into cam data online.
- TorqueCam.libinterface library for torque cams.
- CANL2.libinterface library for CAN layer 2
- CANopen_M.libinterface library for CANopen master
- CANopen_S.libinterface library for CANopen slave
- PBDP_M.libinterface library for PROFIBUS-DP master
- PBDP_S.libinterface library for PROFIBUS-DP slave
- DNet_S.libinterface library for Device Net slave (in
preparation)
- HMI_pcs.libinterface library for connection to Lauer PCS
- HMI_Simatic.libinterface library for connection to Simatic
- ModBus.libinterface library for connection to ModBus
- TSC.libinterface library for connection to ModBus (see also
Operating Manual HMI Libraries)
- remote diagnosismodem connection EPAS-4 <-> MAx-4
Table3-1:Overview of components for EPAS-4page 12 EPAS-4PacDrive
MFs.u_30_4SAPEaMpO_MDP
MF
s.
u
_
3
_
4
S
AP
E
a
M
p
O
_
M
D
POverviewOrder numberProduct nameExplanation20 63 00 31 -001EPAS-4 professionalcompany licence20 63 00 31 - 003EPAS-4 upgrade basic to company licenceprofessional20 63 00 31 - 004EPAS-4 upgrade professional to new company licenceversion20 63 00 31 - 005EPAS-4 professional for end usersingle licenceTable3-2:EPAS-4 order numbers and variants3.3 Overview of EPAS-4 functionality3.3.1 How is a project structured?EPAS-4 differentiates between the different kinds of objects in a project: POUs, data types, display elements (visualisations) and resources.The Object Organiser contains a list of all the objects in your project.3.3.2 How do I set up my project?First you should configure your PLC in order to check the accuracy of the addresses used in the project.Then you can create the POUs needed to solve your problem.Now you can program the POUs you need in the desired languages.Once the programming is complete, you can compile the project and remove errors if there should be any.3.3.3 How can I test my project?Once all errors have been removed, log in to the PLC and "load" your project in the PLC. Now EPAS-4 is in Online mode.Now open the window with your PLC Configuration and test your project for correct sequence. To do this, enter input variables manually and observe whether outputs are as expected. You can also observe the value sequence of the local variables in the POUs. In the Watch and Receipt Manager you can configure data records whose values you wish to examine.PacDrive EPAS-4 page 13
Overview
3.3.4 Debugging with EPAS-4
In case of a programming error you can set breakpoints. If the
process stops at such a breakpoint, you can examine the values of all project variables at this point in time. By working through
sequentially (single step) you can check the logical correctness of your program.3.3.5 Additional online functionsAn additional EPAS-4 debugging function: You can set program variables and inputs and outputs at certain values. You can use the flow control to check which program lines have been run. The Sampling Trace allows you to trace and display the actual course of variables over an extended period of time. 3.3.6 ConclusionEPAS-4 is a complete development tool used to program your PLC which will save you a measurable amount of time setting up your
applications.
page 14 EPAS-4PacDrive
MFs.u_30_4SAPEaMpO_MDP
MF
s.
u
_
4
_
4
S
AP
E
a
M
p
O
_
M
D
PInstallation of EPAS-44 Installation of EPAS-44.1 System requirementsBefore installing EPAS-4, please check if your system meets the following minimum requirements.minimum requirements Windows 98, Windows NT 4.0 (Service Pack 5 or higher recom-mended) or Windows 2000/XP Prof. Pentium 200 MMX or higher 64 MB RAM free serial interface or TCP/IP network connection (10 Mbps) free hard disk memory > 100 MB colour screen with a resolution of 800x600 pixel CD-ROM driverecommended configuration Windows 2000/XP Prof. or Windows NT 4.0 (Service Pack 5 or higher recommended) Pentium II 350 or higher 128 MB RAM free serial interface and TCP / IP network connection (10 Mbps) free hard disk memory > 500 MB colour screen with a resolution of 1024x768 pixels CD-ROM drive4.2 Installation procedure4.2.1 MethodNOTESwitch off the energy saving mode of your PC. Otherwise communi-cation errors may occur between EPAS-4 and MAx-4 PacController.How to install EPAS-4: Insert the PacControl CD into the CD-ROM drive of your PC.9The PacControl CD menu will be startet automatically.
Click on the button "Software".
PacDrive EPAS-4 page 15
Installation of EPAS-4
9The installation starts with the dialog window "Choose Setup
Language".
Follow the instructions of the installation program.
NOTETo install EPAS-4 on a PC with Windows NT / Windows 2000/XP operating system, you need administrator rights. If necessary, con-tact your system administrator.You can also proceed as follows: Select “Run...“ from the start menu. In the dialog window "Run" enter the following line:d:\setup.exe(if d: is your CD-ROM drive)9The installation starts with the dialog window "Choose Setup Language".
Follow the instructions of the installation program.
4.3 Starting EPAS-4
Double-click with the left mouse button on the EPAS-4 icon on your desktop.
NOTE
Please check whether the following settings exist in "Project->Opti-ons->Directories" under the field name "Common" and adjust them, if necessary:
Libraries:C:\Program Files\ELAU\EPAS-4\V14\Library\
Compilation files:C:\Program Files\ELAU\EPAS-4\V14\Obj\
4.4 Language settings in Windows NT
NOTE
If you want to change the language in Versions earlier then V14, a project must be opened.Dialog boxes provided by the functions of the operating system will
remain in the Language of the operating system.
page 16 EPAS-4PacDrive
MFs.u_40_4SAPEaMpO_MDP
下一篇:波纹管传热与污垢特性的实验研究