Description
3009 TRICONEX nput/output communication card
3009 TRICONEX nput/output communication card
Module Clips Drive controller servo motor
Contact: Mr. Lai
Wechat:17750010683
Whats app:+86 17750010683
Skype:+86 17750010683
QQ: 3221366881
3221366881@qq.com
Modify the watchdog time of the PROFINET IO device under 16 STEP7
3.2 Check if the installation of PROFINET IO communication equipment meets the specifications
Most cases of PROFINET IO communication interference problems are caused by equipment installation that does not comply with the installation specifications for PROFINET IO communication, such as incomplete shielding, unreliable grounding, and being too close to interference sources. Installation that meets the specifications can avoid communication failures caused by electromagnetic interference. You can refer to the following brief installation requirements for PROFINET:
1. Wiring of PROFINET 3009 TRICONEX nput/output communication card
In order to reduce the coupling of electric and magnetic fields, the larger the parallel distance between PROFINET and other power cable interference sources, the better. In accordance with IEC 61918, the minimum distance between PROFINET shielded cables and other cables can be referred to Table 1. PROFINET 3009 TRICONEX nput/output communication card can be wired together with other data cables, network cables, and shielded analog cables. If it is an unshielded power cable, the minimum distance is 200mm.
Comprehensive analysis of the principle and application skills of microcontroller IO port
IO port operation is the most basic and important knowledge in microcontroller practice. This article takes a long time to introduce the principles of IO ports. I also consulted a lot of materials to ensure the accuracy of the content, and spent a long time writing it. The principle of IO ports originally required a lot of in-depth knowledge, but here it has been simplified as much as possible for easy understanding. This will be of great help in solving various IO port related problems in the future.
The IO port equivalent model is my original method, which can effectively reduce the difficulty of understanding the internal structure of the IO port. And after consulting and confirming, this model is basically consistent with the actual working principle.
I mentioned a lot earlier, and many people may already be eager to actually operate microcontrollers. The IO port, as the main means of communication between the microcontroller and the outside world, is the most basic and important knowledge for microcontroller learning. Previously, we programmed and implemented an experiment to light up the LED at the IO port. This article will continue to introduce the relevant knowledge of the IO port.
In order to better learn the operation of IO ports, it is necessary to understand the internal structure and related concepts of IO ports. These knowledge are very helpful for subsequent learning, with a focus on understanding and no need to memorize them intentionally. If you don”t remember, just come back and take a look. If you use it too much, you will naturally remember.
We have said that the most accurate and effective way to understand a chip is to refer to official chip manuals and other materials. But for beginners of microcontrollers, it may be difficult to understand the chip manual directly, especially when they see a bunch of English, unfamiliar circuits, and terminology. If it were me, I would definitely be crazy. But here I still provide a picture taken from Atmel”s official “Atmel 8051 Microcontrollers Hardware Manual”.
The purpose of giving this picture is not to dampen everyone”s enthusiasm for learning, but to help everyone understand how the various microcontroller materials we have seen come from and whether they are accurate. All of these can be clarified through official information, which will be helpful for everyone to further learn something in the future.
Introduction to the Second Function
The above figure is the authoritative 51 microcontroller IO port structure diagram provided by the official. It can be seen that the internal structure of the four sets of IO ports of the microcontroller is different, because some IO ports have a secondary function, as mentioned in the introductory section.
Do you remember this pin diagram? The second function name of the IO port is marked in parentheses. Except for P1, each interface has a second function. When introducing the microcontroller system module, I mentioned that the 51 microcontroller has an interface for reserved extended memory, which is the second function of P0 and P1 in the figure (while also using pins such as 29 and 30). Because it is not widely used and involves in-depth knowledge, no specific research will be conducted. By the way, the AD0~AD7 we see here are actually used for parallel ports. The second function of the P3 port, including serial port, will be introduced in detail later.
The drawbacks of network IO and the advantages of multiplexing IO
In order to talk about multiplexing, of course, we still need to follow the trend and adopt a whiplash approach. First, we will talk about the drawbacks of traditional network IO and use the pull and step method to grasp the advantages of multiplexing IO.
For the convenience of understanding, all the following code is pseudo code, and it is sufficient to know the meaning it expresses.
Blocking IO
The server wrote the following code to handle the data of client connections and requests.
Listenfd=socket()// Open a network communication port
Bind (listenfd)// binding
Listen (listenfd)// Listening while (1){
Connfd=accept (listenfd)// Blocking connection establishment
Int n=read (connfd, buf)// Blocking read data
DoSomeThing (buf)// What to do with the data you read
Close (connfd)// Close the connection and wait for the next connection in a loop
}
This code will be executed with stumbling blocks, just like this.
It can be seen that the thread on the server is blocked in two places, one is the accept function and the other is the read function.
If we expand on the details of the read function again, we will find that it is blocked in two stages.
This is traditional blocking IO.
The overall process is shown in the following figure.
So, if the client of this connection continues to not send data, the server thread will continue to block on the read function and not return, nor will it be able to accept other client connections.
This is definitely not feasible.
Non blocking IO
To solve the above problem, the key is to modify the read function.
A clever approach is to create a new process or thread every time, call the read function, and perform business processing.
While (1){
Connfd=accept (listenfd)// Blocking connection establishment
Pthread_ Create (doWork)// Create a new thread
}
Void doWork(){
Int n=read (connfd, buf)// Blocking read data
DoSomeThing (buf)// What to do with the data you read
Close (connfd)// Close the connection and wait for the next connection in a loop
}
In this way, once a connection is established for a client, it can immediately wait for a new client connection without blocking the read request from the original client.
However, this is not called non blocking IO, it just uses multithreading to prevent the main thread from getting stuck in the read function and not going down. The read function provided by the operating system is still blocked.
So true non blocking IO cannot be achieved through our user layer tricks, but rather by imploring the operating system to provide us with a non blocking read function.
The effect of this read function is to immediately return an error value (-1) when no data arrives (reaches the network card and is copied to the kernel buffer), rather than waiting for blocking.
The operating system provides this feature by simply setting the file descriptor to non blocking before calling read.
Fcntl (connfd, F_SETFL, O_NONBLOCK);
Int n=read (connfd, buffer)= SUCCESS;
In this way, the user thread needs to loop through the call to read until the return value is not -1, and then start processing the business.
We noticed a detail here.
Non blocking read refers to the stage where data is non blocking before it reaches the network card, or before it reaches the network card but has not been copied to the kernel buffer.
When the data has reached the kernel buffer, calling the read function is still blocked and requires waiting for the data to be copied from the kernel buffer to the user buffer before returning.
The overall process is shown in the following figure
IO multiplexing
Creating a thread for each client can easily deplete the thread resources on the server side.
Of course, there is also a clever solution. After accepting each client connection, we can put the file descriptor (connfd) into an array.
Fdlist. add (connfd);
Then create a new thread to continuously traverse the array and call the non blocking read method for each element.
While (1){
For (fd “- fdlist){
If (read (fd)!=- 1){
DoSomeThing();
}
}
}
In this way, we successfully processed multiple client connections with one thread.
Do you think this means some multiplexing?
But this is just like using multithreading to transform blocked IO into seemingly non blocking IO. This traversal method is just a small trick that our users have come up with, and every time we encounter a read that returns -1, it is still a system call that wastes resources.
Making system calls in a while loop is not cost-effective, just like making rpc requests while working on distributed projects.
So, we still need to plead with the operating system boss to provide us with a function that has such an effect. We will pass a batch of file descriptors to the kernel through a system call, and the kernel layer will traverse them to truly solve this problem.
Application of Data Acquisition IO Module in Thermal Power Plant System3009 TRICONEX nput/output communication card
The Ethernet IO module is a data acquisition and control device. It uses Ethernet as a communication method to transmit data from various industrial control sensors and actuators to computers or other devices for management and monitoring. As a modern energy supply base, thermal power plants need to widely apply various intelligent control technologies to improve operational efficiency, reduce costs, and improve safety. In this context, the application of barium rhenium Ethernet IO modules is particularly important.
In the application of thermal power plants, the main function of the barium rhenium Ethernet IO module is to achieve real-time monitoring and control of the production process. By connecting to various sensors and actuators, the barium rhenium Ethernet IO module can collect real-time environmental parameters, machine operation status, and other data of the thermal power plant. By analyzing and processing these data, commanders can understand the operation of the thermal power plant and make corresponding adjustments. Compared to traditional automatic control systems, the barium rhenium Ethernet IO module has the advantages of stronger flexibility, faster reaction speed, and higher accuracy, which can greatly improve the operational efficiency and reliability of thermal power plants.
The real-time monitoring and control of thermal power plants require many capabilities of barium rhenium Ethernet IO modules. Here are several common application scenarios:
Firstly, the barium rhenium module can monitor parameters such as gas flow and water flow in thermal power plants. These parameters are crucial for ensuring the normal operation of the thermal power plant. Once these parameters undergo abnormal changes, the DO channel can be connected to the barium rhenium Ethernet IO module, and the alarm signal will immediately sound to remind the command personnel to handle it. Meanwhile, due to the fact that the barium rhenium Ethernet IO module can collect these data in real-time and transmit it to the monitoring system for recording, it can provide better technical support for quality management in thermal power plants.
Secondly, the barium rhenium Ethernet IO module can also monitor the operating status of mechanical equipment in thermal power plants. This includes parameters such as temperature, pressure, vibration, etc. By monitoring and analyzing these parameters, the barium rhenium Ethernet IO module can detect machine equipment faults in a timely manner, thereby avoiding the expansion of losses. In addition, during machine equipment maintenance, historical data recorded by the barium rhenium Ethernet IO module can be used to develop more scientific and reasonable maintenance plans, reduce maintenance costs, and improve maintenance efficiency.
Finally, the barium rhenium Ethernet IO module can also help thermal power plants achieve distributed control. We can remotely control and monitor multiple areas of the thermal power plant by connecting multiple barium rhenium modules to a network. This not only reduces the on-site debugging of equipment, but also strengthens the evaluation of equipment reliability.
In summary, the barium rhenium Ethernet IO module has unique advantages in real-time monitoring and control of thermal power plants. It can help command personnel monitor machine data in real-time, discover abnormal information, take timely measures to avoid impacts, and improve production efficiency and safety.
Remote IO modules based on Ethernet communication are widely used in the field of industrial IoT
With the development of IIOT (Industrial IOT) industrial Internet of Things technology, many traditional assets need to be connected to the internet to achieve unified data collection, analysis, processing, and storage, breaking the traditional phenomenon of device information silos. Therefore, the MQTT Ethernet IO acquisition module M160T, which supports the Internet of Things protocol, is able to unleash its potential by being compatible with existing devices and able to connect to IoT platforms. The MQTT Ethernet IO acquisition module will be widely used in industrial IoT, such as smart property, smart parks, smart factories, smart transportation, smart water conservancy, smart agriculture, smart campuses, smart communities, smart distribution, smart water conservancy, and many other industries.
Ethernet communication technology is a mature communication technology that has been widely applied. Therefore, Ethernet communication is the first choice for enterprises to connect various assets to the Internet of Things platform. Its reasons are stable and reliable, mature technology, fast transmission speed, and fast construction wiring.3009 TRICONEX nput/output communication card
For traditional various assets, such as low-voltage distribution rooms, air compressor rooms, property and living pump rooms, street light control, liquid level collection, temperature and humidity collection, etc., through the MQTT Ethernet IO collection module, they can be quickly connected to the Internet of Things platform.
So, what characteristics do MQTT Ethernet IO modules need to have when used in IoT solutions? The details are as follows:
1. Actively connect to cloud platforms:
Based on the characteristics of Ethernet communication networking, the Ethernet IO acquisition module must support the TCP Client function, which is not only the TCP client function, so that the Ethernet IO module can actively connect to the IoT platform without the need for complex settings such as peanut shells;
2. Compatible with existing systems:
Support TCP Server and Modbus TCP protocol functions, which can be compatible with traditional upper computer systems or device access of HMI”s TCP client;
3. Access to IoT platforms:
Supports standard MQTT protocol and Modbus TCP protocol, and can be connected to various MQTT protocol IoT platforms such as Huawei Cloud and Alibaba Cloud, or traditional SCADA and DCS systems;
4. Rich IO interfaces and scalability:
There are various types of data to be collected on site, and it is necessary to support the collection of various devices such as 4-20Ma, RS485, DI, DO, etc. At the same time, it is also necessary to have the ability to read RS485 device instrument data or expand the functions of the IO acquisition module;
5. Easy installation method:
The volume of the control box is very limited, so it is necessary to use directly inserted and unplugged wiring terminals, as well as a rail installation method.
6. Industrial grade design
The industrial environment is harsh, and the Ethernet IO module must adopt an industrial grade design to ensure continuous and stable operation in harsh environments.
Through the MQTT Ethernet IO acquisition module, there is no need to replace various existing enterprise assets and the digital transformation of accessing IoT platforms can be quickly achieved. Therefore, the MQTT Ethernet IO acquisition module will be widely used in industrial IoT, such as smart properties, smart parks, smart factories, smart transportation, smart water conservancy, smart agriculture, smart campuses, smart communities, smart power distribution, smart water conservancy, and many other industries.
1.Has been engaged in industrial control industry for a long time, with a large number of inventories.
2.Industry leading, price advantage, quality assurance
3.Diversified models and products, and all kinds of rare and discontinued products
4.15 days free replacement for quality problems
ABB — AC 800M controller, Bailey, PM866 controller, IGCT silicon controlled 5SHY 3BHB01 3BHE00 3HNA00 DSQC series
BENTLY — 3500 system/proximitor, front and rear card, sensor, probe, cable 3500/20 3500/61 3500/05-01-02-00-001 3500/40M 176449-01 3500/22M 138607-01
Emerson — modbus card, power panel, controller, power supply, base, power module, switch 1C31,5X00, CE400, A6500-UM, SE3008,1B300,1X00,
EPRO — PR6423 PR6424 PR6425 PR6426 PR9376 PR9268 Data acquisition module, probe, speed sensor, vibration sensor
FOXBORO — FCP270 FCP280 FCM10EF FBM207 P0914TD CP40B FBI10E FBM02 FBM202 FBM207B P0400HE Thermal resistance input/output module, power module, communication module, cable, controller, switch
GE —- IS200/215/220/230/420 DS200/215 IC693/695/697/698 VMICPCI VMIVME 369-HI-R-M-0-0-E 469 module, air switch, I/O module, display, CPU module, power module, converter, CPU board, Ethernet module, integrated protection device, power module, gas turbine card
HIMA — F3 AIO 8/4 01 F3231 F8627X Z7116 F8621A 984862160 F3236 F6217 F7553 DI module, processor module, AI card, pulse encoder
Honeywell — Secure digital output card, program module, analog input card, CPU module, FIM card
MOOG — D136-001-007 Servo valve, controller, module
NI — SCXI-1100 PCI – PXIE – PCIE – SBRIO – CFP-AO-210 USB-6525 Information Acquisition Card, PXI Module, Card
Westinghouse — RTD thermal resistance input module, AI/AO/DI/DO module, power module, control module, base module
Woodward — 9907-164 5466-258 8200-1300 9907-149 9907-838 EASYGEN-3500-5/P2 8440-2145 Regulator, module, controller, governor
YOKOGAWA – Servo module, control cabinet node unit
Main products:
PLC, DCS, CPU module, communication module, input/output module (AI/AO/DI/DO), power module, silicon controlled module, terminal module, PXI module, servo drive, servo motor, industrial display screen, industrial keyboard, controller, encoder, regulator, sensor, I/O board, counting board, optical fiber interface board, acquisition card, gas turbine card, FIM card and other automatic spare parts