EasyManuals Logo

Siemens SIMATIC NET S7-300 User Manual

Siemens SIMATIC NET S7-300
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #167 background imageLoading...
Page #167 background image
6 Programmed Communication Connections
A-167
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Table 6-3 Type Definitions for the Subfield TCP Connection
STL Ex-
plana -
tion
TYPE ”SUB_LOC_PORT”
STRUCT
id : int := 9; // ID_4_LOC_PORT
len: int := 6; // Subfield length
port: int := 2001; // Loc. Port
END_STRUCT;
END_TYPE
TYPE ”SUB_REM_PORT”
STRUCT
id : int :=10; // ID_4_REM_PORT
len: int := 6; // Subfield length
port: int := 2002; // Rem. Port
END_STRUCT;
END_TYPE
TYPE ”CON_NAME_L” // 24 characters ( NetPro Max )
STRUCT
id : int := 18; // ID for CON Name
len: int := 28; // 4+len(n[0..x]
c : ARRAY [1..24] of CHAR :=
’V’,’B’,’_’,’N’,’a’,’m’,’e’,’_’,’2’,’4’,’C’,’h’,’a’,’r’,
’a’,’c’,’t’,’e’,’r’,’s’,’_’,’0’,’0’,’1’;
END_STRUCT;
END_TYPE
TYPE ”SUB_KBUS_ADDR”
STRUCT
id : int := 21; // ID for KBUS address
len: int := 5; //
addr: BYTE := B#16#04; // =R0/S4
END_STRUCT
END_TYPE
TYPE ”ACT_CN_REQ”
STRUCT
id : int := 22; // ID for CON REQ mode
len: int := 5; // Subfield length
w : BYTE := b#16#1; // = Active
END_STRUCT;
END_TYPE
Note:
The structures listed here must also be entered in the symbol table.
Example of SUB_IP_V4 entry:
Symbol Address Data type
SUB_IP_V4 UDT 100 UDT 100

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-300 and is the answer not in the manual?

Siemens SIMATIC NET S7-300 Specifications

General IconGeneral
Product Type DesignationSIMATIC NET S7-300
MountingDIN rail mounting
Protection ClassIP20
CPU ModelsVarious models available (e.g., CPU 312, CPU 314)
Communication InterfacesMPI, PROFIBUS DP
Power Supply24 V DC power supply required. Different power supply modules available.
I/O ModulesDigital input modules, digital output modules, analog input modules, analog output modules
ProgrammingSTEP 7 software
Supply Voltage24V DC or 120/230V AC (depending on model)
Digital InputsAvailable via digital input modules
Digital OutputsAvailable via digital output modules
Analog InputsAvailable via analog input modules
Analog OutputsAvailable via analog output modules
Communication FunctionsMPI, PROFIBUS DP, Ethernet (depending on model)
ProtocolsMPI, PROFIBUS DP, TCP/IP (depending on model)
Operating Temperature0°C to 60°C
Storage Temperature70 °C
MemoryDepends on CPU model (e.g., 32 KB to 1.5 MB)

Related product manuals