Welcome to the Industrial Automation website!

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

S7-300 CPU 31xC 和 CPU 31x

来源: | 作者:佚名 | 发布时间 :2023-11-20 | 679 次浏览: | 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 029.381208 module
  • ABB REF615E_E HBFHAEAGNCA1BNN1XE Module
  • ABB TP830 3BSE018114R1 Baseplate Module
  • ABB TK803V018 3BSC950130R1 Cable Assembly
  • ABB DSRF197 3BSE019297R1 Controller Module
  • ABB DSAO120A 3BSE018293R1 Advanced Analog Output Board
  • ABB DSDP170 57160001-ADF Pulse Counting Module
  • ABB DSBC176 3BSE019216R1 Bus Extender Board
  • ABB DSDO115A 3BSE018298R1 Digital Output Module
  • ABB PM865K01 3BSE031151R1 Processor Unit HI
  • ABB 5SHY3545L0016 3BHB020720R0002 3BHE019719R0101 GVC736BE101 auxiliary DC power supply unit
  • ABB TP853 3BSE018126R1 Power Supply Module
  • ABB REM545AG228AAAA High Precision Control Module
  • ABB CI626A 3BSE005029R1 Communication Interface Module
  • ABB REM615C_D HCMJAEADAND2BNN1CD Motor protection and control
  • ABB TP857 3BSE030192R1 DCS System
  • ABB PP865A 3BSE042236R2 Touch Panel
  • ABB SCYC51020 58052582H Industrial Automation Control Module
  • ABB SCYC51090 58053899E Control Module
  • ABB CB801 3BSE042245R1 Profibus DP Slave Expansion Module
  • ABB 5SHY4045L0001 3BHB018162R0001 IGCT Module
  • ABB 5SHY6545L0001 AC10272001R0101 5SXE10-0181 High-Power IGCT Module
  • ABB RMU811 Module Termination Unit
  • ABB TVOC-2-240 1SFA664001R1001 Industrial Control Module
  • ABB LDSTA-01 63940143B Input/Output (I/O) Module
  • ABB GJR5252300R3101 07AC91H Analog Input/Output Module
  • ABB GJR5252300R3101 07AC91F Industrial Control Module
  • ABB TB711F 3BDH000365R0001 Industrial Control Module
  • ABB TU715F 3BDH000378R0001 I/O Terminal Unit (ITU)
  • ABB DC732F 3BDH000375R0001 Industrial Controller
  • ABB TTH300 Head-mount temperature transmitter
  • ABB UNS3670A-Z V2 HIEE205011R0002 Industrial Automation Module
  • ABB RC527 3BSE008154R1 Redundant System Control Module
  • ABB 5SHY5055L0002 3BHE019719R0101 GVC736BE101 Industrial Control Module
  • ABB PM866 3BSE050200R1 AC800M series PLC core controller
  • ABB UFC718AE01 HIEE300936R0001 Main Circuit Interface Board
  • ABB DSAI130A 3BSE018292R1 Industrial I/O Module Controller
  • ABB 07KT98 GJR5253100R0278 Advanced Controller Module
  • ABB PFTL101B-5.0kN 3BSE004191R1 Power Conversion Module
  • ABB 5SHX1445H0002 3BHL000387P0101 IGCT Module
  • ABB 3HNM07686-1 3HNM07485-1/07 Controller Module
  • ABB DSCS131 57310001-LM DS Communication Board
  • ABB DSBC172 57310001-KD BUS REPEATER
  • ABB DSRF180A 57310255-AV Digital Remote I/O Module
  • ABB DSTC175 57310001-KN Precision Control Module
  • ABB DSSB140 48980001-P Battery Unit Industrial Control Module
  • ABB UAC389AE02 HIEE300888R0002 PCB Board
  • ABB PFTL101B 20KN 3BSE004203R1 DCS Module
  • ABB UFC718AE101 HIEE300936R0101 PCB Circuit Board
  • ABB UNS2880b-P,V2 3BHE014967R0002 Control Board
  • ABB UNS0887A-P 3BHE008128R0001 Communication Module
  • ABB UNS2882A-P,V1 3BHE003855R0001 EGC Board
  • ABB UNS2882A 3BHE003855R0001 Interface Board
  • ABB UNS4881b,V4 3BHE009949R0004 Controller
  • ABB 216EA62 1MRB150083R1/F 1MRB178066R1/F 216EA62 Redundant system modules
  • ABB 216DB61 HESG324063R100/J Controller Module
  • ABB PFSK142 3BSE006505R1 Control board
  • ABB DSAI133A 3BSE018290R1 Analog Input Module
  • ABB PFTL201C-10KN 3BSE007913R0010 Load Cells
  • ABB CI858-1 3BSE018137R1 Industrial Module
  • ABB 5SHY35L4520 5SXE10-0181 AC10272001R0101 Controller
  • ABB TU847 3BSE022462R1 Module Termination Unit
  • ABB 6231BP10910 PLC Analog Output Module
  • ABB 07BR61R1 GJV3074376R1 Distributed I / O Coupler
  • ABB DI93A HESG440355R3 Digital Input Module
  • ABB IC660BBA104 6231BP10910 Industrial Control Module
  • ABB TP858 3BSE018138R1 Module Controller
  • ABB PFEA111-65 3BSE050090R65 Tension Electronics Module
  • ABB DSMB-02C 3AFE64666606 Power Supply Board
  • ABB MC91 HESG440588R4 HESG112714/B Wireless Router Modules
  • ABB PPD113-B03-23-111615 Excitation system controller
  • ABB AB91-1 HESG437479R1 HESG437899 Graphics Expansion Module
  • ABB IT94-3 HESG440310R2 HESG112699/B controller
  • ABB NF93A-2 HESG440280R2 HESG323662R1/HESG216665/K Module Controller
  • ABB IW93-2 HESG440356R1 HESG216678/B I/O module
  • ABB PM861K01 3BSE018105R1 Processor Module
  • ABB RB520 Dummy Module For Submodule Slot
  • ABB SR511 3BSE000863R1 SR511 Regulator 24V/5V
  • ABB DSDP140B 57160001-ACX Counter Board
  • ABB T-1521Z High-Performance Industrial Controller
  • ABB R-2521Z Industrial Control Module
  • ABB COM0002 Industrial Communication Module
  • ABB TAS.580.0550G00 Industrial Controller Module
  • ABB TAS.580.0560G00 Industrial Controller Module
  • ABB SPAJ110C Earth-fault relay
  • ABB TP858 3BSE018138R1 Industrial Control Module
  • ABB SD821 3BSC610037R1 Digital Controller
  • ABB 128877-103 High Precision Industrial Control Module
  • ABB CI853-1 communication interface module
  • ABB PM861K01 3BSE018105R1 Processor Module
  • ABB 5SDF1045H0002 IGBT Silicon Controlled Rectifier
  • ABB TC512V1 3BSE018059R1 Bus Module
  • ABB UCD240A101 Industrial Controller Module
  • ABB TC820-1 Industrial Control Module
  • ABB PM820-2 PLC Pulse Counter Module
  • ABB PM820-1 3BSE010797R1 Processor Module
  • ABB TP830 Industrial Automation Control Module
  • ABB 3ASC25H705/7 control module
  • ABB UAD154A Industrial Automation Module
  • ABB PPD113B01-10-150000 3BHE023784R1023 Controller Module
  • ABB UNS2880B-P V1 Digital I/O Module
  • ABB PFEA112-20 3BSE050091R20 Tension Control amplifier
  • ABB CI810B 3BSE020520R1 AF 100 Fieldbus Communication
  • ABB PPC380AE02 Industrial Control Module
  • ABB NU8976A99 Digital Input Module
  • ABB REF615 Feeder Protection and Control
  • ABB CPU0002 High-Performance Industrial Controller
  • ABB M063B High Performance Control Module
  • ABB XO08R1-B4.0 EXTENSION OUTPUT MODULE
  • ABB VA-MC15-05 Industrial Control Module
  • ABB VA-3180-10 Industrial Controller
  • ABB 72395-4-0399123 High-Performance Industrial Control Module
  • ABB 83SR04C-E Hydraulic Servo Module
  • ABB DTDX991A Digital I/O Module
  • ABB DTCC901B High-Performance Digital Temperature Control
  • ABB UAD206A101 Controller Module
  • ABB UCD224A102 Control Module
  • ABB SNAT602TAC Interface Board
  • ABB UCD224A103 Industrial Control Module
  • ABB PDD205A0121 Terminal Card Module
  • ABB UNS0119A-P V101 3BHE029153R0101 Digital Input Module
  • ABB 15.04.20.05 Control Module
  • ABB FPX86-9329-C High Performance Industrial Controller
  • ABB ARCOL 0346 Industrial Control Module
  • ABB ARCOL 0338 High-Performance Industrial Control Module
  • ABB ARCOL 0339 Industrial Frequency Converter
  • ABB 969-54 Control Module
  • ABB KUC720AE High-Performance Industrial Control Module