Description
PLM 3900N Safety Instrumented System (SIS)
PLM 3900N Safety Instrumented System (SIS)
Module Clips Drive controller servo motor
Contact: Mr. Lai
Wechat:17750010683
Whats app:+86 17750010683
Skype:+86 17750010683
QQ: 3221366881
3221366881@qq.com
How to Build High Channel Density Digital IO Modules for the Next Generation Industrial Automation Controllers
With the rapid development of industrial automation, digital IO modules have become an indispensable part of industrial automation controllers. The digital IO module can connect the controller with external devices, such as sensors, actuators, etc., to achieve monitoring and control of industrial production processes. However, with the continuous development of industrial automation, digital IO modules need to have higher channel density and stronger functionality to meet the needs of new industrial automation controllers. Therefore, it is very important to build high channel density digital IO modules for the next generation of industrial automation controllers.
The digital IO module is one of the most fundamental modules in industrial automation controllers, and its main function is to connect the controller with external devices to achieve signal input and output. The digital IO module usually includes two parts: a digital input module and a digital output module. The digital input module can convert the digital signals of external devices into signals that the controller can read, while the digital output module can convert the digital signals output by the controller into signals that external devices can read. The channel density of a digital IO module refers to the number of digital input or digital output channels provided on the module, which is the input and output capacity of the module.
With the development of industrial automation, digital IO modules need to have higher channel density and stronger functions to meet the needs of new industrial automation controllers. The following are several aspects to consider when building a high channel density digital IO module for the next generation of industrial automation controllers:PLM 3900N Safety Instrumented System (SIS)
1. Choose the appropriate communication protocol
Digital IO modules typically communicate with controllers through communication protocols, so choosing a suitable communication protocol is crucial. Common communication protocols include Modbus, Profibus, CANopen, Ethernet, etc. Different communication protocols have different advantages and disadvantages, and selecting a suitable communication protocol requires considering the following factors:
(1) Communication speed: The faster the communication speed, the shorter the response time of the digital IO module, which can process input and output signals faster.
(2) Communication distance: The farther the communication distance, the wider the application range of digital IO modules.
(3) Reliability: The reliability of communication protocols determines the stability and reliability of digital IO modules.
(4) Cost: Different communication protocols have different costs, and suitable communication protocols need to be selected based on actual needs.
2. Choose the appropriate digital IO chip
The digital IO chip is the core component of the digital IO module, and its performance and function directly affect the channel density and function of the digital IO module. Choosing a suitable digital IO chip requires considering the following factors:
(1) Channel density: The channel density of digital IO chips determines the channel density of digital IO modules, and channel density needs to be selected based on actual needs.
(2) Input/output type: Digital IO chips usually support digital input and digital output, and some chips also support functions such as analog input and output, counters, etc.
(3) Speed: The speed of the digital IO chip determines the response speed of the digital IO module, and it is necessary to choose a chip with a faster speed.
(4) Accuracy: The accuracy of digital IO chips determines the signal accuracy of digital IO modules, and it is necessary to choose chips with higher accuracy.
(5) Cost: Different digital IO chips have different costs, and suitable chips need to be selected based on actual needs.
3. Optimize circuit design
The circuit design of digital IO modules has a significant impact on their performance and stability. In order to improve the channel density and functionality of digital IO modules, it is necessary to optimize circuit design, such as:
(1) Using high-speed digital IO chips: Using high-speed digital IO chips can improve the response speed and accuracy of the module.
(2) Adopting anti-interference design: In order to improve the stability of the digital IO module, it is necessary to adopt anti-interference design, such as using filters, isolators, etc.
(3) Using optimized PCB layout: Optimizing PCB layout can reduce noise and interference in digital IO modules, improve module performance and stability.
4. Choose the appropriate shell material and size
Digital IO modules typically need to be installed in cabinets or control cabinets, so choosing the appropriate housing material and size is crucial. The shell material should have good protective and heat dissipation properties to protect the circuits of the digital IO module from external environmental influences. The shell size should be able to adapt to different installation environments, such as cabinets, control cabinets, etc.
5. Optimize software design
The software design of the digital IO module determines its functionality and performance. In order to achieve high channel density and stronger functionality, it is necessary to optimize software design, such as:
(1) Supporting multiple input and output types: Supporting multiple input and output types can meet different application needs, such as digital input and output, analog input and output, counters, etc.
(2) Supporting multiple communication protocols: Supporting multiple communication protocols can adapt to different controllers and application environments.
(3) Support for online debugging and monitoring: Supporting online debugging and monitoring can facilitate user diagnosis and maintenance of modules.
(4) Support for expansion function: Supporting expansion function can increase the functionality and application range of the module while ensuring channel density.
In summary, building a high channel density digital IO module for the next generation of industrial automation controllers requires multiple considerations, including selecting suitable communication protocols, selecting suitable digital IO chips, optimizing circuit design, selecting suitable shell materials and sizes, and optimizing software design. Only by comprehensively considering these factors can a digital IO module with high channel density and stronger functionality be constructed to meet the needs of new industrial automation controllers.
How to assign IO devices to IO controllers?
PROFINET IO system
The PROFINET IO system consists of a PROFINET IO controller and its assigned PROFINET IO devices. After adding IO controllers and IO devices, it is necessary to assign IO controllers to the IO devices to form a basic PROFINET IO system.
Prerequisite requirements
● Already in the network view of STEP 7.
A CPU has been placed (e.g. CPU 1516-3 PN/DP).
● An IO device has been placed (e.g. IM 155-6 PN ST)
Operating Steps (Method 1)
To assign IO devices to IO controllers, follow these steps:
1. Move the mouse pointer over the interface of the IO device.
2. Hold down the left mouse button.
3. Drag the mouse pointer.
The pointer will now use the networking symbol to indicate the “networking” mode. At the same time, you can see a lock character appearing on the pointer
Number. The lock symbol only disappears when the pointer moves to a valid target position.
4. Now, move the pointer to the interface of the desired IO controller and release the left mouse button.
5. Now assign the IO device to the IO controller.
Operating Steps (Method 2)
To assign IO devices to IO controllers, follow these steps:
1. Move the mouse pointer over the word “Unassigned” in the bottom left corner of the IO device icon.
2. Click the left mouse button.
3. Select the IO controller interface to be connected from the available interfaces that appear.
4. Now assign the IO device to the IO controller.
MQTT IoT Remote IO Module Based on Ethernet Communication Technology
MQTT IoT Remote IO Module Based on Ethernet Communication Technology
Barium rhenium technology remote IO modules are widely used in IoT scenarios such as intelligent transportation, smart water conservancy, smart agriculture, smart campuses, smart communities, smart power distribution, and smart water conservancy.
With the development of IIOT industrial Internet of Things technology, more and more traditional assets need to be connected to the internet, achieving unified data collection and analysis, and breaking the phenomenon of traditional device information silos. The barium rhenium technology remote IO module M160T, which supports IoT protocols, has become an excellent choice for many enterprises to achieve device networking, remote control, and data collection based on the compatibility of existing devices and the accessibility of IoT platforms!
Ethernet communication technology is a mature communication technology because it has the characteristics of stability, reliability, mature technology, fast transmission speed, and fast construction wiring. Due to its wide application, Ethernet communication through the MQTT protocol is the main way for enterprise equipment to go to the cloud. Barium rhenium technology can quickly collect data and control such as air compressor room, property living pump room, street light control, liquid level collection, temperature and humidity collection through Ethernet remote IO module.PLM 3900N Safety Instrumented System (SIS)
So, why is the remote IO module of barium rhenium technology widely used in the field of industrial IoT? The specific reasons are as follows.
1. Actively connect to cloud platforms:
Based on the characteristics of Ethernet communication networks, the barium rhenium technology remote IO module does not require complex settings such as peanut shells to achieve the Internet of Things. The barium rhenium technology remote IO module needs to support both TCP client and TCP server functions.
2. Compatibility with existing systems:
It supports TCP Server and Modbus TCP protocol functions, and is compatible with device access of traditional upper level systems or HMI TCP clients.
3. Support multiple IoT platforms:
Supports standard MQTT, Modbus TCP, and Modbus RTU over TCP protocols. It can be connected to public cloud IoT platforms and user built MQTT private clouds through the MQTT protocol. It can also be connected to SCADA and DCS systems through Modbus TCP.
4. Rich IO interfaces and scalability:
There are many types of IO for industrial field data collection and replication. The Ethernet IO module of barium rhenium technology supports signal acquisition from various devices such as 4-20Ma, 0-20mA, 0-5V, 0-10V, RS485, DI, DO, PT100, PT1000, pulse input, pulse output, etc. At the same time, it expands the instrument data reading ability of RS485 devices.
5. Convenient installation method:
The volume of industrial on-site control boxes is often very limited, and the barium rhenium technology Ethernet IO module adopts a direct plug-in connection terminal and rail installation method. The compact volume greatly saves space in the control box!
6. Industrial grade design
The industrial environment is harsh, and the remote IO module using barium rhenium technology needs to adopt an industrial grade design, which can work continuously and stably in harsh environments.
Through the use of barium rhenium technology remote IO modules, there is no need to replace existing various enterprise assets, and the digital transition to the Internet of Things platform can be quickly achieved. Therefore, barium rhenium technology remote IO modules are widely used in industrial IoT, such as intelligent real estate, intelligent campus, intelligent factory, intelligent transportation, intelligent water conservancy, intelligent agriculture, intelligent campus, intelligent community, intelligent transportation, and many other industries.
What is the role of distributed IO modules and what are their main applications in
The distributed IO module transmits status signals from the measurement and control field to various measurement and control fields for control. It is mainly used in the industrial field and can also be used for detection of equipment such as air conditioners and motors.
In distributed systems, there are important business data closely related to system operation, as well as data related to nodes, application services, and data services, which are crucial for the normal operation of clusters.
IO on general PLCs is usually closely followed by CPU units, but in order to facilitate connection and maintenance, the concept of distributed IO has been proposed in the industrial field. That is to say, the IO unit can be arranged far away from the PLC CPU unit and communicate through the network communication protocol of the device layer.
The distributed IO module is developed for detecting and implementing remote control of various types of standard analog and switch signals (frequency, pulse, or switch state signals) in the field of measurement and control. The series of modules can digitize the test signal front-end and transmit it to the host through optical fiber; Or transmit the control instructions sent by the host to the controlled device to achieve remote control. Especially suitable for state detection and control of complex electromagnetic environments in power, industrial control, on-site switchgear, and large power equipment.
The role of distributed IO modules:
1. Support 4-way switch digital quantity
2. Supports 8 analog inputs
3. 4 relay outputs, 1 RS485 serial port data acquisition to Ethernet
4. 485 to Ethernet serial server
5. Supports Modbus to TCP/UDP protocol conversion
6. Supports virtual serial ports and interfaces with various configuration software
7. Support 0-5V, 0-10V, 0-30V range acquisition
8. Supports 0-20ma and 4-20ma range acquisition
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 PLM 3900N Safety Instrumented System (SIS)
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 PLM 3900N Safety Instrumented System (SIS) 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.
PCI-6032E
PCI-6031E
PCI-6030E
PCI-6025E
PCI-6024E
PCI-6023E
PCI-6011E
PCI-5922
PCI-5911
PCI-5640R
PCI-5640
PCI-5154
PCI-5153EX
PCI-5153
PCI-5152
PCI-5142
PCI-5124
PCI-5122EX
PCI-5122
PCI-5114
PCI-5112
PCI-5105
PCI-5102
PCI-4552
PCI-4551
PCI-4474
PCI-4472B
PCI-4472
PCI-4462
PCI-4461
PCI-4454
PCI-4452
PCI-4451
PCI-4070
PCI-4021
NI-9917
NI-9683
NI-9505
NI-9260 NI
ni-9250
NI-9234
Ni-9227
NI-9208
NI-9159
NI-9157
NI-9155
NI-9154
NI-9151
NI-9149
NI-9148
NI-9147
NI-9146
NI-9145
NI-9144
NI-5741
NI-5191
PXIE-2529
PXI-2520
USB-6525
PXIE-8840QC
PXIE-8840
PXIE-8135
PXIE-4081
pxie-4080
PXI-8461
PXI-6713
PXI-6683
PXI-6602
PXI-5402
PXI-2564
PXI-2510
PCIE-6321
NI-9216
GPIB-140A/2
FP-TB-1
CFP-DO-403
CFP-DO-400
CFP-DI-304
CFP-CB-1
CFP-AO-210
CFP-AO-200
CFP-AI-111
CFP-AI-100
CFP-1808
CFP-1804
AT-5102
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