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 | 1370 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


  • Bonfiglioli CM-485 T Communication Module
  • Bonfiglioli W75UF1D30P90B5 Gearbox
  • Bonfiglioli BN63 B4 VF49 Gearmotor 0.18kW
  • Bonfiglioli ACT 400-004 FA Frequency Inverter
  • Bonfiglioli W110U100P90B5B3 Worm Gearbox
  • Bonfiglioli SYN10 T 400 05 AF Inverter
  • Bonfiglioli MP080.1.4.15.16.40.80.100 Gearbox
  • Bonfiglioli SYN10S Inverter
  • Bonfiglioli VF44L2P160 Gearmotor
  • Bonfiglioli W 86 U 40 P90 B5 B3 Gear Reducer
  • Bonfiglioli BTD5-1870-05-400 Servomotor
  • Bonfiglioli MP 080 2 2C Gearbox with BLDC Motor
  • Bonfiglioli MP080.1.10 Planetary Gearbox
  • Bonfiglioli C212PHS Reducer
  • Bonfiglioli MVF 49F1 Gearbox with ICME T71B4
  • Bonfiglioli VF 49 v P71 B5 Gearbox
  • Bonfiglioli VF 44 P1 Gearmotor
  • Bonfiglioli C 22 2 NP 6.1 Helical Gearbox
  • Bonfiglioli F203 316.9 Gearbox with Kaiser Motor
  • Bonfiglioli SYN10 S 220 07 AF Frequency Inverter
  • Bonfiglioli 301L251.8-HC-P90 Gearbox 1/51.8
  • Bonfiglioli ACT401-25A Frequency Inverter
  • Bonfiglioli W75 U D30 30 P90B14 B3 Worm Drive
  • Bonfiglioli 830G2310M-307638 Motor
  • Bonfiglioli C112-P-P90 Inline Gearbox i=6.2
  • Bonfiglioli SYN10-S-220-03-AF AC Drive
  • Bonfiglioli VFR49 A HS Worm Drive i=180 B3
  • Bonfiglioli ACT 401-29 A AC VFD Drive 22kW
  • Bonfiglioli VF49PIP63B14 Gearbox
  • Bonfiglioli ANG 410-18 2 FA Inverter
  • Bonfiglioli GVX2000-7.5-T Converter
  • Bonfiglioli EM-ENC-02-24 Optical Module
  • Bonfiglioli ACT 401-33 A VFD Drive
  • Bonfiglioli MVF 49F1 Gearbox with ICME T71B4
  • Bonfiglioli BN112M4 Motor
  • Bonfiglioli MP080.1.7 Planetary Gearbox
  • Bonfiglioli VF-EP 49 BN-71-B2 Gearmotor
  • Bonfiglioli W75UD3010P80B14B3 Gear Reducer
  • Bonfiglioli W 110 U 100 P80 B5 B3 Worm Gearbox
  • Bonfiglioli ACT 201-11 FA Frequency Inverter 1.5kW
  • Bonfiglioli MP080380STDISS5 Planetary Gearbox
  • Bonfiglioli ACU 210-05 1 FA Frequency Inverter
  • Bonfiglioli BN63B4 Electric Motor 265 460V
  • Bonfiglioli BN 63 C 2 Electric Motor
  • Bonfiglioli 12.502.410 BCLP 40XDSM Assembly
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli MP 130.2.20.15.16.40.80.100 Gearbox
  • Bonfiglioli VF49N60HSB3 Gearbox
  • Bonfiglioli VF30P Gearbox
  • Bonfiglioli ACU410-31A5 Inverter
  • Bonfiglioli 301L251.8 Gearbox
  • Bonfiglioli 8XNC63040004 Electric Motor
  • Bonfiglioli VF30F115P63B14B3 Gearbox
  • Bonfiglioli RAN 28/DA HS Right Angle Gear Unit
  • Bonfiglioli 300L220.1PCP90E Gear Unit
  • Bonfiglioli BN90LA4 Motor
  • Bonfiglioli KG2001030 Gear Unit
  • Bonfiglioli VF44F135P71B14B3 with VF30 Combination
  • Bonfiglioli W63 U P90B5 B3 Gear Motor 10:1
  • Bonfiglioli W75 U D30 15 P90 B5 B3 Gearbox
  • Bonfiglioli B310 DC Motor 600W 3000rpm
  • Bonfiglioli W 110 U 100 P80 B5 B3 Gearbox
  • Bonfiglioli VF44P120P71B5B3 Worm Gearbox
  • Bonfiglioli BN 71 B 2 Gearmotor VF44 F1 P71B14
  • Bonfiglioli 2E130136140005 Assembly Reference
  • Bonfiglioli KE0702030 Gearbox
  • Bonfiglioli ACT400-004A Frequency Inverter
  • Bonfiglioli W110 UFC1 P100 B14 B6 Gearbox
  • Bonfiglioli Vectron ZBA400-010FC Inverter
  • Bonfiglioli 700C-1H Final Drive Motor
  • Bonfiglioli VF 86 P Gearbox
  • Bonfiglioli W63 U 15 Gearbox
  • Bonfiglioli VF/W30/63U450P63B14B3 Gearbox
  • Bonfiglioli BN 63 A 2 Gear Motor
  • Bonfiglioli BN 63B 4 Motor
  • Bonfiglioli VF44P17 Gearmotor
  • Bonfiglioli T56BN/4 Asynchronous Motor
  • Bonfiglioli W63UF1P90B5 Worm Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli W63UFC1P90B5 Worm Gearbox
  • Bonfiglioli W75 1/50 D30 Speed Reducer
  • Bonfiglioli KG2401180 Non Standard Gearbox
  • Bonfiglioli ACU 201 07 FA Frequency Inverter
  • Bonfiglioli RAN25SA1HSB3 Gear Unit
  • Bonfiglioli SPL400 17F Industrial Drive 3.7kW
  • Bonfiglioli VF63P124P71B14B3 Worm Gearbox
  • Bonfiglioli W63U64P71B5B3 Worm Gearbox
  • Bonfiglioli BN90LA4FD Motor
  • Bonfiglioli ANG 410-33 6A Inverter
  • Bonfiglioli CM-CAN 149-650-034 179-675 140 Communication Module
  • Bonfiglioli WR110U120P90B5B3 Gearbox
  • Bonfiglioli C 112 F S05 Gearmotor with Pump
  • Bonfiglioli C50 2P P100 Gear Reducer
  • Bonfiglioli ACT 401-31A Inverter 30kW
  • Bonfiglioli A102UH25S1PV Gearmotor
  • Bonfiglioli ACT 201-05 FA Inverter
  • Bonfiglioli AGL402-21 3FA Inverter
  • Bonfiglioli VF49 V 71B14 Gearbox with ESA 6S 12 Motor
  • Bonfiglioli GVX2002-22-T Inverter 22kW
  • Bonfiglioli BN63A2 Electric Motor
  • Bonfiglioli EM I/O-03 I/O Module
  • Bonfiglioli C112 U P63 Inline Gearbox
  • Bonfiglioli BRA 400-075 BF2 Brake Chopper
  • Bonfiglioli VF49 P1 HSRB Worm Gearbox
  • Bonfiglioli GVX2000-18.5-T Inverter
  • Bonfiglioli BMD 118 14 3000 400 165 24 K 67 TC1 Drive
  • Bonfiglioli WR 86 U 120 P80 B5 V5 Gearbox
  • Bonfiglioli W110U56P100B5B3 Gear Reducer
  • Bonfiglioli A202 UR 35.4 Bevel Gearbox
  • Bonfiglioli ACU 401-26A Inverter
  • Bonfiglioli BN 71 B 4 Motor
  • Bonfiglioli Vectron BTD5-1870-05-400 Servo Motor
  • Bonfiglioli BE 80B 4 Motor with C122PP80 Gear
  • Bonfiglioli TR160225STD130ACD Gear Unit
  • Bonfiglioli W 63 U 24 P71 Gearbox
  • Bonfiglioli Trasmital KYB MHKAYABAKTMAGA050VP34 Hydraulic Track Drive
  • Bonfiglioli EM-ABS-01 Encoder Module
  • Bonfiglioli RPS Log 100 Data Logging Module
  • Bonfiglioli VF49P1P71B14 Gearbox
  • Bonfiglioli W86U Right Angle Gear Reducer
  • Bonfiglioli W63 U P71B5 Gear Reducer
  • Bonfiglioli W63UP90B5 Gearmotor
  • Bonfiglioli VER/S 400-150 Inverter
  • Bonfiglioli F202 H30 P80 Gearbox
  • Bonfiglioli W75UD307P90B14 Gearbox
  • Bonfiglioli MPC1004S000D MP 080 Planetary Gearbox
  • Bonfiglioli Vectron ACU 401-29A Inverter
  • Bonfiglioli MPB1010S0001 Gearbox