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


  • B&R 3AT660 6 Thermocouple Input Module
  • Honeywell EC7850A1080 Programmable Logic Controller
  • Mitsubishi A2ACPU21 CPU Module MELSEC A Series
  • Mitsubishi R60ADH3FR Analog Input Module iQ R
  • ELMO WLWHIA20 100 Servo Drive Whistle Series
  • Omron CJ1W-MAD42 Analog I O Module PLC
  • Siemens A5E03894525 SINAMICS S120 Power Module
  • Omron K3HB-HTA-DRT1 Temperature Panel Meter
  • Keyence KV-8000SO Programmable Controller CPU Unit
  • Harris 8800-00002-02 PLC Power Control Center
  • Siemens 3TY7480-0A Auxiliary Contact Block
  • Omron 3G3MX2-AB022-ZV1 Inverter
  • ABB ACS380-040S-12A6-4 VFD
  • ATTO controlSYS ATTO-CPU44 PLC System
  • Allen‑Bradley 5069-L330ERMS3 CompactLogix PLC
  • Emerson VE4003S2B2 Terminal Module
  • SND ATS48D38Q Soft Starter
  • Omron CJ1W-MCH71 Motion Control Module
  • Siemens 3TK28060BB4 24VDC Contactor
  • Mitsubishi FR-D740-160-NA Inverter
  • PILZ 312070 PSSuniversal PLC Head Module
  • Omron CJ2M-CPU35 SYSMAC CJ Series PLC CPU
  • KISTLER 4734AWDY2X400S1 Force Displacement Indicator
  • Beckhoff CX2100-0904 Power Supply UPS Module
  • Siemens 6ES7 194-4AD00-0AA0 ET 200PRO IM 154-1 DP Module
  • Siemens 6FC5110-0DB02-0AA2 SINUMERIK MMC CPU Module
  • EDWAR 3-SDDC2CF Dual Circuit Card Control Module
  • ABB CI856K01 S100 I O Communication Module
  • Omron C200HW-PCS01-V2 PC Card Unit Module
  • Pilz 777150 PZE X5P 24VDC Safety Relay
  • Siemens 6SE6430-2AD31-1CA0 Inverter
  • Pilz 774340 Safety Relay
  • Kübler 8.5868.1231.3112 Encoder
  • Stromag 51 NE 451 DV MS Switch
  • Mitsubishi Q20UDEHCPU CPU Unit
  • CON-MAL P86402251-00 PCB Board
  • Panasonic MDMA102A1D Servo Motor
  • Omron OS32C-SN-4M Safety Scanner
  • Mitsubishi LD-30FTA Tension Controller
  • Siemens 7SP8014 Genop 23 S Relay
  • GE 151X1235DB15SA01 SPEEDTRONIC Mark VI High Performance Turbine Control Module
  • GE DS3800HIOC High-Level Input Output Board
  • GE DS3800NHVG High-Voltage Gate Driver Board
  • GE DS3800NB1A Power Supply Regulator Board
  • GE DS3815PAHB1A1A Processor Interface Board
  • Allen-Bradley 100-D300EA11 IEC Contactor 300A
  • Omron BY50S 500VA 300W Uninterruptible Power Supply
  • Mitsubishi NF630-CW 3P 600A Molded Case Circuit Breaker
  • CLA-2 4L PLC Control Electric Lubricating Oil Pump
  • Pilz 6Z000002 PSEN enc sincos 4096 hs Encoder
  • Siemens 6ES7317-2FK14-0AB0 CPU 317F-2PN/DP
  • Fuji NP1AYH8V-MR Analog Output Module MICREX-SX
  • Kistler DMF-P A300 NCF 4734AWDY2X400S1 Force Displacement Monitor
  • ABB Pluto S20 v2 CFS Safety PLC
  • Parker IQAN-XS2 Expansion Controller Module
  • ABB CI867AK01 PLC Module
  • FANUC A20B-2002-0520 Main Board
  • Mitsubishi A6BR10 Repeater Module
  • Siemens 3TY6480-0A Contact Kit
  • Servax CDD34.008 Servo Drive
  • Renesas R5F2134CXJFP Microcontroller
  • Siemens 6SL3210-1SE31-0AA0 Power Module
  • Mitsubishi LE-40MTA-E Tension Controller
  • B&R 4PP035.0300-01 Operation Panel
  • HRTL 96B M666.01S-S12 Inductive Proximity Sensor
  • Mitsubishi GT1455HS-QTBDE GOT1000 Touch Screen
  • Braids PLC-24/30/E2UK 25m PLC Connection Cable
  • Omron NX-PD7001 NX Series Power Supply Unit
  • Pro-face FP3900-T41-U PFXFP3900TA Operating Panel
  • Siemens 6GK5204-2BB10-2AA3 Industrial Ethernet Switch
  • Mitsubishi GT2310-VTBA GT2310-VTBD Graphic Operation Panel
  • PILZ 774400 PNOZ 24VDC 2NO 2NC Safety Relay
  • Siemens 6ES7315-2EH14-0AB0 CPU 315-2 PN/DP
  • ABB PLUTO B42 AS-i Safety Relay 2TLA020070R1400
  • Applied Materials 0010-12123 PLC Controller
  • Pilz 774595 PZE X5 Safety Relay
  • Siemens 6GA2 490-0A AVR
  • Keyence KV-10T Micro PLC
  • Siemens 6ES7331-7PF01-0AB0 Analog Input
  • Siemens 6SN1145-1BA02-0CA1 PLC
  • FANUC A16B-3200-0521 Main Board
  • Siemens 6SL3120-2TE21-0AD0 Motor Module
  • Pilz 828010 S1IM Safety Relay
  • TRICONEX 3601E Digital Output
  • TRICONEX 8312 Power Module
  • TRICONEX MA2211-100 Media Adapter
  • TRICONEX 3720 Analog Input Module
  • TRICONEX 7400213-100 Extender Module
  • TRICONEX 3000602-100 Chassis Assembly
  • TRICONEX 3722X Analog Input Module
  • Triconex 7400322-100 Trident CIM Base Plate
  • TRICONEX 3721 Analog Input Module
  • TRICONEX 3005 Processor Module
  • ABB 3BUS208720-001 Industrial Power Signal Interconnection Module
  • TMEIC KPAD-3122A LCD Display Keypad
  • Siemens 6SN1145-1BA02-0CA1 PLC
  • LAM 2004365 TURBO BYPASS PLC ASM
  • Omron CJ1W-CORT21 PLC Module
  • Euchner MGB-L2B-PNA-L-121853 Safety Switch
  • XPSMC32ZP Safety Controller
  • Schneider 9070T3000D33 PLC
  • Omron C200H-MAD01 AD DA Module
  • Omron NJ501-1320 CPU Controller
  • Honeywell C36TR1UA1000 Thermostat
  • Honeywell TC-RPDXX1 Power Supply Module
  • Fuji NW0E32-3 PLC Programmable Controller
  • ASM 2004219 Turbo Bypass ASM 107864 Module
  • Future IHDW-BLA4S-IM CNC MPG Handwheel
  • Wieland R1.180.0080.0 SA-OR-S1-4RK-A Safety Module
  • Reliance Electric 57C493 AutoMax Power Supply 376W
  • Siemens 3VT8563-2AA03-2KA2 MCCB 3VT8
  • B&R X20IF1072 CAN Bus Interface Module
  • Mitsubishi OSE253S2 Rotary Encoder
  • Mitsubishi NV630-SW 4P 500A Earth Leakage Breaker
  • Euchner MGB-L1B-PNA-R-121857 Safety Switch
  • Honeywell 900A01-0102 Analog Input Module
  • OMRON C500-ID219 Input Unit
  • Westinghouse EL3030R Current Limiter
  • CLA-2 3L Electric Lubrication Pump
  • Proface GP2501-TC41-24V HMI
  • Omron KM-N1-FLK Small Power Monitor
  • HPM 1D703-0040 Command 9000 Console Card
  • Siemens 3RW5074-6AB14 SIRIUS Soft Starter
  • Genie 75032 Limit Switch
  • OMRON C200H-SP001 Space Module
  • OMRON C200H-PS211 Power Supply Unit
  • OMRON C200H-OC222 Relay Output Unit
  • Keyence KV-8000SO 4221 CPU Module