Manual De Programación Plc Moeller

Páginas: 30 (7363 palabras) Publicado: 29 de mayo de 2012
PS40_LINK V3.20
Direct communication
between PC and PLC
32 bit DLL for PS40_LINK communication between Moeller
PS4/PS416 PLCs and PCs running Windows 95/98/NT

Release date: 16 Jan 2001

PS40_LINK: PLC – PC communication

Page 2 of 24

Table of contents

Introduction ................................................................................. 3
Functionoverview....................................................................... 4
Quick start ................................................................................... 4
Reference of the PS40_LINK functions ..................................... 8
getSucomVersion ......................................................................................8
getVersion.................................................................................................8
writeDataToPLC ........................................................................................9
readDataFromPLC ..................................................................................10
writeDataToPLCex ..................................................................................11readDataFromPLCex...............................................................................12
setPLCType.............................................................................................14
openComDevice ......................................................................................15
closeComDevice......................................................................................15
setSucomOptions....................................................................................16

Specify connection parameter ................................................. 19
Technical data ........................................................................... 22
Data sheet .................................................................................. 23
Error codes................................................................................ 24

PS40_LINK: PLC – PC communication

Page 3 of 24

Introduction
Most industrial applications that are controlled by PLCs require some user interaction in order
to collect data, change parameters or to simply operate a machine. In many cases this task
can be solved by connecting HMI devices, like the MV4 series from Moeller, to thePLC.
Sometimes this is too expensive or not flexible enough.
On the other hand, user interaction can be realized comfortably with PCs which are
connected to the PLC. A lot of dedicated visualization software packages are available on the
market. The drawback is that these packages are mostly very expensive and sometimes still
not flexible enough.
The new PS40_LINK DLL opens up a new andinexpensive alternative. By using
PS40_LINK, standard PC software like Visual Basic, Visual C, Delphi or even MS-EXCEL
can be used to create user interfaces for the PLC user interaction or for the visualization of
PLC data.

PS40_LINK is a bundle of functions which can be called from e.g. Visual Basic. Each
function has a set of call-parameters and return-parameters. These parameters and thefunctions are explained in this documentation.
For installation of PS40_LINK copy the DLL file “sucoma32.dll” in the folder containing your
application or in the Windows system folder. Use the appropriate function declarations in your
application or Visual Basic program just by using “cut-and-paste” from the file
“PS40_LINK_API.txt” which contains all function declarations, error codes and otheruseful
constants.

The new features for Version 3.0 are:
- Up to 490% faster when compared to V2.x (see chapter “Technical data” for more details)
- Selectable baudrate parameter for PS4-341-MM1 and PS416 PLC (See reference of
openComDevice on page 14.
- Platform for further companion products (like modem connections)
- Brief discussion of performance parameters

The new features for...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Manual programacion plc festo 202
  • Manual de programacion PLC S71200
  • Manual de programación plc
  • Manual Programación Plc
  • programacion plc
  • Programación De Plc
  • Programacion De Un Plc
  • Programación A Los Plc

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS