Welcome to the Industrial Automation website!

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

S7-300 CPU 31xC 和 CPU 31x

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


  • GE IS215VCMIH2CA IS200VCMIH2CAA Communication Interface Board
  • GE IS215UCVGM06A IS215UCVGH1A VMIVMME-7666-11000 Serial Communication Module
  • GE SR745-W3-P5-G5-HI Transformer Protection Relay
  • GE IS220PDIIH1B 336A5026ADP1 Input/Output Module
  • GE IS200SDIIH1ADB MRP683026 Contact Input Isolation Terminal Board
  • GE WESTEM D20 M++CNC System
  • GE SR745-W2-P1-G1-HI-E-H Generator Relay Protection Device
  • GE SR469-P5-HI-A20-H motor protection relay
  • GE IS200TDBTH6ACD gas turbine control system module
  • GE WESDAC D20 C Combination Module
  • GE IC698CMX016 Control Memory Switch Module
  • GE SRPE60A 40 rated plug
  • GE 94-164136-001 motherboard control board
  • ABB PCD237A101 3BHE028915R0101 excitation control module
  • ABB XZC826A102 3BHE036348R0102 control module
  • ABB SAFT183VMC Safety Monitoring and Control Module
  • ABB LD 810HSE EX 3BSE091722R1 fieldbus link equipment
  • ABB RED615 HCDCACADAAHC2BNN11E Line Differential Protection and Control
  • ABB UFC760BE41 3BHE004573R0141 Industrial Computer Board
  • ABB 1TGE120011R2200 Motor Feed Control Unit
  • ABB PM865 3BSE030193R1 Compact Programmable Controller
  • ABB MVR 0.44-10KA high-power motor control module
  • ABB AO810 Input/Output Module
  • ABB SPAU341C1-AA RS488003-AA numerical protection repeater
  • ABB DSTA131 2668180-48/2 Programmable Logic Controller
  • ABB COM00012RAA005844A0004J2RAA005696N Control Panel Module
  • ABB MR7557891MRS050640C power relay
  • ABB 2RCA025057A0001R safety relay
  • ABB 2RCA013892A0003H power relay
  • ABB 2RCA013655A0001H power relay accessories
  • ABB 07KT94-98 controller
  • ABB 1MRK002247 Apr04 Transformer Module
  • ABB UNS0884a-v1 3BHE004385R0001 current sensor
  • ABB WMDOLT2-A75 (65KA) 6E 1TGE106812P0001 Input and Output Board
  • ABB Uras26 F-No. 3.346368.0 A-No 0240462201/2030 Gas Chamber Detector
  • ABB UFC911B101 3BHE037864R0101 control board
  • ABB TU841 3BSE020848R1 Termination unit for 1+1 TB840
  • ABB REF541KM115AAA relay feeder protection
  • ABB NINT-71C main circuit interface board
  • ABB LS14250 lithium battery
  • ABB ICSF08D1 FPR3323101R1012 24VDC high-speed counter
  • ABB DO814 Input/Output System
  • ABB 769111B gas chamber detector
  • ABB CM10/00MU1E0/STD Process Controller
  • ABB 769154 A filter element
  • ABB 769137 C 13CO2-10% 0746919 E detector
  • ABB 0769143 A Sample cell (Al), 175 mm
  • ABB 0002-07-2-000001-01 BMXS Scientific Module (ADC)
  • ABB CM15/000S0E0/STD Universal Process Indicator
  • ABB BSD0750 servo drive
  • ABB CI854BK01 Communication Interface Module
  • ABB XVC772A102 3BHE0322285R0102 circuit board
  • ABB AI04 Input/Output System
  • ABB TU847 module terminal unit
  • ABB TB807 module bus terminator
  • ABB PP877K control panel
  • ABB AO845A eA Analog Output Module
  • ABB SD822 power supply equipment
  • ABB 3BHB006716R0277 SYN5302A-Z.V277 synchronizer
  • ABB GFD233A103 3BH02294R0103 Controller
  • ABB 129740-002 134177-001 Intelligent I/O Module
  • ABB XUD194 3BHE018137R0001 AC800PEC High Performance Controller
  • ABB T3N225 Circuit Breaker
  • ABB A30-30-10RT three pole AC contactor
  • ABB SYN5302A-Z, V217 3BHB006716R0217 digital synchronizer
  • ABB NBIO-31 3BSE011337R1 I/O and Expansion Control Module
  • ABB 5SHX1960L0006 3BHB016120R0002 3BHE019719R0101 GVC736BE101 High Voltage Inverter Module
  • ABB PPC905AE101 3BHE014070R0101 control module
  • ABB REF615E_E HBFHAEAGNBA1BNN1XE digital feeder protection relay
  • ABB XVC770BE101 3BHE02103R0101 circuit board module
  • ABB 3BHL000986P7001 redundant DC power supply unit
  • ABB 3HAB8101-18/09A servo drive
  • ABB PM876-1 3BDH000707R1 Controller
  • ABB PPD117A3011 3BHE030410R3011 Excitation Controller Module
  • ABB 1MRK0023505-AA Transformer Differential Protection Relay
  • ABB PFSA140RULLM7A 3BSE006503R1 safety relay module
  • ABB PFSA140RULM1I 3BSE06503R1 drum power supply device
  • ABB MVME162-010A Embedded Controller Module
  • ABB 500BIM01 1MRB150024R0002 Digital Input Module
  • ABB 500BIM01 1MRB160024R0002 Digital Input Module
  • ABB 500PSM03 1MRB 150038 R1 894-030375D 136-011100H power module
  • ABB 500PSM02 1MRB150015R1 AD-272.100.20-01 AZ: C digital power module
  • ABB 500AIM02 1MRB150022 R0002 1HDF 930412 X010 Controller Module
  • ABB 500AIM02 1MRB150022 R0002Y 1HDF 930412 X010 Controller Module
  • ABB 500AIM02 1MRB150022R001 1HDF 930412 X010 Analog Input Module
  • ABB 500MTM02 1MRB150020R1102 1HDF 930512 X010 Controller Module
  • ABB 500MTM02 1MRK001967-AA 1HDF 930512 X010 Input/Output Module
  • ABB 500MTM02 1MRB150020R0712 1HDF 930512 X010 module
  • ABB 500BOM01 1MRB150023R0002 digital output module
  • ABB 500TRM02 1MRB150011R1 Terminal Relay Module
  • ABB 500TRM02 1MRB150011R0001 Transformer Monitoring Relay
  • ABB 500CPU03 1HDF700003R5122 Central Processing Unit
  • ABB 500PB101 1MRB178009R0001 1MRB200064/C Binary Input Module
  • ABB 500CSP04 HE401314/0002 1MRB150051R2 Input Module
  • ABB 500CMP04 HE401314/0001 1MRB150051R1 power module
  • ABB DSAO120 57120001-EY Digital Output Module
  • ABB SUE3000 1VCF750090R0804 servo drive module
  • ABB PFRL101C-1.0KN 3BSE023316R1002 radial weighing sensor
  • ABB UNS4684A-P, V.1 HIEE30514R00R00001 Communication Module
  • ABB PVD164A2059 3BHE014340R2059 excitation controller
  • ABB 3BHE046836R0102 GFD563A102 Analog I/O Module
  • ABB PFCL201CE 10KN 3BSX105983-100 Weighing Sensor
  • ABB PFCL201C 20KN 3BSE023409R20 Weighing Sensor
  • ABB 216VC62A HESG324442R112/F Signal Digital Processor
  • ABB 216EA61B HESG448230R1/G High Voltage DC Converter Valve
  • ABB 216AB61 HESG324013R101 digital output unit
  • ABB REF542 1VCR007346 G0028 Intelligent Sensor
  • ABB INSUMMCU2 MCU2A02V24 Intelligent Motor Control Unit
  • ABB MCU2A01C0-4 motor control unit
  • ABB PDP22-FBP fieldbus interface
  • ABB PNI800A Network Interface Module
  • ABB 3BHE039724R0C3D PPD513AOC 100440 Controller
  • ABB SDCS-CON-2-COAAT 3ADT220090R2 Controller
  • ABB CI543 communication interface
  • ABB PM510V08 3BSE00B373R1 processor module
  • ABB UNITRAL1010 3BHE035301R0001 UNS0121A-Z-V1 Exciter
  • ABB CI873K01 3BSE058899R1 Ethernet/IP interface module
  • ABB DYTP600A 61430001-ZY Signal Processor Module
  • ABB REF615C-E HCFFAEAGAABC2BAA11E feeder protection and control
  • ABB PCD235C101 3BHE057901R0101 Expansion Adapter
  • ABB UAD149A0001 3BHE014135R0001 excitation controller
  • ABB UAD149A1501 3BHE014135R1501 Controller Module
  • ABB REF545KC133AAAA protective relay
  • ABB PFSA103D 3BSE002492R0001 intermediate relay
  • ABB KUC321AE HIEE300698R1 power module
  • ABB PFVK135 PLC signal processing board
  • HIMA X-CPU 01 processor module
  • ABB TU811 Compact Module Terminal Unit