Nowadays, with the development of industry and technological advancements, in order to meet people's living needs and continuously improve the standard of material life, the industrial control field needs to integrate PLCs into the Internet of Things (IoT). So,how do PLCs integrate into the IoT?Let's take a look at common examples of PLC devices integrating into the IoT and discuss related knowledge points.

The first step is to connect Siemens 300, 1200, and 1500 PLC devices to the AIRIOT IoT low-code platform. First, open Model Management, then switch to the Device Configuration interface, and select the Siemens siemens-s7 driver. The IP for driver configuration is generally set to 192.168.124.220, the rack number is set to 0, and the slot should be set to 2. Modify the asset driver configuration to asset s7-300. An example of model data point configuration is DB1.DBW0, with the identifier set to DB1DBW0, the name being the same as the identifier, and the area set to DB data block. The data type should be [INT] INT, with a starting address of 0. DB1.DBW2 has an identifier of DB1DBW2, the name being the same as the identifier, and the area is still set to DB data block. The data type should be [WORD] WORD, with a starting address of 2. Next is DB1.DBD4, with an identifier of DB1DBD4, the name being the same as the identifier, and the area is DB data block. The data type should be [REAL] REAL, with a starting address of 4. Then comes DB1.DBX16.0, with an identifier of DB1DBX160 and the name being DB1.DBX16.0. The area is still DB data block, and the data type is [BOOL] BOOL.
It is worth noting that for bit-extracted data points, the bit index needs to be selected. In the TIA software, navigate to the settings view, find general, then protection, and check "Allow PUT/GET communication access from remote partners." Next, we will discuss the relevant operations for connecting AIRIOT with Siemens S7-200 and smart200 PLCs.
First, open Model Management, switch to Device Configuration, select the Siemens siemens-s7-200s driver, find Driver Configuration in System Model Management, set the device IP to 192.168.124.221, set localTsap (Local Transmission Service Access Point) to 0101, and set remoteTsap (Remote Transmission Service Access Point) to 0301. By default, smart200PLC has localTsap set to 0101 and remoteTsap set to 0301. If you intend to modify these settings, you need to adjust them according to the actual situation.
Asset-driven configuration requires modification of the asset smart200. The drive configuration should be set to 192.168.124.221, with localTsap and remoteTsap being 0101 and 0301 respectively. The example of model data point configuration is VB100, with both the identifier and name being VB100. The area should be the V variable storage area, with the data type being [BYTE] BYTE, starting address being 100. Then, VW102 has the identifier and name VW102, the area is the V variable storage area, the data type is [WORD] WORD, and the starting address is 102. Next, VD106 has the identifier and name set to VD106, the area remains the V variable storage area, the data type is [REAL] REAL, and the starting position is 106. Then comes V110.0, with the identifier set to V110_0 and the name being V110.0. The area is the V variable storage area, and the starting address is 110. Following the same principle, data points that require bit selection need to choose the bit index.
Under the tide of industrial IoT,How to integrate PLC into the Internet of ThingsThis issue has become an inevitable problem for many industrial production projects. Considering the continuous improvement of the intelligent transformation process of equipment, we need to pay more attention to the development prospects of the Internet of Things (IoT) industry, which are towards rapid scale, speed, and intelligence. We should also combine the actual situation of the factory to transform and upgrade relevant components, thereby improving the overall function and effect of PLC. The above is aboutHow to integrate PLC into the Internet of ThingsRegarding the sharing of relevant knowledge points, more professional knowledge can be acquired and accumulated through introductions on the internet and from professional technical departments, enabling us to complete the innovation and improvement of related technologies in the shortest possible time.
Leave a Reply