Download Display - Service, Support

Transcript
Contents
1
INTRODUCTION TO SOFTNET-S7/UNIX .................................................. 4
2
CREATING APPLICATIONS ...................................................................... 8
3
4
2.1
Installation ................................................................................................................ .................. 8
2.2
Programming Environment..................................................................................................... .. 8
2.3
Differences Compared with the S7 Programming Interface................................................... 9
2.4
Additional Function "s7_getfds()".......................................................................................... 1 1
2.5
Difference Compared with the "S7 Programming Interface" Manual ............................... 14
INSTALLING AND STARTING UP APPLICATIONS................................. 15
3.1
The Transport Name Service TNS.......................................................................................... 15
3.2
TNS Configuration for the OSI Transport Protocol ............................................................. 17
3.3
TNS Configuration for RFC1006 via TCP/IP........................................................................ 20
3.4
Restrictions for Names ............................................................................................................. 23
3.5
S7 Connections with the SAPI-S7 Protocol............................................................................ 23
3.6
Working with the TNSX Compiler ......................................................................................... 24
3.7
Configuring the VFDs and the Assigned Connection Name ................................................. 26
3.8
Distributing the Address Information on Two TNS Entries................................................. 29
3.9
Notes on Configuration ............................................................................................................ 32
ERROR DIAGNOSTICS............................................................................. 33
4.1
Error Diagnostics for Communication ................................................................................... 34
5
SAMPLE PROGRAM ................................................................................. 39
6
WHO TO CONTACT .................................................................................. 40
7
REFERENCES........................................................................................... 41