Welcome to the Industrial Automation website!

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

S7-300 CPU 31xC 和 CPU 31x

来源: | 作者:佚名 | 发布时间 :2023-11-20 | 937 次浏览: | 🔊 Click to read aloud ❚❚ | 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 IM 3100 D 1007722 Control Module
  • GE IM0146B Industrial Circuit Board
  • GE IM0059E0-10070 Interface Board
  • GE IM0094C Industrial Control Board
  • GE IC200PNS002-AB VersaMax PROFINET Scanner
  • GE F650BFBF1G0HI Feeder Protection Relay
  • GE TPR5616NRHC Protection Relay
  • GE D6P3KH Digital Protection Relay
  • GE F650BABF2G0HIS Feeder Protection Relay
  • GE F650BADF2G1HIR Feeder Protection Relay
  • GE F650BABF2G1HI6 Digital Bay Controller
  • GE Multilin 745-W2-P1-G1-H-I-A-R-E Transformer Protection Relay
  • GE 100BASE-T Industrial Ethernet Interface
  • GE Multilin 350-E-P1-S1-H-S-E-C-N-2E-D-H Feeder Protection System
  • GE F650MXCF1G1HI6 Bay Controller
  • GE MM300-GEHD2CAB Motor Management Relay
  • GE MMS35-621-1-00 Motor Management System
  • GE 100BASE-T Ethernet Communication Module
  • GE F650MFCF1G1HI6 Feeder Protection Relay
  • GE CK13BA300 Control Module
  • GE W2-P1-G1-H Industrial Control Unit
  • GE PIB315B Power Interface Board
  • GE 343L695VAGIRHC Multi-Function Relay
  • GE Multilin B90N05HKHF8NH6 Bus Differential Protection
  • GE ZX3SC0204N-930 Intelligent Control Module
  • GE PIB504 Process Interface Board
  • GE D20MX Remote Terminal Unit
  • GE T60UJ3HKHF8NH6 Transformer Protection Relay
  • GE ZG3SA02041-58S600X Motor Protection Relay
  • GE ZG3SA02041-58S Motor Protection Relay
  • ABB DSDX 452 L Remote Input Output Module
  • ABB RDCU-02C Drive Control Unit
  • ABB COMMANDER 350 Process Controller
  • ABB Tmax XT4S 250 Molded Case Circuit Breaker
  • DEIF MALLING 8027.90 Industrial Control Unit
  • DEIF DCP2-2410 Power Supply Module
  • DEIF FAS-2N Synchronizer
  • DEIF MALLING 827.54 Processor Module
  • DEIF DU-2/MKIII Display Unit
  • DEIF DRW-2 Reverse Power Relay
  • DEIF 827.4 Power Management Module
  • DEIF 1044220060F Mains Measurement Module
  • DEIF 1044220190G Remote Display Module
  • DEIF 1044220140C AGC 200 Display Module
  • DEIF BRW-1-NB Remote Display Unit
  • DEIF MALLING 827.52 Industrial Control Unit for Automation Systems
  • DEIF BRW-2 Industrial Relay Module for Control Systems
  • DEIF 1044220080D Power System Control Module Industrial Automation
  • DEIF 1044220100F Controller Module for Generator Control Systems
  • DEIF DU-300 Voltage Monitoring Relay Industrial Protection Unit
  • DEIF 1044220060F I/O Extension Module
  • DEIF 1044220150C Interface Module
  • DEIF GCU 100 Engine Control Unit
  • DEIF XDI144-DUAL Marine Indicator
  • DEIF 827.41 Multi-line 2 Processor Module
  • DEIF AGC 146 Automatic Genset Controller
  • DEIF 1044220080E MDR-2 Display Module
  • DEIF MDR-2 Multifunctional Digital Relay
  • DEIF 1044220070E PPU-3 Display Module
  • DEIF PPU-3 Paralleling and Protection Unit
  • Siemens 6SL3210-1SE21-8UA0 PM340 Power Module SINAMICS Drive System
  • Yaskawa JANCD-XCP01C-1 Servo Control Board with JANCD-XIF04-1 Network Interface
  • BRISTOL 396879-01-2 C Wave Micro PLC CPU with Ethernet Industrial Controller
  • OMRON SGDH-10DE-OY Servo Drive High Precision Industrial Motion Control Amplifier
  • OMRON FQM1-MMA22 PLC High Performance Motion Controller Module
  • Schneider PowerLogic P5F30 Protection Relay
  • ABB DSPC53 57310256BA/2 Processor PCB
  • ABB Jokab 2TLJ020070R1700 Eden Safety Sensor
  • Lenze HMI EL 105C 3351-1 2 Control Panel
  • Pilz PSEN op4-s-30-060/1 Safety Light Curtain Specs
  • Vacon NXI01055A2T0CSSA1A3AK00C6 AC Drive
  • Square D PowerLogic CM4250 Circuit Monitor
  • Siemens CPU314C-2PTP Simatic S7-300 PLC
  • Eaton E84BAN Communication Interface Module
  • Prosoft MVI56 PDP-MV1 Profibus Master Module
  • Kongsberg MEI 8100276 Multi I/O Interface Module Marine Control System
  • Kongsberg MD 22 TN Display Module Marine Control Display Unit
  • Kongsberg MSI 8100222 Multi Signal Interface Module Marine Control System
  • Kongsberg RDO-16 8100155 Digital Output Module Marine Control System
  • Kongsberg RAO-8 8100153 Analog Output Module Marine Control System
  • Kongsberg C2 8100182 Controller Module
  • Kongsberg dPSC 8100183 Digital Process Controller
  • Kongsberg SPBUS-HUB 600309 Process Bus Hub
  • Kongsberg Simrad BP413R 37960580 A PCB Card
  • Kongsberg RAi-10tc 8100161 Remote Analog Input
  • Kongsberg NL-290 KM-F Navigation Light Panel
  • Kongsberg RAI-16xe Remote Analog Input Module
  • Kongsberg dPSC 8100183 Dynamic Positioning Control Panel
  • Kongsberg NK-210 NU02 Control Panel
  • Kongsberg RAIC400 Remote Analog I/O Controller
  • Kongsberg Simrad SJS-01/02 Sonar Sensor Marine Detection System
  • Kongsberg RAo-8 Analog Output Module Marine Automation Control Module
  • Kongsberg MP 530 Operator Panel Unit Marine Control Interface System
  • Kongsberg PSO-P 8100334 Power Supply Unit Marine Automation Power Module
  • Kongsberg dPSC 8100183 Dynamic Positioning Controller Marine Control System
  • Kongsberg MP 8200 Processor Module
  • Kongsberg MP 8300 Multi Processor Board
  • Kongsberg MCU8625 Marine Control Unit
  • Kongsberg MP 5810 Multi Processor Board
  • Kongsberg DSU 001 Dual Slot Unit
  • Kongsberg RCU 510 Remote Control Unit
  • Kongsberg BS610 Battery Supply Unit
  • Kongsberg M410-10 Alarm Monitoring Panel
  • Kongsberg HMS 100 Hull Monitoring System
  • Honeywell TCF901 Gas Detector
  • Honeywell 9938R Relay Output Module Industrial Control Switching Module
  • Honeywell XL1000C1000 Building Automation Controller HVAC Control System
  • Honeywell S0762970 I/O Interface Module Industrial Automation Signal Module
  • Honeywell RM7850 Burner Control Module Industrial Flame Safeguard Controller
  • Honeywell IPC1100 Industrial Panel Computer Automation Control HMI System
  • Honeywell TDID72 Digital Input Module
  • Honeywell TCNT01 Control Processor Interface
  • Honeywell C300 Controller Process Automation
  • Honeywell 51304337-250 Redundancy Cable Assembly
  • Honeywell PAL 2053 Programmable Array Logic Board
  • Honeywell IOC2053 Input Output Card
  • Honeywell PAIH03 Analog Input Module
  • Honeywell IPC 621 Industrial Computer
  • Honeywell 05701-A-0301 Process Control Card
  • Honeywell 10302/2/1 Power Supply Module
  • Honeywell SPXCDALMTX4 Gas Detector Module Industrial Safety Monitoring Device
  • Honeywell PHAI01 Analog Input Module Industrial Automation Input Module
  • Honeywell 63AP3070 Pressure Transmitter Industrial Measurement Module
  • Honeywell P522AC Analog Controller Module Industrial Control System Component
  • Honeywell K2LCN-4 ControlNet Interface Module Industrial Communication Module
  • Honeywell M6184D1035 Proportioning Actuator
  • Honeywell PCF901 Pulse Control Interface Module
  • Honeywell 05701-A-0302 Gas Detection Control Card