Welcome to the Industrial Automation website!

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

S7-300 CPU 31xC 和 CPU 31x

F: | Au:佚名 | DA:2023-11-20 | 1257 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Routing and data record routing

Routing is the transmission of data across network boundaries. Information can be sent from sender to receiver across several networks.

The data logging route is an extension of the common route. For example, when the programming device is not directly connected to the target device

PROFIBUS DP subnets, but when connected to the CPU's PROFINET interface, SIMATIC PDM will make

Record routes with data. The data sent through the data recording route includes parameters of the participating field devices (slave stations)

Configuration, and device-specific information (e.g., set values, limit values, etc.). Data records the destination address structure of the route

Depends on the content of the data, i.e. the secondary station receiving the data.

When a programming device is assigned a different subnet from the target slave station, the data record route can also be read using the programming device

Set of parameters that already exist on the field device, edit them, and return them to the field device.

The field devices themselves do not need to support data record routing because they do not forward the received information.

Clock synchronization

1:intro

The CPU interface supports clock synchronization. The CPU can be programmed to act as a time master (with a default synchronization interval)

Interval) or time to run from the station.

Default value: No clock synchronization

Set synchronization mode

In the properties dialog box of HW Config, set the synchronization mode as follows:

In AS (on the central I/O bus) : Tab → Diagnostics/Clock (Tab → Diagnostics/Clock)

(Also applicable to MPI on CPU without DP interface)

● For MPI/DP or DP interface: Tab → Clock

● For PROFINET interface: Tab → Clock synchronization


2: interface

The following interfaces support clock synchronization:

● MPI interface

The CPU can be configured as either a time master or a time slave.

● DP interface

The CPU can be configured as either a time master or a time slave.

● PROFINET interface

The clock is synchronized with the CPU on the client through NTP.

● On the automation system in the central rack

The CPU can be configured as either a time master or a time slave.

Instructions

On many of these interfaces, the CPU cannot be used as a time slave.

CPU as time slave station

When acting as a time slave, a CPU receives synchronization frames only from a time master and uses that time as an internal time for that CPU

Between.

The CPU serves as the time master

When acting as a time master, the CPU broadcasts clock-sync frames at set synchronization intervals to synchronize them in the subnet to which they are connected

It stands.

Requirement: The CPU clock is no longer in the default state. The clock must be set at least once.

Clock synchronization as a time master begins with:

● After this time is initialized by SFC 0 "SET_CLK" or programming device function

● Use another time master, provided that the CPU is also programmed as an MPI/DP or PROFINET interface

Time operates from the station.

Instructions

The real-time clock of the CPU is not set in the following cases:

 before delivery

 after the mode selector switch is reset to factory Settings

 After firmware update

3. Point-to-point connection

Stats:

Point-to-point connections allow data to be exchanged over serial interfaces. Point-to-point connections can be used to interconnect programmable controllers, computations

Computer or third party system with communication function. It can also be adjusted according to the procedures of the communication partner.

3.1 Data Consistency

Stats:

A data area is consistent if it can be read or written to in the operating system as a block. Station to station

The data exchanged centrally between them should belong to a whole and originate from a processing cycle, that is, the data is consistent. If user

Programs that include programmed communication capabilities (for example, using XSEND/XRCV to access shared data) can pass

The "BUSY" parameter itself coordinates access to the corresponding data area.

Use the PUT/GET function

For some S7 communication functions that do not require blocks in CPU (server mode) user programs (e.g.,

In terms of PUT/GET or write/read access via OP communication, the scope of data consistency must be considered during programming.

The PUT/GET function of the S7 communication or the read/write variable operation through the OP communication are executed at the cycle control point of the CPU

Fine. To guarantee the defined hardware interrupt response time, the communication variables need to be in the form of blocks of up to 240 bytes, to/from

The copied user memory in the operating system loop control point is continuously copied. There is no guarantee for larger data areas

Data consistency.

Using PUT/GET functions and "Prioritized OCM communication"

If the operation is configured as "OCM communication by priority", the specified data consistency is lost (see the chapter "OP Communication (page 80)"). Therefore, data consistency must be ensured through user programs.

Keep the following consistent:

● Byte, word, double-word access (e.g. LMDx)

● SFC 14 "DPRD_DAT"

● SFC 15 "DPWR_DAT"

SFC 81 "UBLKMOV" (for copying up to 512 bytes of data)

It should also be understood that if OCM Communication by Priority is configured, the communication will not be changed at the loop control point

Quantities are continuously copied to/from working memory in blocks of up to 240 bytes. Therefore, it should be done while the user program is running

Copy the data.

                                                                                    Quantity name

                                                                                    ① Analog input and analog output

                                                                                    ② Digital input

                                                                                    ③ digital output

3.2 SNMP Communication Service

availability

SNMP V1, MIB-II communication services can be used with integrated PROFINET interfaces and using version 2.2 or later

Firmware for the CPU.

Stats

SNMP (Simple Network Management Protocol) is the standard protocol for TCP/IP networks.

3.3 Open communication over Industrial Ethernet

demand

● Since STEP 7 V5.4 + SP4

Feature

Cpus with integrated PROFINET interfaces support over industrial Ethernet starting with firmware V2.3.0 or V2.4.0

Open communication function (referred to as: Open IE communication)

Open IE communication provides the following services:

● Connection-oriented protocols

- TCP compliant with RFC 793, connection type B#16#01, firmware V2.3.0 and later

- TCP compliant with RFC 793, connection type B#16#11, firmware V2.4.0 and later

- ISO-on-TCP compliant with RFC 1006, firmware V2.4.0 and higher

● No connection protocol

- UDP compliant with RFC 768, firmware V2.4.0 and later

Attributes of the communication protocol

The following protocol types are included in data communication:

● Connection-oriented protocols:

These protocols establish a (logical) connection to a communication partner before the data transfer and then after the transfer is complete

The connection needs to be closed. When the security of data transmission is particularly important, connection-oriented protocols are used. Usually pass

Multiple logical connections can be established over a single physical cable.

FB for open communication over "Industrial Ethernet" supports the following connection-oriented protocols:

- TCP compliant with RFC 793 (connection types B#16#01 and B#16#11)

- ISO-on-TCP according to RFC 1006 (connection type B#16#12)

● No connection protocol:

These protocols can work without establishing a connection. This means there is no need to establish and terminate connections to remote partners

Answer. Connectionless protocols do not require confirmation to transmit data to remote partners; Therefore, data transmission is not secure.

FB for open communication over industrial Ethernet supports the following connectionless protocols:

- UDP compliant with RFC 768 (connection type B#16#13)


How to communicate with Open IE?

To allow the exchange of data with other communication partners, STEP 7 provides the following FB and under Communication Blocks in the Standard Library

UDT:

● Connection-oriented protocols: TCP, ISO-on-TCP

- FB 63 "TSEND" for sending data

- FB 64 "TRCV" for receiving data

- FB 65 "TCON" for connection

- FB 66 "TDISCON" for disconnection

- UDT 65 "TCON_PAR", whose data structure allows the connection to be parameterized

● No connection protocol: UDP

- FB 67 "TUSEND" for sending data

- FB 68 "TURCV" for receiving data

- FB 65 "TCON" for establishing local communication access points

- FB 66 "TDISCON" for parsing local communication access points

- UDT 65 "TCON_PAR", whose data structure can be parameterized to local communication access points

- UDT 66 "TCON_ADR" with remote partner addressing parameter data structure

Operator controls and indicators for CPU 313C-2 DP

                                                                                            Quantity name

                                                                                            ① Status and error indicators

                                                                                            ② Slot of SIMATIC MMC card (including eject device)

                                                                                            ③ Integrated input and output terminals

                                                                                            ④ Power connection

                                                                                            ⑤ 2. Interface X2 (DP)

                                                                                            ⑥ 1. Interface X1 (MPI)

                                                                                            ⑦ Mode selector

A block of data for parameterization

A block of data for parameterizing TCP and ISO-on-TCP connections

To use TCP and ISO-on-TCP configuration connections, you need to create a number that contains UDT 65 "TCON_PAR" medians

According to the structure of DB. This data structure contains all the parameters needed to establish the connection. Each connection requires such a number

According to the structure, you can arrange it in the global data store.

The CONNECT parameter of FB 65 "TCON" contains a reference to the address of the corresponding connection description (e.g.,

P#DB100.DBX0.0 Byte 64).

A block of data used to parameterize local communication access points using UDP

To assign parameters to the local communication access point, create one that contains the UDT 65 "TCON_PAR" data structure

DB. This data structure contains the parameters needed to establish a connection between the user program and the communication layer of the operating system

The CONNECT parameter of FB 65 "TCON" contains a reference to the address of the corresponding connection description (e.g.,

P#DB100.DBX0.0 Byte 64).

Instructions

Setting Connection Instructions (UDT 65)

You need to enter the communication interface in the "local_device_id" parameter of UDT65 "TCON_PAR" (for example

B#16#03: Communication via IE interface integrated with CPU 319-3 PN/DP).


Establish communication connection

● Suitable for TCP and ISO-on-TCP

Both communication partners call FB 65 "TCON" to establish a connection. Define which communication partner is used as master during parameterization

Dynamic communication endpoints and which are used as passive communication endpoints. To determine the number of possible connections, see your CPU's technology

The technical specifications.

The CPU automatically monitors and maintains active connections.

If the connection is interrupted, for example due to an open circuit or a telecommunication partner, the active party will attempt to re-establish the connection

Answer. You don't have to call FB 65 "TCON" again.

The active connection is terminated by calling FB 66 "TDISCON" or when the CPU is in STOP mode. Want to re-

To establish a connection, you must call FB 65 "TCON" again.

● Suitable for UDP

Both communication partners call FB 65 "TCON" to set up their local communication access point. This will be in the user program and operation

Connections are established between the communication layers of the system. Connections to remote partners are not established.

The local access point is used to send and receive UDP packets.

Distinguish between PROFINET IO and PROFINET CBA features

                                           PROFINET IO and CBA represent automation equipment for "industrial Ethernet" from two different perspectives.

Component-based automation divides the entire device into different functions. These functions are configured and programmed separately.

The device view provided by PROFINET IO is very similar to the PROFIBUS view. You can continue to configure and configure individual programmable controllers


  • ASML 4022.631.15821 VAT Mirror Assembly AI-2 193nm
  • ASML 16-006335D01 Motion Interlock PWB Assembly
  • ASML 851-0618-003 Stepper Library Brake
  • ASML 4022.454.8555 Stepper Barcode Reader
  • ASML 4022.664.25702 SEM-I-311 Controller Module Set
  • SVG Lithography ASML 859-0501-003 F Assembly
  • ASML 4022.486.71154 Control Module
  • ASML 4022.422.4644 Stamp Up Down PCB for PAS 2500/5000
  • ASML 4022.430.0524 PCB Card PAS 5000 2500
  • ASML 4022.430.0479 Shutter Encoder Line Driver PCB
  • ASML 4022.472.86252 Pneumatic Manifold Assembly
  • ASML 4022.470.5116.2 Zerosensor Laser Assembly
  • ASML 4022.437.07471 Power Control Module
  • ASML 4022.436.6467 Motion Control Board MSR AB53
  • ASML 4022.481.27732 Temperature Sensor JUMO RTD
  • ASML 4022.472.42622 850nm Laser Module IR2-FIR
  • ASML 4022.630.2404 Monochrome Assembly
  • ASML 4022.436.80012 JDS Uniphase Laser 1135P-3348
  • ASML 4022.471.87587 Circuit Board Module
  • ASML 8790366 Air Puck Bearing Assembly
  • ASML 4022.471.8629 SVG Chassis Board Module
  • ASML 4022.656.54263 Flow Module ASL-007F
  • ASML 4022.431.04341 Lens Assembly PAS 5000 2500
  • ASML 4022.430.0336 Processor PCB Board SCPM PAS 5000
  • ASML 600114483401 Semiconductor Component
  • ASML 4022.436.4502 PCB PID Board Module
  • ASML TWINSCAN EXE 5000C LEGO Set Employee Edition
  • ASML 4022.455.09864 F11H SEM-I-1576 Module
  • ASML 4022.455.09864 SEM-I-1575 Controller Module Set
  • ASML SERV.454.71153 Beam Steering Laser BSM Mirror
  • ASML 4022.472.97505 ProDrive PCB Board with XP Modules
  • ASML 4022.436.6467 AT-700S PCB Circuit Board
  • ASML 4022.437.11214 Green Laser Module Control Module
  • ASML 4022.436.8226 PTI Base Board PCB Assembly
  • ASML TWINSCAN NXE:3400C LEGO Model Replica
  • ASML 4022.656.10962 SEM-I-811=9G21 Controller Module
  • ASML DRA100-A050S-HPO-2IFM-GIS 4022.651.06211
  • Mat 4022.631.70551 Reflector Module for ASML Laser Systems
  • Atlas Copco 49-4100-01C5LD Controller
  • Atlas Copco 4240-5000-01 Servo Motor
  • Atlas Copco Power Focus 4000 Control System 8433710005
  • Atlas Copco 9032012050 DMC51540PACEEXT24 Controller
  • Atlas Copco 6412873-014 Digital Motion Controller
  • Atlas Copco Tensor S4 Nutrunner Drive System
  • Atlas Copco P1900520022 Elektronikon Graphic Plus Panel
  • Atlas Copco DMC51540P-AC Digital Motion Controller
  • Atlas Copco PF4000-G-PN-HW Tool Controller
  • Atlas Copco QCS-T 340 50 Control Unit
  • Atlas Copco IAM MT Automation Module 8432085230
  • Atlas Copco ETV DS7-50-10S Electric Angle Nutrunner
  • Atlas Copco TC-4000-P-PN-ES Power MACS Controller
  • Atlas Copco TC-4000-S-ES Power MACS Controller
  • Atlas Copco Power Focus 4000 Control System PF4000-C-HW
  • Atlas Copco 1900520022 Controller Panel for Compressor
  • Atlas Copco 2906-0152-00 ZR5 Cooler Cleaning Kit
  • Atlas Copco 484000-02401 Power Focus Controller Accessory
  • Atlas Copco 3HAB8101-2/04B Robot Controller Module
  • Atlas Copco 4220437510 Power Focus Tool Cable 10m ST
  • Atlas Copco ETD ST101-100-13-T25-F Corded Bar Wrench
  • Atlas Copco QCS-T34025 Quick Connect System
  • Atlas Copco HR115-C6-88S Electric Nutrunner
  • Atlas Copco 4240031280 PF4 Tool Cable Assembly
  • Atlas Copco 3HAB8101-11 Robot Controller Component
  • Atlas Copco 1614 6449-00 Regulating Valve
  • Atlas Copco 9040120204 Power Box Tool Controller 400VAC
  • Atlas Copco 1900100381 Control Panel for Air Compressor
  • Atlas Copco TC-4000-P-PB-ES Power MACS Controller Drive
  • Atlas Copco 2012-S7-115R Power Focus Torque Controller Tensor S7
  • Atlas Copco IRC-Focus-B-C-EIP-HW IRC Focus Controller with Bluetooth
  • Atlas Copco LTV 48 R150-HAD Nutrunner Air Wrench
  • Atlas Copco TC4000-P-ES Torque Controller 8435651100
  • Atlas Copco 4240-5008-01 Servo Motor
  • Atlas Copco 8433-0015-30 Controller Module
  • Atlas Copco 3HAB8101-6/07B Servo Driver
  • Atlas Copco QST Cable 4220379907
  • Atlas Copco 1900071181 Compressor Control Panel
  • Atlas Copco 1900071292 Compressor Control Panel
  • Atlas Copco 2101-S9-115R Tensor S9 Power Focus Controller
  • Atlas Copco XC2002 Compressor Control Panel 1604951600
  • Atlas Copco 4240500201 PF4 Interface Cable
  • Atlas Copco PF4 Tool Cable 5M ST 4220 2636 05
  • Atlas Copco PF4 Tool Cable 5M ST 4220 2636 05
  • Atlas Copco 4240-0366-82 PF4 Tool Cable 5 Meter
  • Atlas Copco 4240-0367-81 PF4 Tool Cable with Straight Connector
  • Atlas Copco 4240-0367-82 PF4 Tool Cable Assembly
  • Atlas Copco 2101-S9-115R Electric Nutrunner Assembly Tool
  • Atlas Copco 3HAB8101-7 Control Interface
  • Atlas Copco 3HAB8101-3/07B Control Module
  • Atlas Copco PF6000 IAM Station Control
  • Atlas Copco 8433-0610-04 Selector-4 Controller
  • Atlas Copco Power Focus PF4000-C-DN-HW Tool Controller
  • Atlas Copco SAM-PA-400-30-E Power Supply Module
  • Atlas Copco PF3007-C-H Tensor S4 S7 Torque Controller
  • Atlas Copco PF4000-C-HW Control System 8433610005
  • Atlas Copco BSM 2590D R Servo Motor 4230 3012 80
  • Atlas Copco 80450.000029 Servo Motor Gear Drive Unit
  • Atlas Copco 3HAB8101-4/02D Servo Driver DSQC345D
  • Atlas Copco 1900071032 Compressor Control Panel
  • Atlas Copco 1900520400 Compressor Control Panel
  • Atlas Copco Power Focus PF4000-C-EIP-HW Tool Controller
  • Atlas Copco PF6000IF 8436180202 Controller
  • Atlas Copco 8202900410 Power Supply Unit
  • Atlas Copco 4240-0355-80 Interface Module
  • Atlas Copco 1089935597 Start Switch Control Panel
  • Atlas Copco 1626850003 XC2003 Control Panel
  • Atlas Copco STR61-200-20 Angle Wrench
  • Atlas Copco 1900070123 Power Control Module
  • Atlas Copco 1089935597 Compressor Control Panel
  • Atlas Copco ETP ST32-10-10 Pistol Nutrunner
  • Atlas Copco 1900520400 Control Panel Unit
  • Atlas Copco 48R050-01001 Relay Module
  • Atlas Copco 49-4100-01C5L Power Supply
  • Atlas Copco D303-DL-BASIC Controller
  • Atlas Copco 8433056445 I/O Expander Error Proofing Module
  • Atlas Copco PF4000-G-HW Screwdriver Controller
  • Atlas Copco 1202-66270-9325 Cooler Cover Valve
  • Atlas Copco EA2-TX-100 Dew Point Sensor
  • Atlas Copco PF4000-C-HW Controller 240VAC
  • Atlas Copco 1900 0701 05 Elektronikon Control Panel
  • Atlas Copco PF3107-C-HW Tensor 3-7 Controller
  • Atlas Copco TPS Control 8202900410 Controller
  • Atlas Copco 1900-1005-27 Circuit Board XAS 750
  • Atlas Copco Power Focus SL PF4002-C-HW Controller
  • Atlas Copco 1900520490 Air Compressor Control Panel
  • Atlas Copco QCM2-T-34050 Mass Flow Meter
  • Atlas Copco CSS91-B2 Compressor Controller Module
  • Atlas Copco PF3109-C-DN-HW Industrial Controller
  • Atlas Copco P1900520060 Air Compressor Controller Gateway