Process Data Acquisition – PDA

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

13 S7-1500/1200

13.1 Format memory card

There must be a memory card for 1500 running, S7-1200 does not need, and new memory cards or other cards removed from different CPUs may need to be formatted before they can be used. Press the RUN film button or switch toggle to RUN position to allow CPU to run.

 


13.2 UDP scheme

Create a project, add device 1500CPU.

Set up IP address.

Insert function block "TSEND_C" in OB1.

The TSEND_C property is set according to the following figures.

 

Add a data block to store the data to be sent to PDA.

The optimized attribute of the data block should be canceled, the optimized data block cannot be addressed by a pointer.

Up to 1460 bytes are collected once.

Data_block_PDA->property->general->Data type: array[0..1459] of byte, the sending function block start sending at rising edge, so that data is sent per two OB1 scan cycles, Store data to the data block before sending.

Config.csv of PDA is below:

[2000,1460CH,10.000ms,172.16.1.13,25S,S7-1500,172.16.1.216]

No,     Name,Adr/note,Unit,Len,Offset  ,Gain    ,Type,ALM,HH   ,HI   ,LO   ,LL   ,Opr,FFS

CH1=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,

CH2=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,   

CH3=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH4=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH5=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH6=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH7=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH8=,       ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

……

CH1459=,    ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CH1460=,    ,        ,    ,4  ,0.000000,1.000000,BYTE,0  ,0.000,0.000,0.000,0.000,0  ,  

CPU1518 is much faster than CPU below 1516 and may guarantee normal data transfer, otherwise the data transmission cycle will drift when the program is too large.

The example of sending data block assignment scl program in PLC is as follows.

"Data_block_1".r[0] := "Data_block_1".r[0] + 0.001;

"Data_block_1".r[1] := SIN("Data_block_1".r[0] );

"Data_block_1".r[2] := COS("Data_block_1".r[0]);

"Data_block_1".bool16[0] := TRUE;

"Data_block_1".bool16[1] := FALSE;

13.3 Profinet scheme

See section 4.7 for Config.csv of PDA.

Save collected data to a DB and move it to Profinet Q address together.

Steps of PLC config is below.

Many device drivers need to be installed separately in TIA Portal 15.0, CP-1616 is one of them, Insert a Profinet slave drop of CP-1616.

Config requiring data, it must be multiple of 128bytes, the most bytes are 1408.

Set isochronous mode.

Set IO cycle and watchdog time.

13.4 Read directly PLC memory address

The optimized attribute of the collected data block should be canceled. See section 4.8 for other.

"Full access(no protection) " and "Permit access with PUT/GET communication from remote partner(PLC,HMI,OPC,...)" should be selected for PLC configuration.

13.5 S7-1500 simulator

Select the "Support simulation during block compilation" option in the PLC project properties protection, click on the project, and right-click on the properties.

Select "Permit access with PUT/GET communication from remote partner" in the PLC property "Protection & Security".

NetToPLCsim can simulate S7 communication of S7-1500, but cannot simulate Opc Ua of S7-1500.

S7-PLCSIM Advanced is a high-performance simulator launched by SIEMENS, equivalent to S7-PLCSIM+NetToPLCsim. Its notable feature is that it can simulate communication, including Opc Ua, in addition to general PLC logic control programs. Before installation, WinPcap is installed, and after installation, an additional virtual network card called Siemens PLCSIM Virtual Ethernet Adapter will be added to the computer.

The use of this software can be executed and determined according to the steps below. It is important to remember the following points to pay attention to, otherwise a small issue may waste half a day's time.

Method 1: When S7-PLCSIM Advanced and Portal are installed on two computers respectively, both the physical network card and virtual network card in the above figure are set to automatically obtain IP addresses and DNS server addresses.

S7-PLCSIM Advanced software needs to run with administrator privileges: You can directly right-click each time to run with administrator privileges. If you want to run it permanently, you can click on the icon, right-click on properties, and in compatibility, check the option to run this program as an administrator.

After running the S7-PLCSIM Advanced software, follow the settings shown in the figure below to ping 10.1.0.29 on the Portal computer. The PG/PC interface settings, program downloads, monitoring, and connection entities S7-1500 on the Portal computer are the same.

 

Method 2: When installing S7-PLCSIM Advanced and Portal on the same computer, follow the steps below to set them up.

(1) Set the physical network card to automatically obtain an IP address, and set the virtual network card to the same network segment IP address as the PLC.

If the local network card is set to a fixed IP address, there will be a "incompatible device detected" message when downloading.

(2) Set PG/PC interface: Open the PG/PC interface through the control panel and set the application access point as shown in the following figure:

(3) Run S7-PLCSIM Advanced as an administrator and set the same method.

(4) When downloading PLC programs, set the PG/PC interface to Siemens PLCSIM Virtual Ethernet Adapter.

(5) Select to display all compatible devices, click start search, and once found, click download.

13.6 Modify the PLC IP address

Let the PLC in a stopped state and set it according to the following diagram.

 

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