Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 2

Siemens S7-200 Freeport

File:
Manufacturer:
Equipment:
Release:

Freeport32.DLL
Siemens
S7-200 series (Freeport)
20-May-2002

This driver allows the communication between Elipse SCADA and Siemens S7-200 PLCS. This
version supports modem and string variables.
PLC Configuration:
This driver uses some special routines in the PLC program to establish the communication
protocol. The PLC program uses the following files:
Microwin until version 2.x (comunic_v2.zip):
elipse.cfg
elipse.cht
elipse.cmt
elipse.ob1
elipse.obc
elipse.prj
elipse.sym
Microwin versions 3.x or higher (comunic_v3.zip):
Comunica.mwp
To open these projects (elipse.prj or comunica.mwp) you must use STEP-7 MICROWIN software.
Explanation:
1. Set a path for your project;
2. The main program (all commands before END) must be in the beginning of your program
(before all user-programs);
3. All routines after END command must be at the end of your program (after all user-programs).
4. The baud rate is set internally to 9600 bps. Dont forget to set the 232/485 converter to 9600
bps;
5. The Stop/Run/Term key on the PLC must be set to RUN in order to communicate using
Freeport protocol.
OBS: Do not use VW0 (VB0, VB1) and Timer 37 as they are used internally. Do not use
addresses in the range from VW300 to VW600.
After the PLC configuration, you must set the Driver's parameters.
Elipse SCADA Parameters
Driver (p) Communication Parameters:
P1 - Port (1=COM1 and 2=COM2)
P2 - Baud rate (0=default 9600; other values: any value supported, up to 57600 bps)*
P3 - Not Used (0)
P4 - Time-Out in milliseconds (1000)
* You will need to change the PLC program to use any value different from 9600 bps.

PLC Tag (n) Address Parameters:


N1 - Data Type (0=VW, 1=IW, 2=QW)
N2 - Initial Address
N3 - Variable type (0=word, 1=string, 2=double-word, 3= double-word-2*)
N4 - If string, size of string in bytes (maximum is 509 bytes)
* The difference between the double-word and the double-word-2 is the order of the bytes and
words in the read/write telegram. While in the double-word the order is the default LL, LH, HL,
HH, in the double-word-2 the order is HL, HH, LL, LH.
Modem access functions, N1 = -1
N2 = 0 - (Read/Write) Phone number to dial (Text)
N2 = 1 - (Write Only)
Dial command (no value)
N2 = 2 - (Read Only)
Modem Status (Text)
N2 = 3 - (Read Only)
Carrier Detected (numeric, 0 = False, 1 = True)
N2 = 4 - (Write Only)
Hang-up command (no value)
N2 = 5 - (Read Only)
Baud Rate (numeric)
Block Tag (b) Address Parameters:
B1 - Data Type (0=VW, 1=IW, 2=QW)
B2 - Initial Address
B3 - Variable type (0=word, 2=double-word)
B4 - Not Used (0)
Examples:
1) VW30: N1=0, N2=30
2) IW0: N1=1, N2=0
3) QW0: N1=2, N2=0

You might also like