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


  • Siemens SINUMERIK 840D SL NCU 720.3B with PLC 317-3 PN/DP
  • Siemens 6AV6618-7GD01-3AB0 HMI Panel
  • OMRON F150-C15E-3 Vision Mate Controller PLC Overview
  • Mitsubishi MELSEC A Series PLC System A63P A3ACPU A616AD A68RD3
  • M68-2000 2 Axis Motion Controller SCE SERVO CNC
  • OMRON FZ-S2M PLC Camera Vision System
  • VISOLUX SLVA-4K PLC Module from Elektronik GmbH
  • OMRON CJ1M-CPU23 V2.0 PLC CPU Unit
  • ABB AI86-16CHF PCB Card 5761751-9 B Specifications
  • Allen-Bradley 100-D140ZJ22L Contactor Overview
  • Merlin Gerin PB80 PLC Rack
  • WEIR WE203 Power Supply PLC
  • OMRON NX-TS3102 Temperature Input Unit
  • Siemens 6ES7146-6FF00-0AB0 I/O Module
  • Fanuc A16B-3300-0057 Circuit Board
  • OMRON CJ1W-IDP01 Input Module
  • Siemens 6FX2007-1AD13 Handheld Unit
  • Gems EM54 PLC Module PCB
  • Beckhoff CX2030-0121 Embedded PC CPU
  • OMRON NJ301-1100 Machine Automation Controller
  • Biesse Rover CNI PLC 2153 030 7146.30 Numerical Control Module
  • OMRON CJ1W DA08V Analog Output Module
  • OMRON CS1D ETN21D Ethernet Module
  • Allen Bradley 1768 L43 CompactLogix Controller
  • Schneider TWDLMDA40DTK Twido PLC Module
  • Mitsubishi NZ2EX2B 60AD4 Analog Input Module
  • OMRON NS8 TV00B V2 Touch Display Panel
  • Mitsubishi AY71 CMOS TTL Output Module
  • OMRON C500 CPU11 E Processor Module
  • OMRON CJ1W PTS51 Temperature Input Module
  • Siemens 6SL3100-1DE22-0AA1 600V DC Supply
  • OMRON CJ1M-CPU23 PLC CPU 9‑Pin Serial
  • Schlumberger IMT4N 24‑250VAC 48‑230VAC PLC Timer
  • OMRON CJ1M-CPU22 PLC CPU Unit V2.0
  • Allen‑Bradley 2711P-B7C6D2 Touch Screen PanelView
  • ADSP-2181KST-160 Analog Devices DSP IC Specs
  • Schneider LC1F400 400A Contactor Specifications
  • Yaskawa SGDH-10DE-OY 1kW 400V Servo Drive
  • Schneider TM262L10MESE8T M262 PLC 5ns Inst
  • Mitsubishi AA104VJ05 10.4in LCD Panel Specs
  • Allen Bradley 1761-L32BWA MicroLogix 1000 PLC
  • Siemens 6ES7431-7KF00-0AB0 Analog Input Module
  • Allen Bradley 1769-OB16 Output Module
  • Siemens 6ES7131-1BL12-0XB0 Input Module
  • Beckhoff EP7041-3002 EtherCAT Box Module
  • Siemens RK7243-2AA30-0XB0 Communication Module
  • Siemens 4AM5742-8DD40-0FA0 Transformer
  • Siemens 3TK2834-1BB40 Safety Relay
  • Brother BAS 311 Sewing Machine Circuit Board
  • Yaskawa SGDH-10DE-OY Servo Driver
  • OMRON C60H C6DR DE V1 Sysmac PLC
  • MITSUBISHI ELECTRIC A2ACPU21 S1 CPU Module
  • ABB BAILEY INNPM12 Network Process Module
  • HONEYWELL 620 0073C IPC PLC Module
  • Mitsubishi 15050 PR02B PLC Circuit Board
  • SIEMENS 6SY7000 0AC37 Drive Control Module
  • OMRON TJ2 ECT16 Traxial EtherCAT Controller
  • GE Fanuc IC698PSD300D Power Supply Module
  • Texas Instruments Series 505 16 Position Base
  • OMRON YASKAWA SGDH 10DE OY Servo Drive
  • Allen‑Bradley 440G-MT Safety Interlock Switch Specs
  • Rubycon PD27A 24V 8A Power Supply Module
  • SK-H1-GDB1-F11D PLC Gate Driver Board Kit
  • VIPA 441-4UA14 451-4UA14 PLC Module Rack
  • Mitsubishi FX5U-80MT ESS PLC Controller Specs
  • Mitsubishi Q64TCRTN Temperature PLC Module
  • GE 1C31170G Rev10 PLC Circuit Board Module
  • Schneider TWDLMDA40DTK PLC Controller Module
  • Omron FQM1-MMA22 Motion Control Module Specs
  • OMRON CJ1W-NCF71 Position Control Unit Specs
  • Schneider TSXETY4103 Ethernet Module
  • Mitsubishi Q12PHCPU Process CPU
  • Yaskawa 3G3HV-A4022-CE AC Drive
  • Cincinnati Milacron 3-533-0669G Temperature Control Board
  • Allen Bradley 20AC030A3AYNANC0 PowerFlex 70 Drive
  • Siemens 6ES7314-6BG03-0AB0 CPU 314C-2 DP
  • Carrier 17EX54007903 PLC Module
  • OMRON CS1W-V600C12 ID Controller Module
  • Honeywell 51402755-100 PCB Card
  • Heidenhain ECN 113 Rotary Encoder
  • OMRON B7AM-8B16 I/O Terminal Block
  • Fanuc A06B-6110-H026 Power Supply Module
  • Schneider TSXETG3021 Ethernet Gateway
  • OMRON CS1W-CLK21-V1 Controller Link Unit
  • NP1W6406T-Z704 PLC I/O Module
  • OMRON CJ1W-DA08C Analog Output Module
  • Yaskawa 3G3HV-A4022-CE AC Drive
  • OMRON NB7W-TW01B CP1L-EL20DR-D Power Panel
  • OMRON C500-NC103-E Position Control Unit
  • Steag Hamatech PLC DCS Servo Control System
  • Siemens 6SN1123-1AA00-0DA1 Power Supply Module
  • GE IC693CHS391H CPU & AD693CMM301A PLC Module
  • Siemens 6FC5303-0AF23-1AA1 PLC Control Panel
  • Square D CM4000T PowerLogic Circuit Monitor J1 F16
  • Siemens 6FX5002-5DG10-1BA0 MOTION-CONNECT 500 Cable
  • Schmersal SRB324ST 101195504 Safety Relay 24V
  • Mitsubishi 15050-PR02A PLC Circuit Board Module
  • OMRON CQM1-AD041 Analog Input PLC Module
  • Beckhoff EL5042 EtherCAT PLC Terminal Module
  • OMRON C200HW-MC402-E Motion Control Unit
  • C36TC0UA1100 Industrial Temperature Controller
  • NL8048BC24 12 Industrial Control LCD Module
  • OMRON R88D Servo Drive and Motor System
  • OMRON CS1W CLK21 V1 Controller Link Module
  • OMRON YASKAWA R7M A20030 S1 D Servo Motor
  • SIEMENS 6AV2128 3KB06 0AX1 Unified Comfort Panel
  • Schneider Electric METSEPM8240 PowerLogic Meter
  • Advanced AMCI 1PLC 1 31F Programmable Limit Switch
  • ABB PM582 ETH Programmable Logic Processor
  • SIEMENS 6FC5110 0CB01 0AA0 CPU Control Board
  • Schleicher P03GS13A CPU Module
  • Siemens 6SN1123-1AA00-0BA1 Power Module
  • Mitsubishi A1S61PN Power Supply Module
  • Yaskawa CPS-IONB DC Power Supply Module
  • Siemens 6ES7215-2BD00 CPU 215-2
  • Mitsubishi A2ACPU MELSEC PLC System Kit
  • ProSoft 3150-MCM Communication Module
  • Mitsubishi OSE104ET Incremental Encoder
  • OMRON CJ1W-AD081-V1 Analog Input Module
  • Broadcom BCM5464A1KRB Quad Port Ethernet IC
  • Modicon M221-24IO TM221C24 PLC 24 PNP Transistor
  • Allen-Bradley 1321-3R160-B Line Reactor 3R160B
  • Beckhoff CX1020-0012 Embedded PLC Module Specs
  • Turck BL20-PF-24VDC-D Power Feed Module Specs
  • Siemens 6SY7000-0AC37 Power Supply Module
  • Yaskawa SGDH-10DE-OY 1kW 400V Servo Drive Specs
  • Omron 3G3SV-BB015-E 1.5kW 220V VFD Specs
  • Uni-Pro CPU91-PLC J 23.020167X Processor Module