Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

S7-300 CPU 31xC 和 CPU 31x

来源: | 作者:佚名 | 发布时间 :2023-11-20 | 895 次浏览: | 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


  • ALSTOM NRD108034 8RDB44674G01 SA44674.C Control Card
  • ALSTOM N897092520B N897092057Y TRENO N897092500E
  • ALSTOM NRD108033 8RDC44667G01 SA44667.C Control Circuit Board
  • ALSTOM TRVC062105000 TRVC070938000 Series Specification
  • ALSTOM SDK-C0147 12004-101-00 SBS04M17C Control Module Technicals
  • ALSTOM N895313512X Digital Output Module
  • ALSTOM P70035W82V Feeder Protection Relay
  • ALSTOM N897164624A Digital Input Module
  • ALSTOM N897164611M Power Supply Module
  • ALSTOM N897164610L Communication Interface Module
  • ALSTOM N70032702L Protection Relay Module for Power Systems
  • ALSTOM MVAJ21L1GB0771B Voltage Protection Relay
  • ALSTOM MFAC34N1AA0001A Overcurrent Protection Relay
  • ALSTOM MCTI40N1AB0751G Current Differential Protection Relay
  • ALSTOM MCGG22L1CB0753E Overcurrent Protection Relay
  • ALSTOM MVAW 11B1AB0513A Trip Circuit Supervision Relay
  • ALSTOM MVTU 11K1CD0751G Voltage Transformer Supervision
  • ALSTOM MVAJ27L1FB0784D High Speed Tripping Relay Guide
  • ALSTOM MAVS01L1AB0501D Voltage Selection Relay Documentation
  • ALSTOM MVAW11B1AB9007A Trip Circuit Supervision Relay
  • ALSTOM MFAC14K1AA0001A Feeder Protection Relay
  • ALSTOM MCGG62N1CB0753F Generator Protection Relay
  • ALSTOM MAVS01L1AB0751D Protection Relay
  • ALSTOM PIB1201A 3BEC0067 Interface Module
  • ALSTOM V4555724-0100 Voltage Protection Relay
  • BENTLY 1900/65A-01-01-03-00-01 Monitor
  • BENTLY 3500/42-01-00 Proximitor Monitor
  • BENTLY 3500/54-03-00 Temperature Monitor
  • BENTLY 163179-02 Accelerometer
  • BENTLY 3500/94 145988 Display
  • Bently Nevada 1X35668 Replacement Internal Component Analysis
  • Bently Nevada 3500/22M 138607/01 Transient Data Interface
  • Bently Nevada 3500/40M 135489-04 Proximitor Monitor Module
  • Bently Nevada 3500/40M 125680-01 Proximitor Monitor
  • Bently Nevada 3500/15 127610-01 Power Supply Module
  • Bently Nevada 1900/65A-00-01-01-01-01 Machinery Monitor
  • Bently Nevada 3500/65 145988-02 Temperature Monitor
  • Bently Nevada 330876-03-50-00-00 Proximity Probe
  • BENTLY 3500/93 135785-02C System Display Module
  • BENTLY 3701/55 323174-01 ADAPT Input/Output Module
  • BENTLY 3500/42M 140734-99 Modification Module
  • BENTLY 3701/55 289761-01 ADAPT Emergency Shutdown Device
  • BENTLY 3500/42M 140734-02 Proximitor Seismic Monitor
  • BENTLY 3500/15 114M5330-01 Power Supply Module
  • BENTLY 3500/92 136180-01 Communication Gateway
  • BENTLY 3500/93 135799-01 LCD Display Module
  • BENTLY 3500/22 Transient Data Interface Module
  • BENTLY 9200-01-01-10-00 General Purpose Monitor
  • BENTLY 3500/65 145988-02 Temperature Monitor
  • BENTLY 1900/65A 172323-01 General Purpose Monitor
  • BENTLY 3500/22M 138607-01 Transient Data Interface
  • BENTLY 149986-01E 3300 XL 8mm Proximity Probe
  • BENTLY 1900/65A-01-01-03-00-01 General Purpose Monitor
  • BENTLY 136719-01 3500/92 Communication Gateway I/O
  • BENTLY 3500/22-01-01-00 Transient Data Interface Module
  • BENTLY 3500/22M 288055-01 Transient Data Interface
  • BENTLY 131151-01 3500/50 Tachometer I/O Module
  • BENTLY 1900/65-00-01-03-01-01 General Purpose Monitor
  • Bently Nevada 3500/54 133396-01 Overspeed Detection Monitor
  • Bently Nevada 3500/45 176449-04 Position Monitor
  • Bently Nevada 3500/42 140471-01 Proximitor Monitor
  • Bently Nevada 3500/94 147663-01 VGA Display Module
  • Bently Nevada 3500/42M 140482-01 Proximitor Monitor
  • BENTLY 3500/53 133396-01 Relay Module (Alternate Version)
  • BENTLY 3500/20 125744-01 Rack Interface Module
  • BENTLY 3500/53 133388-01 Relay Module
  • BENTLY 3500/15 114M5335-01 Power Supply Module
  • BENTLY 3500/40M 140734-01 Proximitor Monitor Module
  • BENTLY 3500/15 125840-02 AC Power Supply Module
  • BENTLY 3500/20 125744-02 Rack Interface I/O (Modbus)
  • BENTLY 3500/94 145988-01 VGA Display Interface
  • BENTLY 3500/20 125760-01 Rack Interface Module
  • BENTLY 3500/20 125768-01 Rack Interface I/O Module
  • Bently Nevada 128275-01 Internal Barrier Module
  • Bently Nevada 3500/05 System Rack
  • Bently Nevada 3500/32 125720-01 Relay Module
  • Bently Nevada 3500/15 125840-01 Power Supply Module
  • Bently Nevada 3500/32 125712-01 Relay Module
  • BENTLY 3500/92 136188-01 Communication Gateway
  • BENTLY 147663-01 3500 System I/O Module
  • BENTLY 3500/94 145988-01 VGA Display Interface
  • BENTLY 128085-01 Keyphasor I/O Module (Internal Termination)
  • BENTLY 128031-01 Proximitor Seismic I/O Module
  • Bently Nevada 124761-01 8mm Proximity Probe
  • Bently Nevada 128277-01 Half-Height Blank Panel
  • Bently Nevada 128276-01 Communication Interface Module
  • Bently Nevada 128275-01 Heavy Duty Drive Module
  • Bently Nevada 3500/64M 140734-05 Dynamic Pressure Monitor
  • ABB AX411/511010 Conductivity and pH Analyzer
  • ABB AX411/511010 Single Input pH/ORP Analyzer
  • BENTLY 1-536067-4 Proximitor Connector Lead
  • BENTLY 3500/34 125696-01 TMR Relay Module
  • BENTLY 125704-01 3500/32M I/O Module
  • BENTLY 126632-01 Keyphasor I/O Module
  • BENTLY 3500/25 125792-01 Keyphasor Module
  • Bently Nevada 2300/25-00 Vibration Monitor
  • Bently Nevada 3500/05-01-03-00-00-00 Rack
  • Bently Nevada 3500/42M 140734-02 Monitor
  • Bently Nevada 123M4610 Accelerometer
  • Bently Nevada 3500/05-02-04-00-00-00 Rack
  • Bently Nevada 3500/53 133388-01 Overspeed Detection Module
  • Bently Nevada 3500/32 125712-01 Relay Module for Machinery Protection
  • Bently Nevada 3500/20 125744-02 Rack Interface Module
  • Bently Nevada 3500/40M 140734-01 Proximitor Monitor Module
  • Bently Nevada 3500/60 163179-01 Temperature Monitor Module
  • BENTLY 3500/22M 288055-01 Enhanced TDI Module
  • BENTLY 3500/22M 146031-01 TDI Module
  • BENTLY 133396-01 3500/22M I/O Module
  • BENTLY 3500/34 TMR RMS Interface Module
  • BENTLY 128275-01-E Proximitor I/O Module
  • Bently Nevada 128276-011 Proximity Probe
  • Bently Nevada 135489-03 Accelerometer
  • Bently Nevada 135473-01 Seismic Transducer
  • Bently Nevada 1900/55 General Purpose Monitor
  • Bently Nevada ASSY78462-01U Proximitor Assembly
  • Bently Nevada 330100-90-01 Proximity Probe for Vibration Monitoring
  • Bently Nevada 330100-90-00 Proximity Probe for Machinery Monitoring
  • Bently Nevada 132419-01 Proximitor Sensor for Vibration Monitoring
  • Bently Nevada 10244-27-50-01 Proximity Probe Extension Cable
  • Bently Nevada 22810-01-05-50-02 Proximity Probe System
  • BENTLY 330980-51-00 3300 NSv Proximitor Sensor
  • BENTLY 330130-045-00-00 3300 XL Extension Cable
  • BENTLY 1X35668 Replacement Internal Module
  • BENTLY 3300/16 Dual XY Vibration Monitor
  • BENTLY 3500/15 133292-01 High Availability Power Supply
  • Bently Nevada 3500/62 163179-03 Process Monitor
  • Allen-Bradley 80190-100-01-R*3 Output Module
  • Allen-Bradley 80190-099-01 Analog Module