background image

CP143 H1 / TCP/IP manual

Index

Rev. 00/0

F-1

F Index

1

12V supply................................................................ 4-4

A

Abort Timeout ........................................................ 5-44
ANR........................................................................ 5-32
ANZW .................................................................... 4-22
Anzw Dump ............................................................ 5-34
Application layer ...................................................... 2-5
AUI/BNC changeover............................................... 4-4
AUI-connector .......................................................... 3-8
AUI-socket................................................................ 4-7

B

base connector .......................................................... 4-8
Base file .................................................................... 5-6

delete.................................................................... 5-6
load ...................................................................... 5-6
save ...................................................................... 5-6

Basic file

transferring........................................................... 5-8

block size ....................................................... 4-13; 4-17
BNC-connectors ....................................................... 3-3
BNC-terminator ........................................................ 3-3
BNC-T-pieces........................................................... 3-3
Broadcast ....................................................... 5-50; 5-63

C

Closing. Abort Time ............................................... 5-45
Combination thin/thick ethernet cable .................... 3-14
Combining thin/thick ethernet cable in networks.... 3-14
Communication protocols......................................... 2-1
Components of the module ....................................... 4-2
Configuration

unspecified ......................................................... 5-61

Configuration program ............................................. 5-1
Connection name .................................................... 5-32
Connection parameter file.......................................... 5-6
Connections ............................................................ 5-25

Clear all.............................................................. 5-32
H1 Datagram...................................................... 5-49
H1 overview....................................................... 5-46
H1 Transport...................................................... 5-47
Structure of configuration window..................... 5-25
TCP .................................................................... 5-57
TCP/IP Overview............................................... 5-56
UDP ................................................................... 5-62

Control field for configuration................................ 5-26
Controls and indicators ............................................. 4-2
CP143 H1 / TCP/IP

construction.......................................................... 4-1

CP143 TCP/IP

firmware CP ....................................................... 4-14
System properties............................................... 4-16

CP143plus

firmware CP ....................................................... 4-10

System properties ............................................... 4-12

D

Data base file ............................................................. 5-6
data link layer............................................................ 2-4
Determining the IP address ..................................... 4-17

E

EPROM socket ......................................................... 4-9
Error indicator......................................................... 4-22
Ethernet address ...................................................... 5-48
Ethernet network-terminology .................................. 3-1
Example .................................................................. 6-11

H1 configuration ................................................ 6-21
Jobs for the PLCs ............................................... 6-13
Monitoring the transfer....................................... 6-31
PLC programs .................................................... 6-14
problem definition .............................................. 6-12
System requirements .......................................... 6-11
system structure.................................................. 6-12
TCP/IP configuration ......................................... 6-26

F

Flow Control Window Timeout .............................. 5-45
Frame base address .............................. 5-14; 5-43; 5-54
Frame offset ............................................................ 5-29
Front panel ................................................................ 4-2

G

Guidelines ................................................................. 3-7

H

H1

CP initialization.................................................. 5-42
Transport parameters.......................................... 5-44
Transport-connection ......................................... 5-47

Help .......................................................................... 5-5
Hub ......................................................................... 3-16

I

Ident ........................................................................ 5-33
Inactivity Max. Count ............................................. 5-45
Indicator word................................................4-22; 5-28
Indicator word conditions ....................................... 4-28
indirect addressing .................................................. 5-27
Industrial Ethernet H1

structure................................................................ 2-1

Industrial Ethernet H1............................................... 2-1

LAN ..................................................................... 2-1
Operation.............................................................. 2-2

Initialization ............................................................ 5-13

CP in general ...................................................... 5-13
CP under H1....................................................... 5-42
CP under TCP/IP................................................ 5-53
H1 transport parameters ..................................... 5-44
TCP/IP-Transport parameters ............................ 5-55

Installation configuration program............................ 5-2

Содержание CP143 TCP/IP

Страница 1: ...Subject to change to cater for technical progress Manual CP143 H1 TCP IP for H1 and TCP IP Order No VIPA SSN HB89E Rev 00 07 ...

Страница 2: ...Lerrzeichen ...

Страница 3: ...matisierung mbH Ohmstraße 4 D 91074 Herzogenaurach Phone 49 9132 744 0 Fax 49 9132 744 144 EMail info vipa de http www vipa de Hotline 49 9132 744 114 All rights reserved VIPA is a registered trade mark of VIPA company for visualization and process automation Ltd SIMATIC is a registered trade mark of Siemens AG STEP 5 is a registered trade mark of Siemens AG WINDOWS is a registered trade mark of M...

Страница 4: ...e H1 and the TCP IP communication protocols Here you may find details on the structure and the operation of these protocols The chapter also refers to the ISO OSI level model and depicts the relationship to TCP IP Chapter 3 Planning a network This chapter contains an overview of the different ethernet network cabling types the respective hardware and guidelines as well as an explanation of the var...

Страница 5: ... 2 3 2 2 2 TCP IP principle of operation 2 7 2 2 3 TCP IP services 2 7 3 NETWORK PLANNING 3 1 3 1 Ethernet network terminology 3 1 3 2 Thin ethernet cable networks 3 3 3 2 1 Thin ethernet cable network layout 3 5 3 2 2 Regulations and specifications 3 6 3 2 3 Technical data thin ethernet 3 7 3 3 Thick ethernet cable networks 3 8 3 3 1 Thick ethernet cable network layout 3 10 3 3 2 Regulations and ...

Страница 6: ...rs 4 22 5 SOFTWARE 5 1 5 1 General 5 1 5 2 Installing and starting the program 5 2 5 3 Overview of available functions 5 3 5 4 Using on line help 5 5 5 5 The base file 5 6 5 5 1 Loading saving and deleting the base file 5 6 5 5 2 Printing the base file 5 7 5 5 3 Transferring the base file 5 8 5 6 Initialization 5 13 5 6 1 CP init 5 13 5 6 2 Online 5 15 5 6 3 System configuration 5 16 5 7 Real time...

Страница 7: ...ctions 5 65 5 11 4 OnNet Kernel for TCP IP of ftp 5 66 5 11 5 Microsoft kernel for TCP IP under WINDOWS 95 NT 5 69 5 11 6 Test program for TCP IP Connections 5 70 5 11 7 Accessing the PLC from the PC 5 77 6 COMMISSIONING 6 1 6 1 Plug in slots in the PLC 6 1 6 1 1 Plug in slots in the AG 115U 6 1 6 1 2 Plug in slots in the AG 135U 6 2 6 1 3 Plug in slots in the AG 150U 6 3 6 1 4 Plug in slots in th...

Страница 8: ... CP143 H1 TCP IP manual i 4 Rev 00 07 Appendix A 1 A Technical data A 1 B Error messages from the NCS configuration program B 1 C List of abbreviations C 1 D List of figures D 1 E List of tables E 1 F Index F 1 ...

Страница 9: ... for the user 1 1 1 1 1 Handling electrostatically sensitive modules 1 1 1 1 2 Shipping electrostatically sensitive modules 1 2 1 1 3 Tests and modifications to electrostatic sensitive modules 1 2 1 2 General 1 3 1 3 Operation 1 4 1 4 Construction 1 4 ...

Страница 10: ...Lerrzeichen ...

Страница 11: ...tages that lie far below the threshold of human perception It is possible that damaging voltages may occur if a person who has not been discharged handles a module that is electrostatically sensitive The resulting damages to the components will seriously impair the operation of the module or render it unusable Modules that have been damaged in this way are rarely recognized immediately In many cas...

Страница 12: ...onductive packaging does not come into contact with or short out the battery 1 1 3 Tests and modifications to electrostatic sensitive modules Please not the following when testing modules that are sensitive to electrostatic discharge Any floating instrumentation must be discharged for a short period Any test instruments must be grounded Please use a grounded soldering iron when you implement modif...

Страница 13: ...NDOWS NT and OS 2 VIPA offers the following packages CP143plus CP143 module with H1 protocol Order No VIPA SSN BG81A CP143 TCP IP CP143 module with TCP IP protocol Order No VIPA SSN BG89A Both are delivered with the same configuration software and the same manual The specific requirements are covered by a single hardware platform which differs only in the contents of the firmware The following pas...

Страница 14: ...odules are required for interfacing with the VIPA CP143 H1 TCP IP SEND ALL RECEIVE ALL SYNCHRON SEND DIREKT RECEIVE DIREKT FETCH These function modules can be used to transfer DB DX modules with a maximum length of 4096 DW These function modules can be configured directly or indirectly Special features The CP143 H1 TCP IP communication processor is supplied complete with a 12V power supply for the...

Страница 15: ...2 1 2 1 1 Structure of Industrial Ethernet H1 2 1 2 1 2 Operation 2 2 2 1 3 Structure and operation of the PLC interface 2 2 2 2 TCP IP protocol 2 3 2 2 1 ISO OSI level model 2 3 2 2 2 TCP IP principle of operation 2 7 2 2 3 TCP IP services 2 7 ...

Страница 16: ...Lerrzeichen ...

Страница 17: ...minal devices PLCs computers and its length may be up to 500 m Individual segments may be linked by means of repeaters A maximum of 2 repeaters may be placed between any two terminal devices Repeaters may also be used to construct so called remote repeater configurations This combination requires two repeaters and two additional Industrial Ethernet H1 transceivers The LAN cable may either be the t...

Страница 18: ...programmers PG 685 PG 730 PG 750 and PG 770 may be connected directly to the Industrial Ethernet H1 by means of a transceiver You may then remotely modify the program of any PLC that is connected to the LAN The 923C co ordinator or the programming multiplexer can also be used to program a number of modules via a single connection The user services of LEVEL 4 4a handler modules or libraries for PC ...

Страница 19: ... computers the TCP IP protocol has been implemented on IBM systems as well and also to special purpose computers like vector processors and parallel processors It is for this reason that TCP IP is often used when heterogeneous systems must be linked Using TCP IP it has become possible to implement comprehensive open networks linking different departments within an organization The following tasks ...

Страница 20: ...g reception This is achieved by inserting a special bit pattern at the start and at the end of a frame In many instances a flow control and error detection mechanism is integrated into the data link layer Level 3 Network layer The network layer is concerned with the selection of the packet path between the source and the destination other networks as well Paths may be hard wired in the network The...

Страница 21: ...ctions that are used very often and therefore justify a general procedure This level is also responsible for the syntax and semantics of the transferred data One example of the services provided by the presentation layer is the co ordination of data in a standard and pre arranged manner The presentation layer converts the different data structures and codes supplied by the various computers into a...

Страница 22: ... to divide data packets according to the respective network conventions and to reassemble them and to transfer information about the sequence of packets and their security characteristics Transmission Control Protocol TCP The transmission control protocol TCP is intended to provide a reliable transport end to end connection between two different systems For this reason TCP may be compared to level...

Страница 23: ...ta frames A number is assigned to every packet so that received packets may be acknowledged and to allow for reassembly of the original data TCP as well as IP have their own envelope where they store the required numbers so that these sequence numbers can be transferred via the network A packet of data is inserted into a TCP envelope This is then inserted into an IP envelope and transmitted via th...

Страница 24: ...TCP IP protocol CP143 H1 TCP IP manual 2 8 Rev 00 07 ...

Страница 25: ... 8 3 3 1 Thick ethernet cable network layout 3 10 3 3 2 Regulations and specifications 3 11 3 3 3 Technical data thick ethernet 3 13 3 4 Combining thin thick ethernet cable in networks 3 14 3 4 1 Combination of thin thick ethernet cable hardware 3 14 3 4 2 Thin thick ethernet cable combination network layout 3 15 3 5 Twisted Pair 3 16 3 5 1 Twisted pair cable network layout 3 16 3 6 Planning a net...

Страница 26: ...LerrzeicLerrzeichenhen ...

Страница 27: ...segment and the number of stations that may be connected to it is limited It is possible to extend a network segment by linking multiple segments via repeaters A repeater increases the physical topology of a network The repeater requires two transceivers to link two different segments to each other In this case the repeater is transparent to the network and combines the two segments into a single ...

Страница 28: ...ch is much like a pipe The cable has markings at a distance of 2 5 m which indicate the positions where a connection to the cable may be attached These two types of network cable can be employed to produce in three different versions of ethernet network 1 a network using only thin ethernet cable 2 a network consisting only of thick ethernet cable and 3 a combination of these two Under certain cond...

Страница 29: ... to interconnect two thin ethernet network cables Where two portions of a thin ethernet network must be linked these connectors have a distinct advantage over T pieces You may obtain these BNC connectors from VIPA GmbH BNC T pieces The two sockets located at opposite ends of the T piece provide the connection to the BNC connectors on the thin ethernet cable The third connector on the T piece is co...

Страница 30: ...Thin ethernet cable networks CP143 H1 TCP IP manual 3 4 Rev 00 07 Fig 3 2 Thin ethernet network hardware CP 143 H1 TCP IP ...

Страница 31: ...summary Restrictions Maximum number of network segments 5 3 coaxial segments with network stations and 2 interconnecting segments without network stations Maximum length of a network segment 185 m Maximum total length of the network cable 925 m Maximum number of network stations on a segment 30 every repeater is counted as a station Minimum distance between two BNC T pieces 0 5 m Fig 3 3 Example f...

Страница 32: ...al cable as every connector introduces losses When it becomes necessary to extend existing segments of coaxial cable you should always use preconfigured cables Please note that the maximum length of a segment may not exceed 185 m The screen of the coaxial cable may only be grounded at a single point on the entire cable This point must posses a defined low impedance All other connectors and termina...

Страница 33: ...he cable are determined These should never exceed 7 of the injected amplitude of the original signal The reflection coefficient can be checked by means of a reflectometer The overall loop resistance of a coaxial cable segment together with all its plugs and connectors may not exceed a maximum of 4Ω The minimum radius of any bend in the cable may not be less than 5 cm When multiple bending is antic...

Страница 34: ...ug is connected to the network adapter located in a station The AUI socket is connected to the external transceiver Thick ethernet cable The thick ethernet cable consists of a 50 Ohm coaxial cable with a diameter of 0 4 inch 10 16 mm Different lengths of this cable are available complete with standard 0 4 inch N type plugs at each end The cable may be obtained from any reputable cabling supplier N...

Страница 35: ...CP143 H1 TCP IP manual Network planning Rev 00 07 3 9 Fig 3 4 thick ethernet network hardware CP 143 H1 TCP IP ...

Страница 36: ...ictions Maximum number of network segments 5 3 coaxial segments with network stations and 2 interconnecting segments without network stations Maximum length of a network segment 500 m Maximum total length of the network cable 2 500 m Maximum number of network stations on a segment 100 every repeater is counted as a station Minimum distance between two transceivers 2 5 m Maximum length for a transc...

Страница 37: ...f any part may thus be calculated as follows TSL 2n 1 23 4 m N 0 1 2 3 Wherever possible the network should consist of a homogeneous segments of coaxial cable as every connector introduces losses When it becomes necessary to extend existing segments of coaxial cable you should always use standard portions of the cable Please note that the maximum length of a segment may not exceed 500 m The screen...

Страница 38: ... frequencies between 10 kHz and 30 MHz and 5 V m at frequencies between 30 MHz and 1 GHz Once a coaxial cable segment and all its components have been installed it is essential that the worst case reflections on the cable are determined These should never exceed 7 of the injected amplitude of the original signal The reflection coefficient can be checked by means of a reflectometer The overall loop...

Страница 39: ...opper Thickness of the dielectric 1 99 mm Thickness of the screen 1 06 mm 0 089 mm Screening effectiveness 92 Thickness of the outer insulator 1 25 mm 0 089 mm Outside diameter for polyvinylchloride PVC 10 287 mm 0 178 mm Outside diameter for fluorpolymer 9 525 mm 0 178 mm Transceiver cable Maximum operating voltage 30 V Maximum current capacity 2 8 A Capacity of a single pair of lines 55 pF m Imp...

Страница 40: ...thick ethernet cable via a repeater It is possible to combine a maximum of five unlike network segments using four repeaters in this manner It is also possible to use thin and thick ethernet cables within the same network segment The structure of such a network is described below under the heading Combination thin thick ethernet cable hardware 3 4 1 Combination of thin thick ethernet cable hardwar...

Страница 41: ...0m is determined by the physical limitations of the thick ethernet cable You may use the following equation to calculate the maximum length of the thin ethernet cable in a combination network 500 3 28 m L t L length of network segment that must be implemented t maximum length of the thin ethernet cable e g you must implement a network segment of 457 m and reduce the cost of the network hardware to...

Страница 42: ... configuration The Hub is the central element that provides the facilities required to implement an ethernet network using twisted pair cable Every station is connected directly to the hub to form the ethernet network A hub operates like a repeater It may be interfaced with thin or thick ethernet cable Twisted pair cable The twisted pair cable consists of a four core cable where the cores are twis...

Страница 43: ...43 H1 TCP IP manual Network planning Rev 00 07 3 17 Twisted pair plug Twisted pair cable 1 2 3 4 5 6 Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Power supply Star coupler Hub Fig 3 9 Twisted pair network hardware ...

Страница 44: ...ions applicable to the proposed system How many network stations H1 TCP IP IPC PC transceiver possible bridges should be connected to the network What is the distance between the different stations on the network What is the expected increase in coverage and number of connections that the system must be able to handle Drawing a plan of the network Prepare a drawing of the plan of the network Ident...

Страница 45: ... interfacing of industrial communication networks MAP and of office networks TOP to Wide Area Networks WAN ECMA European Computer Manufacturers Association generates the different standards for MAP and TOP EIA Electrical Industries Association USA this committee determines standards like RS 232 V 24 and RS 511 IEC International Electrotechnical Commission This committee sets specific standards e g...

Страница 46: ...Standards and specifications CP143 H1 TCP IP manual 3 20 Rev 00 07 ...

Страница 47: ...are 4 10 4 2 1 Components 4 10 4 2 2 The structure of the CP143plus 4 11 4 2 3 Further information on the CP143plus 4 12 4 3 CP143 TCP IP firmware 4 14 4 3 1 Components 4 14 4 3 2 The structure of the CP143 TCP IP 4 15 4 3 3 Further information on the CP143 TCP IP 4 16 4 3 4 Organization format ORG format 4 18 4 3 5 Structure of the PLC header 4 20 4 3 6 Status and error indicators 4 22 ...

Страница 48: ...Lerrzeichen ...

Страница 49: ...CP143 H1 TCP IP manual The CP143 H1 TCP IP network board Rev 00 07 4 1 4 The CP143 H1 TCP IP network board 4 1 The construction of the module Fig 4 1 Construction of the CP143 H1 TCP IP ...

Страница 50: ...ted on the front panel LEDs for TX yellow indicates that data is being transmitted RX yellow indicates any data on the network RUN green The module has been synchronized i e the PLC has completed the SYNC procedure COMM yellow error occurred during the boot phase FLASH ROM is burned STOP red The module is busy initializing 15 V green 15 V supply available red under voltage Both LEDs off indicates ...

Страница 51: ...her combination could cause permanent damages to the module The configuration of this module is determined by means of jumpers You must install 5 jumpers to change from AUI to TP mode X7 is used to enable the 15V supply voltage for the transceiver The remaining jumpers on the module do not affect the configuration However they must not be altered to ensure the module operates properly ...

Страница 52: ...ult 2 3 linked The 15 pin socket is set for twisted pair operation Siemens compatible Jumpers X11 to X15 must either all face left or face right Any other combination could cause permanent damages to the module 4 1 2 2 Selection of 15V supply voltage X7 This jumper enables the 15V supply for the transceiver 1 2 linked transceiver supply voltage off 2 3 linked transceiver supply voltage on default ...

Страница 53: ...CP143 H1 TCP IP manual The CP143 H1 TCP IP network board Rev 00 07 4 5 4 1 3 Sockets and plugs 4 1 3 1 The position of sockets and plugs Fig 4 3 Front view CP143 H1 TCP IP ...

Страница 54: ...has a sliding interlock The pin assignment for this connector for both the AUI interface and the TP interface twisted pair is depicted below Pin AUI TP 1 Signal ground 2 CLSN Collision 3 TRMT Transmit TRMT Transmit 4 Signal ground 5 RCV Receive RCV Receive 6 12V return Link to 7 7 Link to 6 8 Signal ground 9 CLSN Collision 10 TRMT Transmit TRMT Transmit 11 Signal ground 12 RCV Receive RCV Receive ...

Страница 55: ...nal ground screen 2 TTY IN current output 3 4 24V 5 Ground internal ground 6 TTY OUT current input 7 TTY OUT current output 8 MEXT external ground 9 TTY IN current input 10 24V return 11 20mA current source of the transmitter 12 Ground internal ground 13 20mA current source of the receiver 14 Master signal 15 Ground internal ground Tab 4 2 Pin configuration of the PG interface 4 1 3 2 3 Pin config...

Страница 56: ...B14 ADB02 MEMW 10 ADB15 ADB03 RDY 12 nc ADB04 DBO 14 nc ADB05 DB1 16 nc ADB06 DB2 18 nc ADB07 DB3 20 nc ADB08 DB4 22 nc ADB09 DB5 24 nc ADB10 DB6 26 DSI ADB11 DB7 28 24V BASP M24V 30 nc M nc 32 Base connector X2 d b z nc M 5V 2 nc nc nc 4 nc nc nc 6 nc nc nc 8 nc nc nc 10 nc nc nc 12 nc nc nc 14 nc nc nc 16 nc nc nc 18 nc nc nc 20 TxDSN nc nc 22 nc nc nc 24 nc RxDSN nc 26 nc nc nc 28 nc nc M24V 30...

Страница 57: ...board Rev 00 07 4 9 4 1 3 2 5 EPROM socket a b c 1 VCC GND A12 2 A2 A1 A0 3 A5 A4 A3 4 A8 A7 A6 5 A11 A10 A9 6 RD A14 A13 7 D9 D8 WR 8 D12 D11 D0 9 D15 D14 D13 10 D2 D1 D0 11 D5 D4 D3 12 K1 D7 D6 13 K2 CS3 CS1 14 K3 CS4 CS2 15 K4 PSW UBAT 16 K5 GND VPP ...

Страница 58: ...nterface The interface between the PLC and the CP is provided by a dual port RAM that has been divided into four equal segments so called tiles In a multi processor PLC every CPU may communicate independently with the CP143plus by means of one of these four tiles The handler modules send request and receive request have been implemented by the use of interrupts interrupt handler and by exchanging ...

Страница 59: ...and administered for every configured connec tion Tools List processing access routines All HTB coordinator Operating system The operating system is divided into three independent units A real time kernel defines the interface for tasks and hand lers System Boot Synchronous supervision The initialization task scans the parameter sets The synchronization task checks switch settings and controls the...

Страница 60: ...ctive configuration must be checked Depending on the sequence in which the synchronous HTBs were initiated the CP may detect a synchronous request and re boot when more than one tile of a CP must be synchronized Under these conditions the CP would never be synchronized Cure switch the CP to STOP by means of the respective switch then synchronize all the required tiles Change the switch back to RUN...

Страница 61: ... Every configured interface of the CP must be synchronized by the handler module SYNCHRON when a PLC is started This applies to every type of start up of the respective PLC OB20 for a new start OB21 for a manual re start OB22 for a re start after a mains power failure block size CP block size in bytes 1 0 Default block size for a CPU This may differ depending on the type of CPU 1 16 2 32 3 64 4 12...

Страница 62: ...e interface between the PLC and the CP is provided by a dual port RAM that has been divided into four equal segments so called tiles In a multi processor PLC every CPU may communicate independently with the CP143 TCP IP by means of one of these four tiles The handler modules send request and receive request have been implemented by the use of interrupts interrupt handler and by exchanging data via...

Страница 63: ...enerated and administered for every configured connec tion Tools List processing access routines All HTB coordinator Operating system The operating system is divided into three independent units A real time kernel defines the interface for tasks and hand lers System Boot Synchronous supervision The initialization task scans the parameter sets The synchronization task checks switch settings and con...

Страница 64: ... joker size 1 0xFFFF is not permitted for the length of the ORG format the application in this case the PLC user must specify the length of the receive data exactly Tasks having a priority of 1 can only send and or receive the amount of data as defined by the synchronous HTB Tasks of this type are not blocked This results in a maximum data transfer rate of 512 bytes per task and a block size of 25...

Страница 65: ...32 bit address that must be unique within the network The address consists of 4 numbers that are separated from each other by a full stop 4 3 3 3 Broadcast The broadcast address is always 255 255 255 255 4 3 3 4 block size Every configured interface of the CP must be synchronized by the handler module SYNCHRON when a PLC is started This applies to every type of start up of the respective PLC OB20 ...

Страница 66: ...ination data from into data module in main memory source destination data from into clipboard source destination data from into process image of the inputs PAE source destination data from into process image of the outputs PAA DBNR valid range DB from where source data is read or to which destination data is written 1 255 irrelevant irrelevant irrelevant Start address Significance valid range DW N...

Страница 67: ...ength of source destination data block in words 1 128 Tab 4 8 ORG formats for PLCs ORG identifier 05h 08h PLC area AS DX QB SM ORG identifier 09h 0Ah 11h 10h Description Source destination data from into absolute addressed memory cells Source destination data from into extended data module for AG135U Source destination from in periph module in the ext peripheral area Input module for source data o...

Страница 68: ...r No 0 Acknowledgement message System identifier S 5 Header length 16d Ident OP code 01 OP code length 03 OP code 04 Acknowl block 0Fh ACK block length 03 Error No No Unused block FFh Length unused block 07 not used Request message System identifier S 5 Header length 16d Ident OP code 01 OP code length 03 OP code 05 ORG block 03 ORG block length 08 ORG identifier DBNR Start H address L Length H L ...

Страница 69: ...data length joker length can be adjusted For the use of a joker length the respective data length will be taken on The as following described header precedes with TRADA functionality a SEND command and is evaluated from the RECEIVE command length instruction of used data length instruction With the length instruction the number of the bytes of a data block is named If you synchronise with a block ...

Страница 70: ...ided by the handler modules via the ANZW indicator word information for task processing via the configuration error byte PAFE indicator for an incorrect configuration for a task 4 3 6 1 Contents and structure of the indicator word ANZW The indicator word has the following structure Fig 4 7 The structure of the indicator word ANZW ...

Страница 71: ...e task was sent to the CP Reset by the interface once a task has been completed e g acknowledgement received Check by means of handler modules a new task will only be issued when the old task has been completed by the user to check whether it is sensible to trigger a new task Bit 2 Task completed without errors Set by the interface once the respective task has been completed without errors Reset b...

Страница 72: ... in multiple blocks This blocking requires a number of PLC cycles To ensure the consistency of the data the user must check whether the respective block is currently being transferred before proceeding with changes BIT 5 Data transmission completed Set by handler module SEND after the transmission of data for the respective task has completed Reset by handler module SEND once the data transmission...

Страница 73: ... for the task was incorrect 2 The specified area does not exist in the PLC The configuration of the DB DBNR for a task was incorrect 3 The area in the PLC is too small The sum of Q ZANF and Q ZLAE exceeds the limits of the area The area limits of data modules is determined by the size of the module The limits for flags timers counters etc depend on the PLC 4 QVZ error in the PLC The source or dest...

Страница 74: ... a READ WRITE PASSIV task and can therefore not be started by the PLC F Task does not exist The task that was addressed has not been configured on the CP143 H1 TCP IP This error may occur if the SSNR A NR combination has been entered incorrectly into the handler module or when a connection module has not been entered Bits 4 to 7 of byte 2 are reserved and intended for future expansion Length word ...

Страница 75: ...or word X A X A Error indicator A signifies that the connection for the communication task has not been established Status indicator A inhibits SEND as well as RECEIVE and FETCH Indicator word X 0 X 8 The connection has been established again e g when the CP has restarted and SEND is enabled SEND communication task Indicator word X 0 X 9 The connection has been established again RECEIVE is enabled...

Страница 76: ...condition Prio 0 1 Prio 2 Prio 3 4 TCP IP condition Prio 1 Prio 2 Prio 3 after a restart 0 A 0 A 0 A 0 A 0 0 0 1 after connection has been established X 0 X 4 X 0 0 9 after a trigger X 0 X 2 X 0 X 2 X 0 X 2 Message available X 0 X 1 completed without errors X 0 4 1 X 0 4 5 X 0 4 5 completed with errors X No X8 X No X 9 X No X 9 after RESET X D X A X D X A X D X 9 Tab 4 11 Indicator word conditions...

Страница 77: ... parameters H1 condition Prio 0 1 Prio 2 Prio 3 4 TCP IP condition Prio 1 Prio 2 Prio 3 completed without errors X 0 0 4 X 0 0 4 X 0 0 4 Tab 4 13 Indicator word for SEND with an HTB identifier NN H1 condition Prio 0 1 Prio 2 Prio 3 4 TCP IP condition Prio 1 Prio 2 Prio 3 completed without errors X 0 0 4 X 0 0 5 X 0 0 5 Tab 4 14 Indicator word for RECEIVE with an HTB identifier NN ...

Страница 78: ...FE Error number 0 no error 1 incorrect ORG format 2 area does not exist 3 area too small 4 QVZ error 5 incorrect indicator word 6 no source destination parameter for SEND RECEIVE ALL 7 interface does not exist 8 interface error 9 interface overload A unused B illegal task number ANR C interface has not received an acknowledgement or it has not been released D not allocated E not allocated F not al...

Страница 79: ...ting the clock from the PLC 5 21 5 7 8 Test functions for the clock 5 23 5 8 Configuration of connections 5 25 5 8 1 Structure of the configuration windows 5 25 5 8 2 The control field of the configuration window 5 26 5 8 3 Indirect addressing 5 27 5 8 4 Multi connections 5 29 5 8 5 List of connections 5 31 5 8 6 Clearing all connections 5 32 5 9 General test functions 5 33 5 9 1 Ident 5 33 5 9 2 ...

Страница 80: ...Lerrzeichen ...

Страница 81: ...tion program is an MS DOS program Its user interface is mouse driven and uses drop down and pop up windows The program can also run in the DOS shell of the respective operating system i e Windows 3 1x and Windows 95 as well as the DOS emulation of Windows NT This program can be used to configure H1 or TCP IP system data that is transport connections datagrams TCP UDP connections and interfaces to ...

Страница 82: ...ent to your path if you require access to the NCS software from different subdirectories PATH C NCS Install the TCP IP drivers if you are using a CP1413 TCP IP adapter To execute the software on a PG7xx you must also install the EPROM driver and the EPROM programmer Chapter 5 5 3 2 describes the installation of the driver You can now run the program under MS DOS At this stage it is possible to ins...

Страница 83: ...hapter 5 5 Init New CP143 H1 TCP IP modules must be initialized before they can be configured The module must have a unique network identifier This is assigned by means of CP Init The clock init command initializes the master clock The Online function is provided for the configuration of the parameters for online operations These parameters are required for Test functions and for direct transfers ...

Страница 84: ...mp displays all indicator words from 0 through 223 in hexadecimal form See chapter 5 9 Help Help text contains an abridged version of the explanations of the manual Context contains an overview of the menu items Under Index you will find a table of contents of all the expressions and functions for which help entries are available The sub menu Help on Help explains the operation of the window and I...

Страница 85: ...erence by clicking on the text with the left mouse key The following buttons are available in the Help window ESC key Quit from the help window and continue with the program key Displays the currently selected cross reference If you have not selected a cross reference the help window is closed and the program will continue F1 key Help on how to use the help window This item displays a summary of t...

Страница 86: ...elected function but this does not affect the basic operation Fig 5 2 File selection window by means of the example for Load Create This interactive window contains all the elements that are also required for saving and deleting files An input field for direct entry of a file name and path The field contains the default path ncs This means that any file with the extension ncs in the specified dire...

Страница 87: ... 000 Router2 000 000 000 000 Subnet Maske 255 255 000 000 Router3 000 000 000 000 Parameter TcpIp Keep Alive Time 30000 Window Size 1024 Large Packets Num 5 Large Packets Size 1514 Small Packets Num 5 Small Packets Size 160 Timeout Time 10000 Parameter H1 Min Credit 0 Retrans Timeout 100 Persistence Count 1 Min Retrans Time 10 Abort Timeout 6000 Closing Abort Timeout 600 Protocol Option 2 Control ...

Страница 88: ...Byte NMOS 6ES5 376 0AA31 Memory size 64 KByte NMOS 6ES5 376 1AA11 Memory size 16 KByte CMOS 6ES5 376 1AA21 Memory size 32 KByte CMOS 6ES5 376 1AA31 Memory size 64 KByte CMOS For the transfer you may select a base file from one of the following 4 sources Dbase EPROM You will be presented with a file selection window Select the file for the transfer Now you must select the type of EPROM from the mod...

Страница 89: ...e EPROM driver is delivered with the PG7xx The driver consists of a memory resident TSR that must be loaded by means of a LoadHigh command The driver is specific to the PG and it is already located in the PG The driver is called PG710 PG720 PG730 and PG740 SIM_730 EXE PG750 TRNOSIMA EXE You can find the driver by locating the file S5 BAT This file contains the LoadHigh command for the driver e g f...

Страница 90: ... for the transfer Now you must select the type of EPROM from the module selection window When you depress the Enter key the data is programmed into the EPROM EP Dbase You will be presented with a file selection window Enter the file name to which the data read from the EPROM should be saved NCS EP You will be presented with an EPROM selection window Select the type of EPROM you wish to program Whe...

Страница 91: ...n Remote control of the CP Switch the RUN STOP switch on your CP module to RUN The status display is does not change automatically when a change of status occurs Stop the CP The status of the CP module is changed from RUN to STOP Start the CP The status of the CP module is changed from STOP to RUN Delete the CP The base file in the CP is deleted You must first execute a STOP otherwise the delete c...

Страница 92: ...nation combinations Dbase CP You are presented with a file selection window Select the base file for the transfer This will be transferred to the CP CP Dbase The data base is located in the CP from where it is transferred to a file Enter a file name into the file selection window NCS CP All connections that have been entered into the connection masks of NCS are transferred directly into the CP CP ...

Страница 93: ...initialization Here you must configure the addresses and other identification parameters of the CP Before entering a connection you must also enter a frame base address into this interactive mask The entered data is transferred when you depress the Enter key Parameters of the CP initialization Date Version The entries for date and version are for documentation purposes only You can use these entri...

Страница 94: ...t be unique within the network The address consists of 4 numbers that are separated by a full stop Range 000 000 000 000 to 255 255 255 255 You can obtain the IP address from your system administrator Subnet mask The IP subnet mask is a 32 bit filter mask for IP addresses This address is structured in the same way as the IP address It also has the same range Subnets allow better control of the add...

Страница 95: ...of your PC to the PG interface of the CP143 H1 TCP IP You must specify the port no and the interrupt The following are standard settings COM1 Port 3F8 with INT 4 COM2 Port 2F8 with INT 3 default COM1 Port 3E8 with INT 4 serial H1 Data is transferred via the serial COM port to the PG interface of an H1 module and from there via the H1 network to a target module identified by means of the respective...

Страница 96: ... Management Protocol will be used SNMP is normally used for UDP connections Default setting ticked H1 PDU Size Maximum size for H1 data blocks in byte that may be transferred via the network level PDU is the abbreviation for Protocol Data Unit and refers to a data block Range of values 0 65535 default 512 IP PDU Size Maximum size for IP data blocks in byte that may be transferred via the network l...

Страница 97: ...the time standard transmitter should fail The real time clock functions provide the following options The time of day is maintained by the system and a battery sustains it should the power supply fall away The time of the various CPs can be synchronized by means of synchronization messages In this way all CPs on the same network use the same time Any CP can be designated as master clock to issue t...

Страница 98: ...ng messages are not received for more than the SYNC cycle time every CP will attempt to become the master clock in accordance with the priority of its delay time The priority of the individual CPs is determined by means of the last byte of the ethernet address This byte determines the delay time before the station will attempt to become the master clock Higher settings for this value are equivalen...

Страница 99: ...r clock master clock you must supply the target address broadcast or multicast and in the case of multicast the target ethernet address and the mandatory time format and cycle time Slave enter the mandatory time format and the cycle time Target address Broadcast Timing messages are sent to every station on the LAN The address is set automatically to FFFFFFFFFFFFh This can not be changed Multicast ...

Страница 100: ... 5 hrs e Byte 7 Flag e 0 time from DCF 1 from dynamic master BCD Format The BCD format is a plain and readable alternative If you are only employing VIPA CP143 modules the CPs can be configured to accept BCD formatted messages 1 10s 1 100s Byte 0 Fractional seconds 10s 1s Byte 1 Seconds 10m 1m Byte 2 Minutes ab10h 1h Byte 3 Mode a 0 12h 1 24h b 0 AM 1 PM hours wwww Byte 4 0 Monday 6 Sunday 10T 1T ...

Страница 101: ... always the master 5 7 7 Setting and interrogating the clock from the PLC CP communications with the PLC is interrupt controlled and occurs via the Dual Port RAM Job number 218 is set aside for time related processing in the PLC A SEND using this job number initiates a write operation and a RECEIVE initiates a read operation for the time of the CP The respective time value is transferred by means ...

Страница 102: ...ion 6h clock master CP is master clock and is currently active 7h clock slave synchronous CP is slave clock the time transmitter is active 8h clock slave invalid CP has an invalid clock module 9h clock slave asynchronous CP not receiving timing messages Ah clock slave master CP is slave clock prepare for master function or vice versa Ch clock slave dynamic synchronous CP is slave clock and is rece...

Страница 103: ...k When you select this function a read message for is issued to the clock of the currently selected CP This CP returns a timing message containing the current time The returned values are displayed by means of the following window Fig 5 11 Dialog window for the test functions for the clock Parameters day of week The program calculates the day of the week from the date This value can not be modifie...

Страница 104: ...e clock slave invalid The CP has an invalid clock module clock slave asyncronous The CP is not receiving timing messages clock slave master The CP is the slave clock prepare for master or slave function clock slave dynamic synchronous The CP is the slave clock and receives timing messages from a higher level master clock CP Buttons status Displays the timing data of the CP in online mode and updat...

Страница 105: ...rly identical Fig 5 12 Structure of configuration windows General connection data Here you may enter general data for connections that are used with both H1 and TCP IP General connection data consists of Connection name frame offset job number and if required type of job Type of jobs this is where you configure the job types like SEND RECEIVE FETCH and WRITE Protocol related area Here you must ent...

Страница 106: ...ctive window Multi You may use this button to configure multi connections Multi connections are dual connections that share the same TSAP or the same port with another job number and a selectable frame The opposite job types are configured automatically IndAdr This button provides access to the input window for indirect addressing Here you can enter a static area containing specifications with res...

Страница 107: ...word may be entered Source destination Contains the source or destination for FETCH WRITE in the local PLC You may supply the following entries Operand DB No Offset Length Type DB 1 255 0 2047 1 2048 Data module MB 0 255 1 256 Flag byte EB 0 127 1 128 Input byte AB 0 127 1 128 Output byte PB 0 255 1 256 Peripheral byte ZB 0 255 1 256 Counter cells TB 0 255 1 256 Timer cells BS 0 511 1 512 System d...

Страница 108: ...iption of the standard handler modules provided by the Siemens manuals Example Indirect addressing using the SEND module Call to the SEND FBs A DB X Open the data module x SPA FB244 Call the SEND module NAME SEND SSNR KY 255 1 255 is the key for indirect addressing 1 is interpreted as a pointer to DW 1 A NR KY 0 0 irrelevant ANZW MW 0 irrelevant Data module DB X DW 1 KY 0 1 DW 2 KY 0 31 DW 3 KC MW...

Страница 109: ...means of the Multi button Only the descriptions of the input windows for multi connections are different For example the input window for a multi TCP connection has the following contents Fig 5 15 Interactive window for multi connections Parameters of a multi connection Frame offset SSNR offset You may specify a different frame offset for a multi connection The frame offset SSNR offset determines ...

Страница 110: ...iority The respective value is retrieved from the default connection You can not alter this value where multi connections are concerned The parameter specifies the priority of the message for the CP143 H1 TCP IP The priority may range from 1 highest priority to 3 lowest priority 1 is also called the express priority 2 and 3 are normal priorities Priorities 0 and 4 are not supported Please remember...

Страница 111: ...ns that you have created for the respective protocol Fig 5 16 List of connections The parameters of a connection list No The number of the respective connection Multi connections are displayed under a single number Type This indicates the type of protocol for the connection SSNR This is the frame offset The frame offset SSNR offset determines the frame from the start address that is used as commun...

Страница 112: ...ive side for a write Connection name This is the name of the connection following the connection names Represents a multi connection You receive a listing of multi connections by depressing the List Multi button In addition to ESC Escape and F1 Help the interactive window also contains the following buttons Detail This button provides access to the input screen for detailed connection parameters T...

Страница 113: ...ent parameters The data displayed in this output window can not be modified Ident parameters Station The name of the respective station This may be entered and or modified under Init CP Init The name is not displayed if the module has not been loaded with a database Station names increase readability and assist with online configurations Ethernet address The ethernet address of the respective stat...

Страница 114: ...ndicator words are displayed as hexadecimal bytes Fig 5 18 Output window of Anzw Dump Please note The indicator word with the job no 0 has special significance Job no 0 contains the current job number that is being processed by SEND ALL or RECEIVE ALL tasks on the module The display is constantly updated You can terminate the process by means of the ESC key You may then modify the page frame offse...

Страница 115: ...the RECEIVE and FETCH Indicator word 08 The connection has been established again e g when the CP has re started SEND is released SEND communication task Indicator word 09 The connection has been established again RECEIVE is released RECEIVE communication task Indicator word 04 SEND was completed without errors the respective data was transferred Indicator word 05 RECEIVE was completed without err...

Страница 116: ...atus of this connection in online mode by means of Detail or to display the current status of the connection by means of Trace You may also mark individual connections by means of Sel Desel and display the respective status by means of Status The basic structure of the overall status display window is as follows Fig 5 19 Structure overall status window Column headings Sel column indicating the con...

Страница 117: ...de for all the connections that are visible in the mask The data in the respective tables is updated on a cyclic basis When you have marked certain connections by means of Sel Desel only the status of the respective connections is displayed Detail When you select Detail the status for the selected connection selection bar is displayed This mask contains all the information for a connection message...

Страница 118: ...y To view the data that is transferred with the individual messages you can click on display data If you then return to online trace mode by means of Status the most up to date messages are displayed along with the respective data The Detail and Trace functions influence the run time behavior of your connection update The display of connection data in the overall status list is brought up to date ...

Страница 119: ...a connection s 1 aktive 0 passive 2 dynamic 5 9 3 1 2 A Status A status displays the status of the current job Code Description 0000 Currently no job processing 0020 Data to remote station 0021 Data from remote station 0022 Wait for SEND acknowledgement 0023 Wait for data from remote station 0024 Local SEND acknowledgement 0040 Received SEND DIREKT from the PLC 0048 Wait for SEND ALL initiation 00...

Страница 120: ... the indicator word The configured indicator word could not be processed This error signifies that the data word or double word designated by ANZW is not or no longer located in the specified data module i e the DB was too small or did not exist 6 Not a valid ORG format The target or the source for the data was not specified in the handle module Q TYP NN or in the connection module 7 Reserved 8 No...

Страница 121: ...new connection In the case of priority 3 connections the connection has been cleared but a new connection may be initiated at any time E Job with bootstrap function This is a message from the operating system The job is a READ WRITE PASSIV job and can not be started from the PLC F Job does not exist The selected job does not exist on the CP143 H1 TCP IP This error may occur if the SSNR A NR combin...

Страница 122: ...base address into this interactive mask The entered data is transferred when you depress the Enter key Parameters of the CP initialization Date version The entries for date and version are for documentation purposes only You can use these entries to check at what time a configuration was performed The version number will always contain the number associated with the file that is currently loaded S...

Страница 123: ...between 0 and 255 This means that you may enter the values 0 4 8 12 252 The frame base addresses on a single controller may not overlap Number of frames Specifies the number of frames that the CP may use to communicate with the PLC The CP always occupies 4 frames e g 4 5 6 7 Station address Here you must specify the ethernet address station address The structure of the ethernet address is as follo...

Страница 124: ...parameters The parameters for H1 initialization Min Credit The CP basically executes a 0 credit procedure and it therefore reacts like a Siemens CP143 This value is fixed at 0 It can not be modified Persistence Count Range 0 to 65535 Default 1 Abort Timeout Persistence count x Abort Time max time during which the TP4 protocol stack establishes a connection on its own or in which it waits for a con...

Страница 125: ...ng Abort Timeout Maximum time during which the partner can acknowledge frames Range 0 to 65535 in units of 10ms Default 600 Flow Control Window Timeout Idle supervision for a connection Range 0 to 65535 in units of 10ms Default 1000 Inactivity Max Count Idle supervision for a connection Range 1 to 65535 Default 3 Open Window Timeout Retransmission of unacknowledged acknowledges with a credit 1 Ran...

Страница 126: ... H1 Job type Job priority Type of connection Connection On the CP1430 of Siemens this corresponds to Job READ WRITE SEND 0 1 Active Data SEND no RECEIVE 0 1 Passive Data RECEIVE no SEND 2 Active Trans SEND no RECEIVE 2 Passive Trans RECEIVE no SEND RECEIVE 2 Active Trans multi connection SEND RECEIVE no RECEIVE SEND 2 Passive Trans multi connection RECEIVE SEND no SEND RECEIVE SEND RECEIVE 2 2 0 1...

Страница 127: ... address that is used as communication job by the current job Frame offsets are normally only used in multi processor systems with values larger than zero Please use the following values when assigning frame offsets Frame offset 0 for CPU 1 Frame offset 1 for CPU 2 Frame offset 2 for CPU 3 Frame offset 3 for CPU 4 Range 0 to 3 Job number A job number must be allocated to each connection that shoul...

Страница 128: ...re you specify the type of job The following job types are available Send transmission of unstructured data Receive reception of unstructured data Fetch Aktiv read requested data from another controller Fetch Passiv used for the passive side of the fetch Write Aktiv write the requested data into another controller Write Passiv used on the passive side for a write Ethernet address Adr The ethernet ...

Страница 129: ...menu item Connection The following interactive window will be displayed Fig 5 23 Interactive window H1 datagram connections Parameters for an H1 datagram connection Connection name You may specify a name for the connection The name may consist of a maximum of 32 characters Frame offset The frame offset SSNR offset determines the frame from the start address that is used as communication job by the...

Страница 130: ...ould it have been terminated e g by the reset handler module Range 0 to 41 Job type Here you specify the type of job The following job types are available Send transmission of unstructured data Receive reception of unstructured data Type Here you must specify the type of transfer You may select to send unsecured messages to a specific receiver to a selected group of receivers or to all receivers P...

Страница 131: ...plied by the end user The allocation of ethernet addresses are the responsibility of the systems network administrator Broadcast messages do not require the use of an ethernet address Transport Service Access Point TSAP Under H1 the TSAPs are used to establish communication channels for a connection The length of a TSAP is 8 bytes TSAPs must always be specified even for broadcast messages To simpl...

Страница 132: ...us for all transport and datagram jobs of the respective module Fig 5 24 Test function under H1 Once you have selected the display of the overall status you can select a connection and monitor the status of this connection in online mode by means of Detail or to display the current status of this connection by means of Trace You may also mark specific connections by means of Sel Desel to display t...

Страница 133: ...me base address into this interactive mask The entered data is transferred when you depress the Enter key Parameter of the CP initialization Date version The entries for date and version are for documentation purposes only You can use these entries to check at what time a configuration was performed The version number will always contain the number associated with the file that is currently loaded...

Страница 134: ...e within the network The address consists of 4 numbers that are separated by a full stop Range 000 000 000 000 to 255 255 255 255 You can obtain the IP address from your system administrator Subnet mask The IP subnet mask is a 32 bit filter mask for IP addresses This address is structured in the same way as the IP address It also has the same range Subnets allow better control of the addressing ar...

Страница 135: ... for the TCP IP initialization Keep Alive Time This parameter specifies the idle time limit for the TCP connection in milliseconds The idle time limit is a timer that monitors inactive connections Range 0 to 999999 ms default 30000 ms Window Size The size of the data window Range 1 to 65535 default 1024 Large Packets Num Number of transmit and receive buffers Range 1 to 65535 default 5 Large Packe...

Страница 136: ...e connection oriented communications transport control Multicast and broadcast messages are sent via the UDP interface UDP is not connection oriented The following table contains a number of possible job types and connection types and the respective combinations Job type Job priority Type of connection establishment Connection SEND 1 2 Active TCP UDP TRADA RECEIVE 1 2 Passive TCP UDP SEND RECEIVE ...

Страница 137: ...ansfer services are required Fig 5 27 Interactive window TCP Connection Parameters for a TCP IP Connection Connection name You may specify a name for the connection The name may consist of a maximum of 32 characters Frame offset SSNR Offset The frame offset SSNR offset determines the frame from the start address that is used as communication job by the current job Frame offsets are normally only u...

Страница 138: ... 1 and 2 connections are so called static connections This means that the connection will be re established if possible should it have been terminated e g by the reset handler module When establishing a connection priority 3 connections are so called dynamic connections In this case the connection is established by means of a job that initiates the application for the respective connection Once a ...

Страница 139: ...Default Parameter 1 cannot be used in the length data in the FB RECEIVE TRADA without Response The reference data is preceded by a Header in the order type SEND Header set up see Chap 4 3 5 2 A message sent from the remote station will be examined at the Header with the order type RECEIVE and the reference data will be transferred to the control according to the transferred length Different telegr...

Страница 140: ...erver takes place here Attemps and alternative Adresses The communication is controlled over the DNS Server with the set up of a connection If the DNS Server is not available then the altenative IP Adress will be used after the attempt if it is marked If the alternative adress is not marked then an error message will be given Job type Here you specify the type of job The following job types are av...

Страница 141: ... the range from 0 to 255 have been reserved for common services The port address for the local station and the external station must be different Range 0 to 65536 IP address The IP address is a 32 bit address that must be unique within the network The address consists of 4 numbers that are separated by a full stop Range 000 000 000 000 to 255 255 255 255 You can obtain the IP address from your sys...

Страница 142: ...ansfer of one set of data not be successful then the next set that is more up to date will be transferred after only a few seconds Fig 5 29 Interactive window UDP Connection Parameters for a UDP Connection Connection name You may specify a name for the connection The name may consist of a maximum of 32 characters Frame offset SSNR Offset The frame offset SSNR offset determines the frame from the s...

Страница 143: ...the reset handler module Jobs with a priority of 1 differ from those with priority 2 in that the job is processed internally The size of the user data for priority 1 jobs is limited to the pre set block size Data can not be blocked by means of ALL handler modules Range 1 to 2 Job type Here you specify the type of job The following job types are available Send transmission of unstructured data Rece...

Страница 144: ...ge from 0 to 255 have been reserved for common services The port address for the local station and the external station must be different Range 0 to 65535 IP address The IP address is a 32 bit address that must be unique within the network The address consists of 4 numbers that are separated by a full stop This is also where multicast circuits are defined Multicast circuit definitions may range fr...

Страница 145: ...nnections of the respective module Fig 5 30 Test function under TCP IP Once you have selected the display of the overall status you can select a connection and monitor the status of this connection in online mode by means of Detail or to display the current status of this connection by means of Trace You may also mark specific connections by means of Sel Desel to display the only the selected stat...

Страница 146: ...IP stack is also available This provides TCP IP network functions for DOS as well as Windows The installation of this driver will not be described here The following passages show the installation of the TCP IP Stacks supplied by ftp for Win 3 x and Win 95 5 11 4 2 System requirements 386 Processor with 4MB At least 5MB free space on the hard disk Win 3 x or Win 95 operating system Network adapter...

Страница 147: ...indows 3 x Name of Network Card Interrupt IRQ Base I O Port hex Base Memory Address hex for Windows 95 Network Type SLIP or PPP DIX Ethernet IEEE Ethernet or IEEE Token Ring Data for the Network Internet IP Address of your PC Subnet Mask IP Address of Default Router maximum 3 Hostname of your PC Domain Name of your Host Type of Name Resolution DNS or NIS IP Address of Name Server s maximum 3 Your ...

Страница 148: ...execute the Express installation 4 The next dialogue box requests the Serial Number and Authentication Key from you 5 The next dialogue box shows a path for the installation of the software You may change this path as required Click on CONTINUE to accept the path and continue with the installation 6 The contents of the next dialog window depends on your system Win 3 x The dialogue box lists all th...

Страница 149: ...ntrol panel window Select the Protocol tab to start the installation of the TCP IP protocol and click on Add You will see a list containing all available protocols Select the TCP IP protocol from the list The TCP IP kernel will be installed Once the installation has been completed you may provide the various settings required Please specify which PC board should be used by the protocol For online ...

Страница 150: ... Disk 1 into drive A Go to the START menu and select RUN Enter the following A TCPEVAL and click on OK The test program starts and displays the following window Fig 5 31 Test program Connect The menu has the form of pages in a file You can bring any page to the foreground by clicking on the tab with the left mouse key File tabs Connect Contains the status indicators for the connection and your own...

Страница 151: ...tive connection Save Conn5 Save Win Pos save the current window position Show Hints displays a help summary for any input field or button 5 11 6 1 Connect tab Fig 5 32 Test program Connect This window displays the status of all the connections that may be configured by means of the program You can see immediately which connections are OK and which connections are suspect This window displays statu...

Страница 152: ... the same address for remote and local Time 10mSec Timer interval for cyclic reads OrgKennung Type of source module DBNo Number of the source module AnfAdr Start address of the source module Len Word length of the source module Control box UDP Here you may select an unsecured protocol for communicating Unsecured communications do not use virtual connections In this manner you may select to display...

Страница 153: ...mSec Timer interval for cyclic writes For cyclic writes the value of the timer must be at least 5 OrgKennung Type of target module DBNo Number of the target module AnfAdr Start address of the target module Len Word length of the target module Control box UDP Here you may select an unsecured protocol for communicating Unsecured communications do not use virtual connections In this manner you may se...

Страница 154: ...l connections In this manner you may select to display only UDP messages AutoListen When you select AutoListen the program goes to receive mode In this mode every received message from the remote CP is displayed in the list Disconnects will be detected and displayed but the program remains in receive mode The program will continue listing messages when the connection is re established Buttons List...

Страница 155: ...or remote and local Time 10mSec Timer interval for cyclic writes For cyclic writes the value of the timer must be at least 5 Control box UDP Here you may select an unsecured protocol for communicating Unsecured communications do not use virtual connections In this manner you may select to display only UDP messages Buttons Connect The connection is established and prepared for the write command Sen...

Страница 156: ...g may be displayed Hardware Stop Run Stop switch on the CP is in Stop position The CP can not be controlled remotely by the test program Hardware Run Run Stop switch on the CP is in Run position The test program is able to control the CP remotely Software Stop Run Stop switch on the CP must be in Run position The CP was stopped by a SetStop command Software Run Run Stop switch on the CP must be in...

Страница 157: ...owledgement message 16 bytes net_read PLC header error No 0 N Y Error analysis continue WRITE Y N WRITE under TCP IP End The declarations with are related to function calls of the FTP software Company FETCH under TCP IP Start Allocate network descriptor net_getdesc Define socket IP Adresse Ports Start the connection net_connect PLC header for FETCH request message Transmit PLC header 16 bytes net_...

Страница 158: ...Application in combination with TCP IP CP143 H1 TCP IP manual 5 78 Rev 00 07 ...

Страница 159: ...6 Plug in slots in the AG 188U 6 6 6 2 Start up properties 6 7 6 2 1 Status after the CP has started 6 7 6 2 2 Status indicators 6 8 6 3 PLC programming 6 9 6 3 1 General 6 9 6 3 2 Programming 6 10 6 4 Example 6 11 6 4 1 Overview and conditions 6 11 6 4 2 Problem 6 12 6 4 3 Programs for the PLCs 6 14 6 4 4 Module configuration under H1 6 21 6 4 5 Module configuration under TCP IP 6 26 6 4 6 Monito...

Страница 160: ...LerrzLerrzeicheneichen ...

Страница 161: ...talled The following diagrams indicate possible slots indicated by means of the grey squares where the CP143 H1 TCP IP may be installed into the different PLC frames 6 1 1 Plug in slots in the AG 115U Fig 6 1 Plug in slots in the AG 115U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed Q with the IM 304 314 interface ...

Страница 162: ...ts in the PLC CP143 H1 TCP IP manual 6 2 Rev 00 07 6 1 2 Plug in slots in the AG 135U Fig 6 2 Plug in slots in the AG 135U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed ...

Страница 163: ...H1 TCP IP manual Commissioning Rev 00 07 6 3 6 1 3 Plug in slots in the AG 150U Fig 6 3 Plug in slots in the AG 150U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed ...

Страница 164: ...ts in the PLC CP143 H1 TCP IP manual 6 4 Rev 00 07 6 1 4 Plug in slots in the AG 155U Fig 6 4 Plug in slots in the AG 155U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed ...

Страница 165: ...manual Commissioning Rev 00 07 6 5 6 1 5 Plug in slots in the EG 185U Fig 6 5 Plug in slots in the EG 185U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed Q 304 314 interface ...

Страница 166: ...ts in the PLC CP143 H1 TCP IP manual 6 6 Rev 00 07 6 1 6 Plug in slots in the AG 188U Fig 6 6 Plug in slots in the AG 188U The grey squares indicate the locations where the CP143 H1 TCP IP adapter may be installed ...

Страница 167: ...were initiated the CP may detect a synchronous request and re boot when more than one frame of a CP must be synchronized Under these conditions the CP would never be synchronized Cure switch the CP to STOP by means of the respective switch then synchronize all the required frames Change the switch back to RUN At this point the CP has been synchronized This reaction of the system that can only occu...

Страница 168: ...dler etc IDLE not synchronous RUN LED on STOP LED on COM LED off Waiting for synchronization request from PLC Productive communication via the frames is inhibited RUN RUN LED on STOP LED off COM LED off PLC synchronization request was executed for every configured frame Productive communication via the frames is enabled STOP RUN LED off STOP LED on COM LED off Productive communication is inhibited...

Страница 169: ... RECEIVE ALL Initiate the transfer of data between the PLC and the CP FETCH The FETCH module is used to obtain data A fetch HTB must be accompanied by the RW identifier and it initiates the READ job RESET The RESET module is used to reset a job for the specified connection RESET ALL RESET ALL ANR 0 forces a system reset of the CP CONTROL The CONTROL module is used to request the status of a job i ...

Страница 170: ...SYNCHRON SSNR KY 0 0 SSNR or frame base 0 BLGR KY 0 6 Block size 6 512 bytes PAFE MB 199 Configuration error byte MB199 0002C 0002E UN M 199 0 end if no error occurred 00030 BEB 00032 00034 U T 43 as long as timer is active 00036 SPB SYN attempt synchronization 00038 L KH 2222 load error ID into accumulator 0003C STP stop the PLC 0003E BE The CP143 H1 TCP IP requires app 10 s to start after power ...

Страница 171: ...ion functions You should have the following equipment to execute the examples 2 PLCs 2 communication processors CP143plus BG81A or CP143 TCP IP BG89A Communication link consisting of 1 LAN cable with 2 coaxial T pieces 2 Terminators Software package Configuration software SSN SW893 MC5 Programming package for programming of PLCs Standard handler modules for the respective PLCs The basis for this p...

Страница 172: ...7 and Fig 6 8 show the required system as well as the components mentioned in chapter 6 4 1 The structure of the system depends on the respective protocol 6 4 2 1 System structure required for the H1 protocol Fig 6 7 System structure for the introductory example using H1 6 4 2 2 System structure required for the TCP IP protocol Fig 6 8 System structure for the introductory example using TCP IP ...

Страница 173: ...deposit it in data module DB12 The RECEIVE handler module must be used for this purpose Handler module RECEIVE is configured by means of the job number A NR 12 and the base frame number SSNR 0 The destination parameters are saved in the data module DB12 from data word DW0 The entered base frame number SSNR 0 must correspond with the configuration of the CP143 H1 TCP IP module For this example this...

Страница 174: ... of the CP must be synchronized by means of the handler module SYNCHRON Due to the fact that this is applicable to all types of start up of the PLC the required number of SYNCHRON modules must be initiated in OB20 for a new start OB21 for manual re start OB22 for a re start after power failed The function module NETZEIN FB22 POWERON checks whether synchronization errors occurred or not When an err...

Страница 175: ... 0002C 0002E UN M 199 0 terminate if no error occurred 00030 BEB 00032 00034 U T 43 as long as timer is active 00036 SPB SYN attempt synchronization 00038 L KH 2222 load error ID into accumulator 0003C STP stop the PLC 0003E BE The CP143 H1 TCP IP requires app 10 s to start after power is turned on You will receive an error message via the configuration error byte if the PLC attempts to synchroniz...

Страница 176: ...peration module OB1 Network 1 Cycle 00001 SPA FB 1 FB1 send job NAME FB1 TIME KT 10 0 Transmit timer 10 means 100ms 00002 O M 0 0 00004 ON M 0 0 Logical result 1 00006 SPA FB 126 Send All NAME SEND A SSNR KY 0 0 SSNR or frame base 0 A NR KY 0 0 A Nr 0 for ALL job ANZW MW 190 Indicator word MW190 PAFE MB 199 Configuration error byte MB199 00012 00014 SPA FB 127 Receive All NAME REC A SSNR KY 0 0 SS...

Страница 177: ...0002E UN M 0 0 00030 SV T 11 VKE 0 timer start 00032 O M 0 0 00034 ON M 0 0 00036 SV T 11 VKE 1 timer start 00038 0003A U M 1 3 if completed with error s 0003C SPB SEND do not increment counter 0003E 00040 A DB 11 Send DB 00042 L DW 0 Message counter 00044 L KB 1 in DW0 which is also transmitted 00046 F 00048 T DW 0 0004A 0004C SEND 0004E SPA FB 120 Send module NAME SEND SSNR KY 0 0 Interface No 0...

Страница 178: ...d the value for the timer determines how often the SEND job is triggered In this example the timer has been set to 100ms The sample program will thus trigger the SEND job every 100ms Data word DW0 of the data module DB11 is incremented before a SEND call transmitting a proper message is executed This occurs in function module FB1 It is possible to transmit 99 user data items along with DW0 ...

Страница 179: ...twork 1 Cycle 00001 SPA FB 2 FB2 receive section NAME FB2 00002 O M 0 0 00004 ON M 0 0 Logical result 1 00006 SPA FB 126 Send All NAME SEND A SSNR KY 0 0 SSNR or Frame base 0 A NR KY 0 0 A Nr 0 for ALL job ANZW MW 190 Indicator word MW190 PAFE MB 199 Configuration error byte MB199 00012 00014 SPA FB 127 Receive All NAME REC A SSNR KY 0 0 SSNR or Frame base 0 A NR KY 0 0 A Nr 0 for ALL job ANZW MW ...

Страница 180: ...E T MW 12 00030 00032 REC 00034 SPA FB 121 Receive module NAME RECEIVE SSNR KY 0 0 Interface No 0 A NR KY 0 12 Job No 12 ANZW MW 4 Indicator word MW4 ZTYP KC DB Save data in data module DBNR KY 0 12 DB number 12 ZANF KF 0 from DW0 ZLAE KF 100 Length 100 elements PAFE MB 199 00048 0004A BE FB2 is a simple receive module which checks the indicator word flags handshake required completed with error D...

Страница 181: ...ansfer these into the CP 1 Start the program and initialize the CP 2 Check transport parameters and change where necessary 3 Configure the connection 4 Save base data 5 Transfer base data to the CP Re 1 Start the program and initialize the CP A window with data is displayed after the program has started This window contains information on the version no This you will need for future enquiries from...

Страница 182: ...Example CP143 H1 TCP IP manual 6 22 Rev 00 07 Station 1 Fig 6 10 CP initialization station 1 for H1 Station 2 Fig 6 11 CP initialization station 2 for H1 ...

Страница 183: ... and station 2 Re 3 Configure the connection Station 1 This example is concerned with H1 connections From the menu item Verbindungen Connections you must select H1 Transport Verbindung H1 transport connection This will display the window for TCP connections Enter the following data for station 1 Connection name SEND to station 2 Job number 11 Priority 2 Type of job SEND TSAP local station ASCII se...

Страница 184: ...rt parameter station 2 Click on OK when you have completed the entries You will be asked whether the connection should be accepted Please confirm to enable the connection This concludes the configuration of the different connections for the respective stations Re 4 Save base data Save the connection for the respective station From menu item File Datei select the entry Save Speichern Enter CP1 NCS ...

Страница 185: ...played Fig 6 15 Serial configuration Select Serial and enter the the port address 2F8 and the interrupt 03 Press the Enter key or click on OK You are now in control of the CP if the port address and the interrupt are valid STOP the CP to start the transfer of data Request the status from the CP to check your actions In this example we will transfer the data directly from the NCS Click on the butto...

Страница 186: ... these into the CP 1 Start the program and initialize the CP 2 Check transport parameters and change where necessary 3 Configure the connection 4 Save base data 5 Transfer the base data to the CP Re 1 Start the program and initialize the CP A window with data is displayed after the program has started This window contains information on the version no This you will need for future enquiries from o...

Страница 187: ...CP143 H1 TCP IP manual Commissioning Rev 00 07 6 27 Station 1 Fig 6 17 CP initialization station 1 for TCP Station 2 Fig 6 18 CP initialization station 2 for TCP ...

Страница 188: ...ation 1 and station 2 Re 3 Configure the connection Station 1 This example is concerned with the respective TCP connections Select TCP Verbindung H1 transport connection from the menu item Verbindungen Connections This will display the window for TCP connections Enter the following data for station 1 Connection name SEND to station 2 Job number 11 Priority 2 Type of job SEND Port local station 001...

Страница 189: ...rameters station 2 Click on OK when you have completed the entries You will be asked whether the connection should be accepted Please confirm to enable the connection This concludes the configuration of the different connections for the respective stations Re 4 Save base data Save the connection for the respective station Select the entry Save Speichern from menu item File Datei Enter CP1 NCS for ...

Страница 190: ...displayed Fig 6 22 Remote configuration Select TCP IP and enter the IP address of station 1 under remote IP addr Press the Enter key or click on OK You are now in control of the CP if the address is valid and if the station exists on the LAN STOP the CP to start the transfer of data Request the status from the CP to check your actions In this example we will transfer the data directly from the NCS...

Страница 191: ...nsmit job Call the test menu F8 from the main menu Change to the sub menu Control Variables Steuern Variablen by means of Steu Var F5 The screen display indicates the respective function in the heading the occupation of the current pages in and the current number of pages from 1 to 20 Below this the display is split into three columns The Operand column is used to enter process variables by means ...

Страница 192: ...r the following operands MC5 148968 Bytes free TEST Control Variables Control Variables Occupied 35 Page 2 PC scanning Operand Format Value Acc KOM Receive ANZW MW4 Receive area DB12 from DW0 KOM DW0 Counter that is incremented at the transmitter MW 4 KM 00000100 00010100 DB 12 DW 0 KH 861A DW 1 KH 1111 DW 2 KH 1111 DW 98 KH 1111 DW 99 KH 1111 F1 F2 F3 F4 F5 F6 F7 F8 Edit Fig 6 24 Display of the r...

Страница 193: ...Appendix A Technical data A 1 B Error messages from the NCS configuration program B 1 C List of abbreviations C 1 D List of figures D 1 E List of tables E 1 F Index F 1 ...

Страница 194: ...Lerrzeichen ...

Страница 195: ...r CPU 80486 SLC Clock speed 33 MHz RAM 1 MB Serial interface TTY Configuration memory 60 KB CMOS EPROM socket for EPROMs 376 EPROM Ethernet interface AUI IEEE 802 3 BNC RJ 45 CP interface 4 tiles with 1 KB each Watchdog triggerable System Bios Quadtel according to VIPA specifications Slot space 1 plug in slot Weight 0 6 kg Internal battery backup buffer 6 months ...

Страница 196: ...Technical data CP143 H1 TCP IP manual A 2 Rev 00 07 ...

Страница 197: ... No message available This error occurs when a text message is not available Please contact us with the respective details Message file read error An error occurred when a text message was read Please check for errors in the file ncs txt If necessary you should use an analyser tool Disk drive errors Access denied Access to the respective file was refused Please check whether you have access rights...

Страница 198: ...n specified Multiple connecion n invalid task number 1 199 The task number ANR for the multiple connection exists Multiple connection n the tile offset was omitted Every multiple connection must be associated with a tile offset Multiple connection n no priority specified Every multiple connection must have a priority Invalid tile base valid range 0 252 The tile base for the basic initialization is...

Страница 199: ... repeat the programming operation A lack of memory occurred when the EPROM function was being executed No more DOS memory available Remove all unnecessary programms from main memory EPROM module library not available or defective The EPROM module library ncs bib is not accessible or has been damaged At the DOS prompt check that this file exists and that it is in order EPROM defective Erase the EPR...

Страница 200: ... Please inform us if you should encounter this type of error Module handler initalization error An error occurred during the initialization of the module handler This error should not occur Please inform us if you should encounter this type of error Module handler erase error An error occurred when when erasing by means of the module handler This error should not occur Please inform us if you shou...

Страница 201: ...nse Multiple Access Collision Detection FTP File Transfer Protocol HTB Handler module IP Internet Protocol NCS Network Communication System OSI Open System Interconnection PAFE Parameter configuration error QVZ Overdue acknowledgement RTK Real Time Kernel SSNR Interface number tile offset TCP Transport Control Protocol TP Twisted Pair UDP User Datagram Protocol ...

Страница 202: ...List of abbreviations CP143 H1 TCP IP manual C 2 Rev 00 07 ...

Страница 203: ...word ANZW 4 22 Fig 4 8 Parameter error byte PAFE 4 30 Fig 5 1 The menu structure of the parameter configuration program 5 3 Fig 5 2 File selection window by means of the example for Load Create 5 6 Fig 5 3 Sample base file in text form 5 7 Fig 5 4 Window for remote configuration 5 11 Fig 5 5 CP base initialization initial initialization 5 13 Fig 5 6 Parameters for online connections 5 15 Fig 5 7 S...

Страница 204: ...6 4 Fig 6 5 Plug in slots in the EG 185U 6 5 Fig 6 6 Plug in slots in the AG 188U 6 6 Fig 6 7 System structure for the introductory example using H1 6 12 Fig 6 8 System structure for the introductory example using TCP IP 6 12 Fig 6 9 Initial display of the configuration program 6 21 Fig 6 10 CP initialization station 1 for H1 6 22 Fig 6 11 CP initialization station 2 for H1 6 22 Fig 6 12 Transport...

Страница 205: ...er 09h 11h 4 19 Tab 4 10 Indicator word conditions for SEND 4 28 Tab 4 11 Indicator word conditions for RECEIVE 4 28 Tab 4 12 Indicator word conditions for READ WRITE AKTIV 4 28 Tab 4 13 Indicator word for SEND with an HTB identifier NN 4 29 Tab 4 14 Indicator word for RECEIVE with an HTB identifier NN 4 29 Tab 5 1 Possible entries for source destination with indirect addressing 5 27 Tab 5 2 Data ...

Страница 206: ...List of tables CP143 H1 TCP IP manual E 2 Rev 00 07 ...

Страница 207: ...143 H1 TCP IP construction 4 1 CP143 TCP IP firmware CP 4 14 System properties 4 16 CP143plus firmware CP 4 10 System properties 4 12 D Data base file 5 6 data link layer 2 4 Determining the IP address 4 17 E EPROM socket 4 9 Error indicator 4 22 Ethernet address 5 48 Ethernet network terminology 3 1 Example 6 11 H1 configuration 6 21 Jobs for the PLCs 6 13 Monitoring the transfer 6 31 PLC program...

Страница 208: ...n for sockets and plugs 4 6 Planning a network layout 3 18 PLC programming 6 9 PLC header 4 20 Plug in slots 6 1 Plug in slots in the PLC 6 1 Point to point job 5 50 Port address 5 61 Presentation layer 2 5 Priority 5 30 5 50 Program installation 5 2 Protocol Class 5 44 Protocol Option 5 44 R Real time clock functions 5 17 ANZW configuration 5 21 Assigning the master clock 5 18 BCD format 5 20 Con...

Страница 209: ... 23 The position of sockets and plugs 4 5 Thick ethernet cable 3 8 Thick ethernet cable networks 3 8 Thin ethernet cable 3 3 Thin ethernet cable network 3 5 Timeout Time 5 56 TPDU Additional Options 5 45 TPDU Size 5 44 TRADA 4 21 Transceiver 3 8 Transceiver cable 3 8 Transmission Control Protocol 2 6 Transport layer 2 4 Transport Service Access Point TSAP 5 48 Twisted Pair 3 16 Type 5 31 U UDP 2 6...

Страница 210: ...Index CP143 H1 TCP IP manual F 4 Rev 00 07 ...

Отзывы: