12.07.2015 Views

PLCHandler Programming Guide - Esco Drives & Automation

PLCHandler Programming Guide - Esco Drives & Automation

PLCHandler Programming Guide - Esco Drives & Automation

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PLCHandler</strong> <strong>Programming</strong> <strong>Guide</strong>Appendix A: Structure of the Ini-File for the Configuration[Server]PLCs=2PLC0=PLCWinNTPLC1=RTE<strong>PLCHandler</strong>-SectionNumber of configured <strong>PLCHandler</strong>s (for severalinstances/connections)Name of the first PLC; here e.g. PLCWinNTName of the second PLC; here e.g. RTE[PLC:PLCWinNT]interfacetype=ARTIlogevents=1active=1motorola=0nologin=0timeout=10000precheckidentity=0tries=3waittime=20reconnecttime=20buffersize=0max4version=0This section is assigned to a particular <strong>PLCHandler</strong>instance. The assignment is done by specifying theindex in the constructor of the <strong>PLCHandler</strong> object. Thisindex corresponds to the index in the above defined listof instances (PLC=…).Interface type: ARTI, SIMULATION, GATEWAY (gateway onlyunder WinNT/2000/XP)Activating/Deactivating the output of events in a log file(OPCServer.log). The file is in the same directory as theOPC-Server.Flag, defines whether the PLC is active (Establishingconnection) or notFlag, defines whether the data must be swapped (MotorolaByte order is used on the PLC) or notFlag, defines whether the <strong>PLCHandler</strong> should not log in onthe PLC; some runtime systems only allow a log-in of oneapplication !Special: ELAU, ABB -> nologin = 1Time in ms, defines how long the answer on a data packagefrom the PLC might take, before an error will be dumped.Flag, defines whether the symbol file should be checked forup-to-dateness by a separate runtime system service beforeeach reading/writing of variables.Regard: On runtime systems >= 2.3 at each write-/readservice it will be checked automatically, whether the symbolfile still are up to date. For this reason on those runtimesystems this entry can be 0.Number of communication trials in case the receiving of datafails.Total time in seconds in <strong>PLCHandler</strong>::Connect() for theconnection establishment. As soon as the time is exceeded,the routine returns with an error.Time slice in seconds according to which a reconnect is triedby Reconnect-Thread().Size of the communication buffer; must match with the usedruntime system. 0 = Default value for the currently usedcommunication protocol.Special: ELAU -> buffersize = 1500Please use only together with a ELAU-Max4 controller and inthis case set to the corresponding hardware version (1100,1200); with all other controllers this entry is not applicable! 3S - Smart Software Solutions GmbH<strong>PLCHandler</strong> Programmming <strong>Guide</strong>.doc Page 11 of 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!