Professional Documents
Culture Documents
NOTES
System Identification Definition Job Configuration VMD-Specific Named Variable Definition PLC Program Considerations
German/English Terms
Wherever possible, this document uses both the German and English term to describe a particular function. In all configuration screens, the COM 143 software provides a Save and Exit function key and a Quit, Goto Previous Menu function: German FERTIG ZURUECK English Save and Exit Quit, Goto Previous Menu Key usually F7 usually F8
System Identification
System Identification
The first step in configuring the CP 143 card is to define the Ethernet address for this station. The COM 143 SYSID Screen (System Identification) allows the programmer to define the interface type and Ethernet address. The screen fields are described below: SYSTEM IDENTIFICATION German CP-TYP English CP Type Comments This field is the Communications Processor Type and should be set to CP143. Hardware version of the card. This field is optional. Optional password field. Optional date field. This field should be set to zero (0). This field should be set to RAM or EPROM depending on which module is installed in the CP 143.
VERSION
Version
MODULLAENGE
Size of the installed expansion If a 32K RAM cartridge is installed, the module field should display 32K.
CP-TYP PASSWORT
: CP143 : 0
VERSION: DATUM :
BASIS-SSNR: MODULART
: EPROM
MODULLAENGE: :080006010060 H
ETHERNETADRESSE
F1
F2 INIT
F3
F4
F5
F6
F7 FERTIG
F8 ZURUECK
Job Configuration
Job Configuration
The CP 143 card can be configured to support multiple connections using several jobs (or verb in German). These are defined using the VERB screen from the COM 143 communications package. For a VXL system to communicate with a Siemens 143 Ethernet Card, a job must be defined to accept connections for the specific VAX Ethernet address and Transport Service Access Points (TSAPs). This job validates Transport information and MMS requests for the PLC. The job needs to define the following information: JOB CONFIGURATION German SSNR English Dual-port RAM interface number Comments All requests for this job will use this number to communicate with PLCs. This value is specific to the current PLC configuration. This value is also specific to the current PLC configuration. ANZW requires three words for the status, length, and error code that are updated when connections are made or concluded. This value is specific to the current PLC configuration. This is the length of the TSAP for this job. VXL requires that this value be set to 6. This is the name of this job for the Transport Layer. VXL requires that this value be set to SERVER. This name must be upper case and must be exactly six characters long.
ANR
Job number
ANZW
MUX-ADRESSE
Mux address
LOKALER AP-TITEL
Local AP-Title
Remote address
Job Configuration
An example configuration screen is shown in Figure 2 on page 7.
SIMATIC
S5/COM143 VERBINDUNG ________________________________________________________________________________ SSR: LAENGE: 0 6 ANR: 1 ANZW: MW 100<D> HEXA: 53 45 52 56 45 52<D> ASC: SERVER : P7 MUX-ADRESSE: 0
LOKALER TSAP:
LAENGE:
F1 +1
F2 -1
F3 EINGABE
F4 DEF LOKAL
F5 DEF REMOTE
F6 LOESCHEN
F7 FERTIG
F8 ZURUECK
TYP
Type Data Type Signed Byte Unsigned Byte Signed Word Unsigned Word Signed Longword Unsigned Longword 32 bit Floating Point Bit String 16 Arrays of Signed Words
Variable Type IN 8 UN 8 IN 16 UN 16 IN 32 UN 32 FP 32 BS 16 AR [2 .. 256] IN 16 Arrays of Unsigned Words AR [2 .. 256] UN 16 Arrays of Signed Longwords AR [2 .. 128] IN 32 Arrays of Unsigned Longwords AR [2 .. 128] UN 32 Arrays of Floats AR [2 .. 128] FP 32 Arrays of Bit String 16 AR [2 .. 128] BS 16 NULL Terminated Strings VS [2 .. 40] ZGRF MMS object write-protect flag This enables write protection for an MMS object. This is the SIMATIC data block address that the MMS object name will map to.
SSNR
To illustrate, lets say that a block named EXT_BLOCK_1 in the Define Blocks Editor is defined as an array of 256 words. Here is the corresponding VMD definition: NAME EXT_BLOCK_1 TYP AR 256 IN 16 ZGRF S5-ADRESSE DB 10 100 ANZW MW 50 SSNR 0
F1 SEITE +1
F2 SEITE -1
F3 ZEILE +1
F4 ZEILE -1
F7 WEITER
F8 ZURUECK
10
NOTES
11
Notice
All procedures, data, information, drawings, specifications or other material, whether accompanying this document or separately supplied in furtherance of this document, contain confidential and proprietary information which (i) is the property of Control Systems International, Inc. (CSI), (ii) is disclosed by CSI only in confidence, and (iii) except as CSI may otherwise permit in writing, is to be used, disclosed or copied only to the extent necessary for the evaluation and use thereof by the recipient. The foregoing shall not apply to any such material to the extent that the contents (i) are now or subsequently become available to the public without payment, (ii) were previously known to the recipient, or (iii) subsequently become otherwise known to the recipient without restriction. This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information contained herein does not purport to cover all details or variations in hardware and software, nor to provide for every possible contingency in connection with installation, operation and maintenance. The information contained in this document is subject to change, without notice, at any time and should not be used as a specification for VXL nor for any particular VXL project. CSI makes no representation or warranty, either expressed or implied, with respect to, and assumes no responsibility for, the accuracy, completeness, or sufficiency of the information contained herein. No warranties of merchantability or fitness for a particular purpose shall apply. VXL, FUEL-FACS, UCOS and the CSI logo are registered marks of Control Systems International, Inc. Control Systems International and CSI are trademarks of Control Systems International, Inc. UCOS Patent Pending. All other product and company names/logos mentioned in this document are trademarks and/or registered trademarks of their respective holders. Copyright Control Systems International, Inc. 1996. All Rights Reserved. 4210 Shawnee Mission Parkway, Suite 200A, Fairway, Kansas 66205 Telephone: (913) 432-4442 Facsimile: (913) 432-0392 CSI Document No. 866010-08051996-HS/MJK-31A-1 for VXL Version 4.7
12