Welcome to the Industrial Automation website!

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

S7-300 CPU 31xC 和 CPU 31x

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


  • ABB DSQC355A Analog Input/Output Module
  • ABB PFEA111-65 Tension Controller
  • ABB PM645B processor module
  • ABB FS450R12KE3/AGDR-71C driver combination
  • ABB D2D146-AA28-28 fan
  • ABB PPD513A0E110110 3BHE039724R0E41 Controller
  • ABB PFVO102 PFVO142 3BSE023732R1 Controller Module
  • ABB XFD213A 3BHE02812R0001 Speed Sensor Interface
  • ABB 560PSU02 1KGT011900R0001 power supply device
  • ABB 4LA41100102V1.2 KB2 Broken Board Detector
  • ABB 3BHE023784R1023 PP D113 B01-10-150000 Controller Module
  • ABB 3BHE02294R0103 GFD233A103 Multi functional Control Machine
  • ABB 500MBA02 1MRB150003R003 1MRB200053/M Controller Module
  • ABB 500MBA02 1MRB150003R000/B drive module
  • ABB 500MBA01 1MRB150003R002 1MRB200053/L control card
  • ABB CH-3185 3BHL000986P1006 Controller
  • ABB 969.105EBG 540KKS166899 Controller
  • ABB WE-73-10/CH 64421956 THYRISTOR MODUL
  • ABB 12556917-738385 RADOX GKW cable
  • ABB AF400-30 contactor
  • ABB 103.32125AF 8431160021 connector
  • ABB MTA025 EBG92026 motor terminal adapter
  • ABB 3BHE034863R001 UDC920BE01 Analog Input Module
  • ABB 3BHB009175R0001 Automation Module
  • ABB 3BHB004791R0101 Controller Module
  • ABB HIES208441R interface module
  • ABB SCYC51220 multi-channel pulse trigger board
  • ABB SCYC51213 63911607C multi-channel pulse trigger board
  • ABB SCYC51204 63912476 Transient Absorber Module
  • ABB SCYC51204 63912476C Advanced Pulse Trigger Board
  • ABB TNR 25590 TNR25590 Thermal Overload Relay
  • ABB KTS 011 KTS011 Compact Thermostat
  • ABB KTO 011 KTO011 Compact DIN Rail Thermostat
  • ABB B09261 Electronic Motor Protection Relay
  • ABB LT2005-S/SP19 Programmable Logic Controller
  • ABB RM602024 intermediate relay
  • ABB RM302024 Relay
  • ABB GRBTU-01 3BSE01317R1 DC motor inverter module
  • ABB SZ4127.000 door switch
  • ABB CT-APS.22 1SVR630180R3300 Controller
  • ABB NTAC-02 58967441E pulse encoder
  • ABB BN5930 safety relay
  • ABB UAC389 HIEE410506P104 Industrial Automation Controller
  • ABB UFC921A 3BHE024856P201 industrial control module
  • ABB XVC724BE102 3BHE009017R0102 circuit board
  • ABB LDMUI-01 61320946 High Performance LD MU I/O Module
  • ABB 704.910.4 contact block strip
  • ABB 704.910.5 position switch
  • ABB IEC/EN 60947 contactor
  • ABB E-UK terminal fixing components
  • ABB DIL EM-01-G contactor
  • ABB 90.21 relay
  • ABB 55.34.9.024.0040 Timer Relay
  • ABB 60.13.9.024.0040 power relay
  • ABB KD2406PTBX 24V DC terminal block module
  • ABB PS201PRE fuse module
  • ABB ZM-16-PKZ2 contactor
  • ABB PKZMO-10-T motor protection circuit breaker
  • ABB ZM-40-PKZ2 motor protection stroke block
  • ABB FAZ-C6/1 Miniature circuit breaker
  • ABB FAZ-C10/1 miniature circuit breaker
  • ABB FAZ-C2/1 Circuit Breaker
  • ABB FAZ-C2/2-DC Circuit Breaker
  • ABB FAZ-XHIN11 auxiliary contact equipment
  • ABB Z-NTS neutral wire circuit breaker
  • ABB M3V4-1/0-0 64122088 Input/Output Module
  • ABB NDBU-95C 64008366D control module
  • ABB LWN2660-6EG Automation Control Module
  • ABB LWN2660-6E power supply
  • ABB FPX86-9377-A capacitor
  • ABB MR627 P89627-0-2333400-300-401-601-701 Motor Control Unit
  • ABB 57619414 A 1/2 connector module
  • ABB 57619414 A 2/2 connector module
  • ABB LDMTR-01 63940135F Input/Output (I/O) Module
  • ABB LDSTA-01 63940143B Input/Output (I/O) Module
  • ABB CRBX01 2VAA008424R1 Remote Bus Expander
  • ABB UNITRAL1010 3BHE035301R1002 UNS 0121A-Z, V1 high-performance excitation controller
  • ABB UNITRAL1010 3BHE035301R0001 UNS 0121 A-Z, V1 brushless excitation system
  • ABB CHBX01R 2VAA008575R1 Compact Bus Expander
  • ABB CHBX01L 2VAA008574R1 Bus Expander
  • ABB RMU610 2VAA008425R1 redundant communication module
  • ABB 3BUS208796-501 Communication Module
  • ABB 128057-204 086345-504 multifunctional module
  • ABB HIEE205014R1 HI220856-312/20 UNC4673AV1 redundant controller
  • ABB PP882 3BSE069275R1 Control Panel
  • ABB AC800M PM891 3BSE053240R1 Controller Module
  • ABB AC900F PM904F 3BDH0001002R0001 Controller
  • ABB P8151B communication interface module
  • ABB P8403C controller module
  • ABB P8431 controller module
  • ABB Y129740-002 Analog Module
  • ABB PFTL201D 100KN 3BSE008922R0100 Tension Sensor
  • ABB PPD117A3011 3BHE030410R3011 Excitation Controller
  • ABB PPD512A10-454000 3BHE040375R103E Static Excitation System Unit Module
  • ABB 3BHE046836R0101 GFD563A101 Interface Module
  • ABB 3BHE023784R2530 PPD113B01-25-111000 Controller Module
  • ABB PFCL201CE 50KN 3BSX802939-108 Tension Controller
  • ABB LS4000 diode laser analyzer
  • ABB REM615 HBMBCCAHNB1NN1XD Motor Protection Control
  • ABB 3BHE017628R0002 PPD115A02 SG579989013 Controller Module
  • ABB G2000A5.7ST human-machine interface
  • ABB DKTFM418B 3BHB015651P0001 Controller
  • ABB 3BHE039724R0C3D PPD513 A0C-100440 AC800PEC Controller
  • ABB PPD513AOC -100440 3BHE039724R0C3D 800 D513 Integrated Gate Commutator Transistor (IGCT)
  • ABB XUD194 XUD194A 3BHC018137R0001 Controller Unit Module
  • ABB UDC920BE01 3BHE034863R0001 High Voltage Inverter
  • ABB PPD517A3011 3BHE041576R3011 Excitation Controller
  • ABB MT-91-ARC FP A Control Panel
  • ABB UAC383AE01 HIEE3008900001 interface module
  • ABB XVC722AE101 3BHB002751R0101 High Performance Industrial Control Module
  • ABB TB820V2 3BSE013208R1 Modulebus Cluster Modem
  • ABB 3BHE003604R0102 UFC765AE102 circuit board
  • ABB SPSED01 High-Performance SOE DI Module
  • ABB GFD233A103 3BHE02294R0103 multifunctional control machine
  • ABB DO810 3BSE008510R1 Digital Output Module
  • ABB PM866A 3BSE076359R1 Process Controller
  • GE P111-6053 Advanced Microcontroller
  • GE SPU232.1-CAN PART NO: 029.354 630. Industrial grade module
  • ALSTOM VCM 232.2 029.359 088 VME-MANAGER-MASTER 0085.022.99
  • ALSTOM Centrol Unit COP 232.2 029.232 446
  • ABB PPD539A102 3BHE039770R0102 Control System Module
  • ABB UFC921A101 3BHE024855R0101 Digital Control Module
  • ABB UFC911B106 3BHE037864R0106 Voltage Measurement Board
  • ABB 5SHY4045L0006 3BHB030310R0001 IGCT module
  • ABB HIEE300024R4 UAA326A04 control module
  • ABB PPC905AE101 3BHE014070R010 Controller Module
  • ABB CDP-312R CONTROL PANEL
  • ABB TPPB-02 Control Processor Module