Process Data Acquisition – PLC

-- Detailed analysis of quality manage&industrial big data sources

高速数采方案

High speed data acquisition scheme

系统

System

Contact us

1 S7-1500 and slave drop data collection scheme

31 Beckhoff Ads

2 S7-400 Ethernet high speed fixed period 2ms

32 EtherCAT

3 S7-300 Ethernet high speed fixed period

33 RS232 / RS485

4 Profinet

34 Rockwell AB PLC

5 S7-400/300/TDC/FM458 Ethernet Variable Access

35 OPC / OPC Ua

6 Standard Ethernet UDP

36 Auxiliary transmission S120

7 Standard Ethernet TCP

37 Main driver system SL150

8 S7 PLC Tools for program debugging - pdaTools

38 B&R - Robot

9 S7-400/300/TDC/FM458 Symbol Variable DB block

39 MITSUBISHI MC protocol - format 4

10 S7-400/300 iso(MAC address)

40 MITSUBISHI MELSECT – QnA 3E

11 S7-300/400 standard ethernet

41 MITSUBISHI Q-Series UDP

12 TDC Ethernet

42 Smart meter DL/T645-2007 protocol

13 S7-1500/1200

43 S7-200 smart

14 MPI/DP variable access

44 Automobile CAN-bus

15 Profibus-DP

45 Alstom HPCi VMIVME 7750 - UDP

16 RFM(Reflective Memory)

46 Collecting KEPServer data through Opc Ua

17 CoDeSys

47 Collecting S7-1500 data through Opc Ua

18 Interface Module

48 Listen to all data on the Profibus bus and collect it

19 Simotion D

49 ABB main drive ACS6000

20 EGD(Ethernet Global Data)

50 Collecting PCI/PCIe card data

21 Modbus Register address

51 Collect TC-net network data

22 Modbus TCP Memory block

52 Collect UDP data forwarded by Tc-net

23 Modbus TCP Register address

53 Collect domestic PLC data

24 FM458 Profibus-DP gateway

54 Other data collection methods

25 GE Fanuc SRTP/ SNPX

55 High speed data forwarding

26 Wago

56 PDA system scheme for converter, RH furnace, LF furnace in steel plant

27 MOOG PLC

57 Continuous Casting Hydraulic Vibration PDA System

28 ABB PLC

58 Hot rolling TDC GDM.PDA system renovation

29 Beckhoff Ethernet

59 USB HID

30 Bechhoff Realtime Ethernet

60 AnyControl

2 S7-400 Ethernet high speed fixed period 2ms

It can be used when the collection points are not many, but the acquisition period is very fast, the acquisition period can be 2ms, the data source type is 0, to attention to fill in the CPU slot number, CPU may be with or without Ethernet ports.

Add a specifical Profinet network card for data acquisition can significantly shorten the sampling period.

Recommend using siemens's upgraded network card such as 6GK7 443-1EX20-0XE0, its performance is much higher than 6GK7 443-1EX11-0XE0.

The curve is interrupted occasionally if the PLC Ethernet card load is too heavy, you may change the OB block interrupt cycle to 3ms or 4ms or add an Ethernet card to avoid it.

It cannot be simulated by Step7 5.5 + S7-PLCSIM + NetToPLCSim.

2.1 Sharing ethernet module

When single PLC acquisition points is not much or sampling period is not very short, PDA network may be the PLC programming and monitoring network.

Figure 2.1 Shared Ethernet Template Communication

2.2 Independent PDA network

Set up an independent network of PDA system by adding a separate ethernet module to every PLC that can improve the single PLC collection points and shorten the sampling period.

Figure 2.2 Independent Ethernet Template Communication

2.3 Install the PLC controller system

1. Copy OB80OB81OB82OB83OB84OB85OB86OB87OB88OB121OB122 to project, do not replace if it is repeat.

2. Copy SFB37SFC1SFC20SFC37 to project, do not replace if it is repeat.

3. Copy DB500DB501DB502UDT501FC501FC502 to project.

4. Place FC501 and FC502 into OB block such as OB35 or OB38, its scan cycle determines the sampling time of PDA system, It is recommended that no other function blocks should be called by the OB block, which may affect normal communication.

5. Analog and digital quantities defined by FC501 must be same as Config.csv.

6. Modify FC501 and write rapid acquisition signal of analog and digital at the corresponding position.

Figure 2.3 PDA Communication Function Block in CPU of S7-400

7. FC501 example of 60INT+128BIT project as below:

      SET  

      SAVE 

      =     L      0.1

      L     1000                       // be same as 1000 in Config.csv identification code

      T     DB501.DBW    2

 

      L     12.345                     // real

   L     100.0                    

      *R                               // real with 2 decimal places

      RND                              // convert to an integer

      T     DBW   12                   // AI1

 

      L     L#123456789                // DINT retain the low 2 byte

      T     DBW   14                   // AI2

 

      L     L#123456789                // DINT

DTR                              // convert to real

L     0.00001                   

*R                               // cut off last 5 digit

RND                              // convert to an integer

      T     DBW   16                   // AI3

 

......

 

      L     59     

      T     DBW  128                    // AI59

 

      L     60     

      T     DBW  130                    // AI60

 

 

 

      AN    M      1.0                 

      =     DBX  132.0                  // DI1 

      AN    M      1.0                         

      =     DBX  132.1                  // DI2 

      A     M      1.0                         

      =     DBX  132.2                  // DI3 

 

      ……

 

      A     M      1.0                         

      =     DBX  147.6                  // DI127

      A     M      1.0                         

      =     DBX  147.7                  // DI128

 

      SAVE 

      BE    

8. Below is an example for 16INT+16BIT with 2ms of period and slot 3 of CPU, 1000 must be same as identification code of PLC sample program.

[1000,32CH,2.000ms,192.168.1.24,0S,CMO,192.168.1.216,3]

No,   Name              ,Adr/note,Unit,Len,Offset  ,Gain    ,Type

CH1=, 波形曲线给定      ,        ,mm  ,2  ,0.000000,0.010000,INT

CH2=, 左缸实际位移      ,        ,mm  ,2  ,0.000000,0.010000,INT

CH3=, 右缸实际位移      ,        ,mm  ,2  ,0.000000,0.010000,INT

CH4=, 左缸上腔压力      ,        ,KN  ,2  ,0.000000,0.010000,INT

CH5=, 左缸下腔压力      ,        ,KN  ,2  ,0.000000,0.010000,INT

CH6=, 右缸上腔压力      ,        ,KN  ,2  ,0.000000,0.010000,INT

CH7=, 右缸下腔压力      ,        ,KN  ,2  ,0.000000,0.010000,INT

CH8=, 浇铸速度          ,        ,mpm ,2  ,0.000000,0.010000,INT

CH9=, 两缸位移差        ,        ,%   ,2  ,0.000000,0.010000,INT

CH10=,左缸伺服阀给定    ,        ,%   ,2  ,0.000000,0.010000,INT

CH11=,右缸伺服阀给定    ,        ,%   ,2  ,0.000000,0.010000,INT

CH12=,左缸伺服阀阀芯反馈,        ,%   ,2  ,0.000000,0.010000,INT

CH13=,右缸伺服阀阀芯反馈,        ,%   ,2  ,0.000000,0.010000,INT

CH14=,两缸出力和        ,        ,KN  ,2  ,0.000000,0.100000,INT

CH15=,两缸出力差        ,        ,KN  ,2  ,0.000000,0.010000,INT

CH16=,SPARE             ,        ,mm  ,2  ,0.000000,1.000000,INT

CH17=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH18=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH19=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH20=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH21=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH22=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH23=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH24=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH25=,左缸锁定阀打开    ,        ,Bool,1  ,0.000000,1.000000,BIT

CH26=,右缸锁定阀打开    ,        ,Bool,1  ,0.000000,1.000000,BIT

CH27=,故障停机          ,        ,Bool,1  ,0.000000,1.000000,BIT

CH28=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH29=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH30=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH31=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

CH32=,SPARE             ,        ,Bool,1  ,0.000000,1.000000,BIT

2.4 Data communication of multiple CPU

The multiple S7-400 CPUs can be inserted in a frame; Data may be exchanged between CPUs by the Global Data.

Right click the MPI network in the network configuration. Define the content of communications between CPU by "Define Global Data".

Figure 2.4 Data communication network configuration between multiple CPUs

Figure 2.5 Data Exchange between CPUs

 

Apparatus test&Fault diagnosis&Quality analysis

Millisecond data sampling

Real-time data compression

Capture signal instantaneous mutation

友情链接 百度 腾讯 新浪 网易 搜狐 凤凰 淘宝 京东 中国自动化网 中国工控网 西门子 罗克韦尔 华军软件园 天空软件站 非凡软件站 多多软件站 携程 知乎

中国五矿 中冶集团 中冶赛迪 中冶南方 中冶京诚 中冶华天 中冶长天 中冶北方 中冶焦耐 中国宝武 宝信 宝钢 武钢 鞍钢 河钢 首钢 山钢 涟钢

ICP2025092850 版权所有©Copyright:2025-2035. 经纬铭月科技(武汉)有限公司

 

 

Develop communication protocol, Customized analysis function, XinChuang domestic obsession

 

PDAServer    PDAClient