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 | 1409 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)

  • National Instruments cDAQ-9189 Chassis
  • National Instruments PXIe-8394 MXI Module
  • National Instruments PXIe-4112 Power Supply
  • National Instruments 778472-01 Module
  • National Instruments cFP-DO-401 Module
  • National Instruments PXIe-8379 Interface Card
  • National Instruments PXIe-7965R Module
  • National Instruments NI-9485 Relay Module
  • National Instruments 181045-01 Module
  • National Instruments TB-4302 Terminal Block
  • National Instruments PXI-2533 Matrix Switch Module
  • National Instruments PCI-6220 Analog Input Card
  • National Instruments PXI-2529 Matrix Switch Module
  • National Instruments 783732-01 Ordering Part Number
  • National Instruments PXI-6542 Digital Waveform Module
  • National Instruments PCI-1411 Image Acquisition Card
  • National Instruments PXI-6511 Industrial Digital I/O Module
  • National Instruments TPC-2012 Touch Panel Computer
  • National Instruments PXI-8101 Embedded Controller
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments PXIe-5114 Digitizer Card
  • National Instruments SCXI-1315 Block
  • National Instruments PXI-7842R Card
  • National Instruments PCI-6031E DAQ Device
  • National Instruments NI-9792 Gateway
  • National Instruments PXI-4132 SMU
  • National Instruments USB-5132 Digitizer
  • National Instruments NI 9244 Input Module
  • National Instruments SCXI-1163R Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments cFP-2120 Compact FieldPoint Controller
  • National Instruments cRIO-9073 CompactRIO Controller
  • National Instruments PCI-8516 CAN Interface Card
  • National Instruments PXIe-1073 5-Slot Chassis
  • National Instruments NI 9421 DSUB Digital Input Module
  • National Instruments PXI-4204 High Voltage Input Module
  • National Instruments PCI-6111 Multifunction DAQ Card
  • National Instruments cRIO-9035 CompactRIO Controller
  • National Instruments NI 9759 Powertrain Control Module
  • National Instruments 187254A-01 Ordering Part Number
  • National Instruments PXI-6624 Module
  • National Instruments cDAQ-9137 Chassis
  • National Instruments PXIe-8133 Controller
  • National Instruments 779139-01 Module
  • National Instruments FP-DI-301 Module
  • National Instruments 194021D-01L Module
  • National Instruments PXI-1000B Chassis
  • National Instruments PXIe-8510 Module
  • National Instruments PXI-6221 DAQ Card
  • National Instruments cDAQ-9188 Chassis
  • National Instruments PXI-5421 Arbitrary Waveform Generator
  • National Instruments cRIO-9023 CompactRIO Controller
  • National Instruments PCI-6221 Multifunction DAQ Card
  • National Instruments PXI-4065 Digital Multimeter Card
  • National Instruments NI 9477 Digital Output Module
  • National Instruments cDAQ-9185 TSN Ethernet Chassis
  • National Instruments NI 9147 4-Slot cRIO Chassis
  • National Instruments USB-6259 Mass Termination DAQ Device
  • National Instruments 184120F-01 Ordering Part Number
  • National Instruments PCI-4472B Sound and Vibration Module
  • National Instruments SCXI-1130 Switch
  • National Instruments VB-8012 VirtualBench
  • National Instruments PXI-7350 Controller
  • National Instruments eDAQ-9174 Chassis
  • National Instruments PXI-4461 DSA Module
  • National Instruments PCI-6280 DAQ Card
  • National Instruments PXI-6251 DAQ Card
  • National Instruments PXI-6653 Module
  • National Instruments PCI-6509 DIO Device
  • National Instruments NI 9751 Driver Module
  • National Instruments PXIe-6361 Multifunction I/O Module
  • National Instruments cRIO-9014 CompactRIO Controller
  • National Instruments PCI-7390 Motion Control Card
  • National Instruments PXI-8512 CAN Interface Module
  • National Instruments sbRIO-9636 Single-Board Controller
  • National Instruments IC-3120 Industrial Controller
  • National Instruments PCI-6220 M Series DAQ Card
  • National Instruments PXI-8176 Embedded Controller
  • National Instruments PXI-6132 S Series DAQ Module
  • National Instruments NI 9206 Analog Input Module
  • National Instruments PXI-2584 Switch Module
  • National Instruments 196541B-01L Module
  • National Instruments 778075-01 Module
  • National Instruments FP-RLY-420 Module
  • National Instruments USRP-2920 Radio
  • National Instruments PCIe-6351 DAQ Card
  • National Instruments cRIO-9040 Controller
  • National Instruments NI 9201 Input Module
  • National Instruments NI 9411 Input Module
  • National Instruments NI 9216 Input Module
  • National Instruments PCI-6221 DAQ Device
  • National Instruments PXI-4498 DSA Module
  • National Instruments PXI-6259 DAQ Card
  • National Instruments PXI-7354 Motion Controller
  • National Instruments FP-AI-110 Input Module
  • National Instruments 192172F-04L Module
  • National Instruments PXIe-8115 Controller
  • National Instruments 142931B-01L Module
  • National Instruments PXI-2503 Switch Module
  • National Instruments 776246-01 Module
  • National Instruments CFP-2110 Compact FieldPoint Controller
  • National Instruments 779429-01 Ordering Part Number
  • National Instruments NI-9149 8-Slot EtherCAT Chassis
  • National Instruments PXI-4110 Programmable DC Supply
  • National Instruments 192061-10 Ordering Part Number
  • National Instruments cDAQ-9181 Chassis Module Carrier
  • National Instruments NI 9437 Digital Input Module
  • National Instruments cFP-2020 Compact FieldPoint Controller
  • National Instruments PCI-6259 Multifunction DAQ Card
  • National Instruments FP-TC-120 Thermocouple Module
  • National Instruments NI-9174 CompactDAQ Chassis
  • National Instruments PXI-6030E DAQ Module
  • National Instruments PXIe-5160 Oscilloscope
  • National Instruments PXI-4462 DSA Module
  • National Instruments PXI-8109 Controller
  • National Instruments PXI-6259 DAQ Card
  • National Instruments PXI-6030E DAQ Card
  • National Instruments cRIO-9056 Controller
  • National Instruments PXIe-8370 MXI Kit
  • National Instruments USB-6212 DAQ Device
  • National Instruments RMX-4000 Electronic Load System
  • National Instruments 785040-01 Ordering Part Number
  • National Instruments cFP-AI-110 Analog Input Module
  • National Instruments cDAQ-9189 8-Slot Chassis
  • National Instruments PXIe-4139 Source Measure Unit
  • National Instruments PXI-5620 Digitizer Module
  • National Instruments PCIe-8371 MXI-Express Card
  • National Instruments 196762B-01L Ordering Part Number