Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

SIEMENS S7-1413 Communication Software Architecture and Application Detailed Explanation

F: | Au:FAN | DA:2026-01-27 | 565 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:


SIEMENS S7-1413 Communication Software Architecture and Application Detailed Explanation

In industrial automation systems, reliable and efficient data communication is the foundation for achieving equipment integration and process control. Siemens SIMATIC NET, as a communication system for automation engineering, provides various high-performance LAN solutions. Among them, S7-1413 serves as an important software component that connects personal computers (PCs) and programming devices (PG) to the SIMATIC S7 control system, achieving data exchange and system integration through industrial Ethernet. This article is based on the official technical manual and provides an in-depth analysis of the architecture features, interface design, and practical applications of S7-1413.


Overview and functional positioning of S7-1413

S7-1413 is a key software in the SIMATIC NET product family, used to enable communication between PC/PG and SIMATIC S7 programmable controllers in the Windows 95/Windows NT operating system environment. Its main functions include:

Protocol support: Supports both ISO Transport protocol (compliant with ISO 8073) and TCP/IP protocol (based on RFC 1006 extension) to ensure good compatibility and flexibility in industrial Ethernet environments.

Unified interface: Provide SAPI S7 (Simple Application Programmers Interface for S7) as the user program interface to achieve standardized communication with SIMATIC S7 system.

Hardware dependency: Must be used in conjunction with Siemens dedicated network adapter CP 1413, supporting multiple network card configurations to meet complex network topology requirements.

S7-1413 is typically applied in the following scenarios:

Equipment status monitoring and parameter modification

Production statistics and process data archiving

Process visualization system

Data acquisition and monitoring system (SCADA)


System architecture and communication network integration

1. SIMATIC NET communication network system

SIMATIC NET is an open, heterogeneous communication system based on the ISO/OSI reference model, providing multiple LAN solutions to meet different levels of automation requirements:

Industrial Ethernet: Based on the IEEE 802.3 standard, using CSMA/CD access technology, suitable for workshop level and management level networks, supporting electrical and fiber optic transmission.

PROFIBUS: A fieldbus that complies with the DIN 19245 standard, used for device level and field level communication.

AS-i (Actor Sensor Interface): A low-level communication network for sensors and actuators.

S7-1413 is mainly integrated into industrial Ethernet environments and can build stable networks using standard SIMATIC NET components such as transceivers, branch cables, fan out units, etc.

2. Structure of software and hardware components

On the Windows 95/Windows NT platform, the software architecture of S7-1413 includes:

Application layer: User defined programs communicate through SAPI S7 or SEND/READIVE interfaces.

Interface layer: SAPI S7 library or SEND/ReceIVE library, providing standardized function calls.

Driver layer: SIMATIC NET driver, managing CP 1413 hardware communication.

Hardware layer: CP 1413 communication processor, implementing physical layer data transmission and reception.

This hierarchical structure ensures the efficiency and reliability of the communication process, while facilitating system maintenance and expansion.

Core programming interfaces: SAPI S7 and SEND/READIVE

1. SAPI S7 interface

SAPI S7 is a C language programming interface for SIMATIC S7 systems, with the following characteristics:

Asynchronous operation: supports non blocking communication and improves system responsiveness.

Automatic connection management: Automatically handle the establishment and release of S7 connections (active/passive mode).

Fault diagnosis: Built in tracking function for easy debugging and troubleshooting.

Multi language support: In addition to C language, it can also be called by languages such as Visual Basic and Pascal through encapsulation libraries.

Rich services: Provides advanced communication functions such as "read and write variables", which are easier to use than underlying interfaces.

SAPI S7 is also available in PROFIBUS networks, ensuring consistent access for programs in different network environments.

2. SEND/RECEIVE interface

SEND/RECEIVE is a programming interface located at the transport layer (Layer 4), primarily used for communication with SIMATIC S5 systems. Its features include:

Direct data exchange: Communicate with the data processing block of S5 by calling interface functions.

Backward compatibility: provides a convenient integration path for existing S5 systems.

Supporting resources: Provide sample programs and call libraries to help developers quickly get started.

3. Development support resources

To reduce programming difficulty, S7-1413 provides the following resources:

Example program: Written in C language, demonstrating interface calling methods and data flow control.

Call library: A static or dynamic library containing interface functions that can be directly integrated into user projects.

Detailed manual: The "S7 Programming Interface" and "SEND/ReceIVE Programming Interface" provide complete API instructions and communication process guidelines.


System Requirements and Configuration Guidelines

1. Hardware requirements

Computer: PC or PG that supports CP 1413.

Network adapter: SIMATIC NET CP 1413 must be used.

Network components: industrial Ethernet compatible transceivers, cables, connectors, etc.

2. Software requirements

Operating system: Microsoft Windows 95 or Windows NT 4.0 and above.

Configuration tool: COML S7 (Configuration Management Local) is used for setting communication parameters.

Development environment: A development platform that supports C language compilers (such as Microsoft Visual C++).

3. User skill requirements

Application users: need to be familiar with PC operation and basic functions of SIMATIC S7 system.

Developers: In addition to the above knowledge, they need to master C programming language and understand the basic principles of network communication.


Example of Application Deployment and Communication Process

1. Typical deployment steps

Hardware installation: Insert CP 1413 into the ISA slot of the PC and connect the industrial Ethernet cable.

Software installation: Install the S7-1413 driver and configuration tool.

Network configuration: Use COML S7 to set the address, communication protocol, and service access point (TSAP) for this site.

Program development: Write application logic based on SAPI S7 or SEND/RECEIVE interfaces.

Testing and debugging: Use the tracking function and sample program to verify the correctness of communication.

2. SAPI S7 communication process (taking reading variables as an example)

Call S7_Create to create a communication instance.

Establish a connection with the S7 PLC using S7_Connect.

Read variables from a specified data block using S7_ ReadVar.

Process the returned data and, if necessary, use S7_SriteVar to write the data.

After communication, call S7_Disconnect and S7_Destroy to release resources.

  • National Instruments NI 6587 LVDS Digital I/O Module
  • National Instruments PCI-6225 Data Acquisition Card
  • National Instruments NI-9262 Analog Output Module
  • National Instruments NI 9235 Quarter Bridge Input Module
  • National Instruments PXIe-8301 Remote Control Module
  • National Instruments PXI-4071 FlexDMM Module
  • NI-9234 Sound and Vibration Input 779680-01
  • NI 9229 Isolated Analog Input Module
  • NI cDAQ-9178 USB CompactDAQ Chassis
  • National Instruments NI 9220 143613B-06L Analog Input Module
  • NI 9229 Analog Input Module
  • NI 9246 Analog Input Module
  • NI PXIe-1071 PXI Express Chassis
  • National Instruments 9225 780159-01 Analog Input Module
  • NI cDAQ-9171 USB CompactDAQ Chassis
  • NI PXIe-8840 Embedded PXI Controller
  • Bonfiglioli A202 UH35 FIA 39.6 Right Angle Reducer
  • Bonfiglioli BN 90 LA 4 Gearmotor 1.5kW i=14.1
  • Bonfiglioli BN71A4 Motor with C313PP71 Gearbox
  • Bonfiglioli MP 130 1 4 STD 114A CD Planetary Gear Head
  • Bonfiglioli LC155 1 10 STD Gearbox
  • Bonfiglioli Vectron ACU401-13 FA Inverter
  • Bonfiglioli AEC500-31A Solar Inverter
  • Bonfiglioli BN63B6 Geared Motor VF44P
  • Bonfiglioli Vectron ACT410-23 Inverter
  • Bonfiglioli FR FRIZ 11/90 Clutch
  • Bonfiglioli A/11.90 B3 Clutch Brake
  • Bonfiglioli 50.180.3000 Servo Motor
  • Bonfiglioli NFF 14 112 EE Clutch
  • Bonfiglioli BMD 65 Permanent Magnet Motor
  • Bonfiglioli MP 080 2 20 STD 73A1 CD Planetary Gearbox
  • Bonfiglioli VF/VF30/63 P1 1520 Gearbox
  • Bonfiglioli M3SA4 FD with X F202 H35 10.0 Gearbox
  • Bonfiglioli ACU401-19A Frequency Inverter 5.5kW
  • Lafert B6306P-02276 Servo Motor with Bonfiglioli A102
  • Bonfiglioli ACU401-09FA Frequency Inverter 1.1kW
  • ProMinent Sigma S1CBH12035 with Bonfiglioli BN56B4
  • Bonfiglioli TR 080 2 20 STD Planetary Gearbox
  • Bonfiglioli ACT400-040A Frequency Inverter 15kW
  • Bonfiglioli BE 132 MA 4 Electric Motor 7.5kW
  • Bonfiglioli W86 U30 P100 Gearbox
  • Bonfiglioli MP105 2 25 Planetary Gearbox
  • Bonfiglioli BE160L4 Motor 15 kW
  • BONFIGLIOLI TMP-105 2 25 15 19 40 70 90 Planetary Gearbox
  • Bonfiglioli Vectron ACU401-18 FA Inverter
  • BONFIGLIOLI BE80B4 Motor with A302 UH35 76.5 P80 VA Gearbox
  • Bonfiglioli Vectron VCB400-180 Inverter
  • Bonfiglioli P63B14B3 Motorization Encoder
  • Bonfiglioli Vectron ACT201-13FA Inverter
  • Bonfiglioli F202 H30 P90 Gearbox
  • Bonfiglioli BN71A4 C313 P P71 Gearmotor
  • Bonfiglioli ACT201-11FA Frequency Inverter
  • Bonfiglioli ACU410-21 3 FA Inverter 7.5kW
  • Bonfiglioli RA0 60/00 Gear Reducer i=182
  • Alpha VDS 063-MF1-10-141-BE Planetary Gear 20018280
  • Stöber FDR 71B/10 Gearmotor 0.37kW
  • Stöber DW0-2000-037-4 Gearbox 0.25kW
  • Bonfiglioli M3SA4 FD R with X F252 H35 16.6 Gearbox
  • Bonfiglioli BN90LA4 Adjustable Gear Motor 1.5kW
  • Alpha LP 090-MO1-5-111-000 Planetary Gearbox
  • Bonfiglioli 335 M3 C Planetary Gear Motor
  • Bonfiglioli TR060 2 18 STD 50C CD 14 S1 OR SB KE Gearbox
  • Bonfiglioli MP1GD3036L001 Gearbox
  • Bonfiglioli BN90LA4 Gear Motor 1.5 kW
  • Bonfiglioli A302 UH35 P90 Gearbox
  • Bonfiglioli ACU410-31A5 Inverter
  • BONFIGLIOLI BMD 118 14 4500 400 165 SS TC1 RES2 P1N S1N CUS JB00013358
  • Bonfiglioli A302 UH40 P90 Reducer
  • Bonfiglioli ACT201-05FA Inverter
  • Mannesmann Demag 4APB71-4-G08-PR Gear Motor with Bonfiglioli MVF63/F
  • BONFIGLIOLI W63 U P80 B5 Gearbox 2G20012741
  • Bonfiglioli BE80B4 Motor with A202 Gearbox
  • BONFIGLIOLI VECTRON KEYPAD 179675500 KP500
  • Bonfiglioli RA0 60/00 Gear Reducer i182
  • Bonfiglioli C212 F P90 VV Gearbox i=9.6
  • Bonfiglioli MP105 Servomotor Gear
  • Mannesmann Demag 4APB71-4-G08-PR Getriebemotor with Bonfiglioli MVF 63/f
  • Bonfiglioli Vectron ACT401-12 FA Inverter
  • Bonfiglioli BN 80A4 COD.830820106 Motor 0.55 kW IMB5
  • Bonfiglioli TR060 Gearbox
  • Silectron Bonfiglioli FT1000-0.75S RFI Filter
  • Trasmital Bonfiglioli 710C3B50F177G34W1A52VAG Drive
  • Bonfiglioli MAC800-D1 Motorreductor
  • Bonfiglioli VF 63 V HS Worm Gearbox
  • Bonfiglioli BN90LA4 Adjustable Gear Motor 1.5kW
  • Bonfiglioli ACT 400-018 FA Frequency Inverter
  • Bonfiglioli RAO50DNP90B5-I220 Gear Unit i=200
  • Bonfiglioli ACT 401-13FA Frequency Inverter SIACT513010001
  • Bonfiglioli ACU210-18 3 FA Active Inverter 4kW
  • Trasmital Bonfiglioli 709C3B50F177G34W1A52VAG Drive
  • Bonfiglioli BN27C4 Gear Motor 0.09 kW
  • Bonfiglioli BN71A4 Electric Motor
  • Bonfiglioli Vectron VCB400-370 Inverter
  • Bonfiglioli Vectron ACU401-18FA Inverter
  • Bonfiglioli LC120 2 40 STD Gearbox
  • Bonfiglioli BN63B6 Gear Motor 0.12 kW
  • Bonfiglioli T56BN/4 Asynchronous Motor
  • AEB Atlant D712-4B5 Motor with Bonfiglioli MVF 49F1 Gearbox
  • Bonfiglioli VF110 A P100B14 Worm Gear
  • Trasmital Bonfiglioli Raupengetriebe i 1:122 2174688 2T705C3122002 Travel Drive
  • Bonfiglioli ACT 401-21A Frequency Inverter
  • Bonfiglioli VF44 U14 Worm Reducer B03181367918
  • Bonfiglioli VF49 L1 P1 P63B5 Worm Gear i=45
  • Bonfiglioli S2U230S-03F Inverter 0.4kW
  • Ferag 5690512 Uiker TR90L4 Motorreductor with Bonfiglioli C212 F9.6
  • Bonfiglioli LC120250STD80A1CD14KE Gearbox
  • Bonfiglioli W63U38 P80 B14 V5 Gearbox
  • Bonfiglioli VF49A-28-P80-B14 Worm Gearbox
  • Bonfiglioli BN71B4 W63U64P75 Gearmotor
  • Alpha VDS 063-MF1-10-141-BE Planetary Gearbox
  • Bonfiglioli BN71B4 MVF49 F1 Gearmotor i=36
  • Bonfiglioli BN 63 B6 Gear Motor 0.12kW
  • Bonfiglioli SPL400 17F SynPlus Drive 3.7kW
  • Bonfiglioli ACU 401-25A Frequency Inverter
  • Esa 3M2209B5 M71Q Motor with Bonfiglioli MVF49 Gearbox
  • Ferag 5690512 UIKER TR90L4 Gear Motor with Bonfiglioli C212
  • Bonfiglioli A302 UH35 P90 Bevel Gearbox
  • Bonfiglioli GVX1000-1.5-S Inverter Drive 1.5kW
  • Bonfiglioli W63 U 15.0 P80 B14 B Worm Drive
  • Bonfiglioli KP500 Control Panel
  • Bonfiglioli C302PP71 Speed Reducer
  • Bonfiglioli BN71B4 Motor con MVF49 Reductor
  • Bonfiglioli BN71B4 Motor with MVF49 Gearbox i36
  • Bonfiglioli SYN10S 22001AF Inverter 0.2 kW
  • Motor Power Esa 3M2209B5/M71Q with Tachometer and Bonfiglioli MVF49 Gearbox
  • Bonfiglioli SYN10 S 220 01 AF Inverter
  • MEZ UD 1104 2.5 kW BONFIGLIOLI Trasmittal 300L19 Gear Motor 300L19.00HZP90AW0A
  • Bonfiglioli Vectron ACT W 401-39 D Inverter