National Vocational College Skills Competition - GZ037 Industrial Internet Integrated Application Competition - Question 5

Table of contents

Instructions for the first part of the competition

1. Competition Requirements

2. Professionalism and Safety Awareness

3. Point deduction

4. Information for players

The second part of the competition task

1. Task background

2. Task environment

3. Task implementation


 

Instructions for the first part of the competition

1. Competition Requirements

1. Correct use of tools and operation safety regulations;

2. If there is any objection during the competition, it can be reported to the referee, and the order of the field must not be disturbed;

3. Obey the field discipline, respect the referee, and obey the arrangement.

2. Professionalism and Safety Awareness

1. All operations to complete the competition tasks are in compliance with the safety operation specifications, and pay attention to the safety of electricity use.

2. Obey the discipline of the arena, respect the staff of the arena; cherish the equipment and equipment of the arena.

3. Point deduction

1. During the competition, if the equipment is destructively damaged or caused an accident due to improper operation, it will depend on the circumstances.

10 to 20 points, if the situation is serious, the qualification will be disqualified.

2. Behaviors that do not conform to professional standards, such as disheveled clothing, polluting the arena environment, disturbing the order of the arena, and interfering with the work of referees, will be deducted from the corresponding professionalism in Module 3. If the circumstances are serious, they will be disqualified from the competition.

4. Information for players

1. If there are problems such as missing pages or unclear handwriting in the task book, please notify the referee in time and replace it;

After the competition, all paper materials and USB flash drives provided by the competition shall not be taken away from the competition venue.

2. Please operate in strict accordance with the requirements of the mission statement and process specifications for the installation and configuration of the equipment.

3. Participating teams should complete the content required by the mission statement within the specified time. The documents and materials formed during the mission realization process must be stored in the designated location of the U disk, and at the same time copy a copy of the "submitted materials" to the "D disk" root of the server. Under the directory, files that are not stored in the specified location will not be scored.

4. During the competition, if the player determines that the device or device is faulty, he can ask the referee to replace it; if the device or device is determined to be intact, it is a misjudgment, and the time for the device or device to be recognized will be included in the competition time; if the device or device is determined to be If there is a fault, the equipment will be replaced on the spot. For the time loss caused during this process (from the start of equipment detection to the completion of the replacement), after the end of the game time, the team will be compensated for the same amount of time delay.

5. Devices will not be replaced if they are damaged due to human error during the competition.

6. After the referee team announces the end of the competition, the contestants should immediately stop any use of the competition equipment and computers.

what to do.

The second part of the competition task

1. Task background

In order to realize the automatic production process of the production workshop from feeding, filling, packaging, testing, product sorting, robot handling of qualified products into boxes and warehousing, a company needs to upgrade the network structure, collect production line signals, and develop a new identification system To manage each link, use edge computing technology to improve the real-time performance of information processing, and design industrial Internet platform application software to realize data visualization and service applications.

2. Task environment

Hardware resources: computers, industrial Internet integrated application workstations, industrial Internet platforms, toolboxes, consumables, etc.

Software resources: see the "competition data" folder in the U disk.

3. Task implementation

Module 1 Industrial Internet equipment installation and commissioning

mission details

Competitors need to use the devices and materials purchased by customers to complete the network installation and debugging of the industrial network system of the industrial Internet competition platform to ensure that the mechanism can operate correctly and the circuit can operate correctly, and the system conforms to professional technical specifications.

Task 1-1 Industrial Internet equipment installation

1. Equipment installation

Contestants use the network components and tools provided on site to complete the installation of networking equipment such as switches, wireless routers, MODBUS gateways, edge computing gateways, and industrial Internet gateways.

2. Line connection

Complete the connection of the industrial control network according to the system network architecture diagram and process requirements.

Task 1-2 Industrial Internet equipment debugging

Task description: Competitors complete the network parameter settings of each gateway and serial server according to the technical information provided by the competition.

Industrial Internet Device Setup Requirements

serial number

Networked device name

IP Address

Subnet Mask

Gateway

1

Industrial Internet Gateway

192.168.3.99

255.255.255.0

192.168.0.1

2

Edge Computing Gateway

192.168.3.98

255.255.255.0

192.168.0.1

3

MODBUS gateway

192.168.3.97

255.255.255.0

192.168.0.1

4

Serial Server

192.168.3.96

255.255.255.0

192.168.0.1

Module 2 Industrial Internet Platform Development and Application

Task 2-1 Data Acquisition System and Application

(1) Task description

Now the team is required to be responsible for completing the PLC program writing and robot parameter setting of the finished product storage workstation, the touch screen configuration and debugging, the whole machine joint debugging, operation and program optimization. Realize the automatic production of the whole process from feeding, filling, packaging, testing, product sorting, robot handling of qualified products into boxes and warehousing , etc. , to ensure correct operation and the system conforms to professional technical specifications. Complete the programming and debugging of the entire production line within the specified time, so that the production process automation and industrial Internet data collection can be realized in the later stage of the production line.

( 2 ) Purpose of the mission

Based on the industrial Internet data collection gateway, read the data related to the equipment in the PLC, and realize the data collection of the feeding and filling section to the gateway.

( 3 ) Task requirements

1. Gateway data acquisition project creation

(1) To create a new project in the gateway configuration software , the specific requirements are as follows:

serial number

Design requirements

screenshot

1

name

Cloud project for data collection in the feeding and filling section

Screenshot, saved in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No. * Field\No. * Station\Industrial Internet Gateway Data Acquisition, named: 01 New Project.jpg

2

path

U:\Industrial Internet Integrated Application Competition (Higher Vocational)

3

Other parameters

default

(2) Add devices in the "Data Acquisition Cloud Project", the specific requirements are as follows:

serial number

Design requirements

screenshot

1

name

Gateway device

Screenshot, saved in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No. * Field\No. * Station\Industrial Internet Gateway Data Acquisition, named: 02 Add Gateway Device.jpg

2

Equipment type

Mainstream Brand Gateway

3

Identification method

IP address/domain name

4

IP address/domain name

Fill in according to the actual address configuration

5

Other parameters

default

(3) Set basic information in "Gateway Device"/"Data Center"/"I/O Point"/"TCP". The specific requirements are as follows:

serial number

Design requirements

screenshot

1

Scan time (ms)

1000

Screenshot, saved in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No. *Field\No.* Station\Industrial Internet Gateway Data Collection, named: 03TCP Basic Information.jpg

2

timeout (ms)

3000

3

number of retries

3

4

Automatic recovery time (s)

10

5

Other parameters

default

2. Add gateway data collection node

(1) Add devices in "Gateway Device"/"Data Center"/"I/O Point"/"TCP", the specific requirements are as follows:

serial number

Design requirements

screenshot

1

name

PLC equipment

Screenshot, saved in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No. * Field\No. * Station\Industrial Internet Gateway Data Acquisition, named: 04 Add PLC Device.jpg

2

Equipment type

 Mainstream PLC brand

3

unit number

1

4

IP/domain name

The IP of the PLC in the feeding and filling section

5

The port number

3001

6

Other parameters

default

(2) Refer to the "PLC data point table" to add device data to the "I/O point" and take a screenshot of the PLC device data, and save it in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No.* Field\No. *Station\Industrial Internet Gateway data collection, named: 05 add material loading and filling section collection data.jpg

(3) Add data in "Gateway Device"/"Data Center"/"Computing Point", the specific requirements are as follows:

serial number

point name

default value

expression

cycle

Other parameters

1

maximum pressure

0.0

4000

1S

default

Screenshot, save it in U:\Industrial Internet Integrated Application Competition (Higher Vocational)\No. *Field\No.* Station\Industrial Internet Gateway Data Acquisition, named: 06 Add Calculation Point Data.jpg

3. Gateway data acquisition project operation and maintenance

(1) Set the gateway IP address and subnet mask in "Data Acquisition Cloud Project"/"System Settings"/"Network and Internet"/"Network Settings". The specific requirements are as follows:

serial number

Design requirements

screenshot

1

IP address

192.168.3.99

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网网关数据采集,命名为:07网关网络设置.jpg

2

子网掩码

255.255.255.0

3

其他参数

默认

(2)保存工程并下载到网关中,并在“在线设备”中查看13个数据点是否采集正常。用录屏软件录制“网关设备”在线设备的采集状态,具体要求如下:

在线监控账号:admin,密码:00000000

录制视频时长1分钟以内,录制界面需包含13个数据点;视频命名成“工作站数据采集本地在线监测.mp4”;保存在“U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网网关数据采集”中。

任务2-2 标识解析系统集成应用

(一)任务目的

基于产品属性监测实训案例,融入标识解析技术,体验标识解析的标识定义、标识二维码生成、标识注册、标识解析二级节点平台登录、标识解析等功能。

(二)任务要求

运用工业互联网标识解析一物一码功能,以二维码为信息载体,对产线上产品的信息进行编码,一品一码,建立商品信息管理数据链,通过手机终端中安装的识读软件轻松扫码,即可实时方便地查询商品信息,有效辨识真假。

截图:选手需对任务实施过程中的标识定义界面、生成的标识二维码、标识注册界面、标识解析二级节点平台登录界面、扫码解析结果的界面进行保存,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\标识解析服务应用。

任务2-3边缘计算及数据可视化应用

(一)任务目的

基于工业互联网边缘端数据的采集,对数据进行计算分析,完成数据过滤及预警,作出边缘端应急处理,并完成预警信息及处理结果的上报。

(二)任务要求

1.边缘采集功能应用开发

序号

设计要求

截图

启动边缘端数据库服务

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:启动数据库.jpg

启动开发工具,导入项目工程文件,文件存储位置“U:\工业互联网集成应用赛项(高职)\参考资料\模块B\任务5:工业互联网边缘服务开发”。

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:导入工程文件.jpg

编写数据采集程序,并正确调用程序,实现对数据(位置、数值、时间)的读取。

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:数据读取程序.jpg和调用数据读取函数.jpg

编写数据显示程序,在界面视图中添加显示控件,在函数中添加数据绑定,将读取的实时数据显示在控件中。

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:实时数据显示.jpg

2.边缘计算功能应用开发

序号

设计要求

截图

编写计算分析程序,分别实现数据异常信息、超阀值报警信息

实现对数据的过滤,找出异常数据值的信息(位置、数值、时间)。

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:异常数据计算分析程序.jpg

实现对数据的过滤,找出超阈值数据值的信息(位置、数值、时间)。

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:超阈值数据计算分析程序.jpg

编写分析结果显示程序

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:异常数据信息显示.jpg

3.边缘采集主动上报功能应用开发

序号

设计要求

截图

建立数据库连接并创建数据库及数据表

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:建立数据库连接.jpg和创建数据库及数据表.jpg

正确编写现场应急处理程序并正确调用程序

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:设备停机程序.jpg和调用设备停机函数.jpg

编写数据上报程序并正确调用程序

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\工业互联网边缘服务开发,命名为:异常上报程序.jpg和调用异常上报函数.jpg

任务2-4 工业互联网平台服务应用

(一)任务目的

通过采集上料灌装工段每个节拍的开始和结束时间计算出每个节拍时长,实现数据实时显示并根据节拍时间优化产线生产效率提高产能。

(二)任务要求

可实时显示上料环节、输送环节、罐装环节的开始时间、结束时间和工序耗时,还可显示系统当前日期和时间,另外还设有“复位”按键,双击可初始化所有数据。

1.低代码开发平台的数据采集

(1)节点安装

节点路径:U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\

序号

要求

截图

1

node-red-contrib-mcprotoco

完成MC Read和MC Write两个节点的安装

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:01节点安装.jpg

(2)虚拟机IP配置

序号

要求

截图

1

IP地址

192.168.3.100

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:02虚拟机以太网配置.jpg

2

子网掩码

255.255.255.0

3

默认网关

192.168.3.254

4

DNS

192.168.3.15

(3)节点添加及连接

MC Read 节点添加

序号

节拍内容

PLC IP地址和端口号

地址

1

上料

192.168.3.10:3000

M50

2

输送

M51

3

罐装

M52

将“上料”节点配置截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:03MC Read 节点1.jpg

将“罐装”节点配置截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:04MC Read 节点2.jpg

节拍起/止时间标志位说明表

序号

节拍内容

起始点

终止点

1

料瓶上料

M50=1(PLC1)

M50=0(PLC1)

2

料瓶输送

M51=1(PLC1)

M51=0(PLC1)

3

料瓶罐装

M52=1(PLC1)

M52=0(PLC1)

2.低代码开发平台的组件开发

(1)组件开发要求

开发一个计时组件,实现任意两个数据时间差的计算。

(2)组件开发过程

a.创建时间节点文件

在C:\Users\Administrator\.node-red\node_modules下创建一个“node-red-contrib-loading”文件夹,并按下表要求完成文件创建。将创建的文件截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:05创建文件.jpg

序号

文件名称

备注

1

node-red-contrib-time-difference.html

2

node-red-contrib-time-difference.js

3

package.json

b. “node-red-contrib-loading.html”代码编写

参考U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\node-red-contrib-time-difference\node-red-contrib-loading.html完成代码编写,具体要求如下

序号

属性

属性值

1

节点分类

function

2

颜色

#a6bbcf

3

属性

Name{value}

4

输入个数

1

5

输出个数

1

6

图标

File.png(在线图片,导入文件名就可以使用)

7

节点名称

loading

将编写好的代码截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:06html代码.jpg

c. “node-red-contrib-loading.js”代码编写

参考U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\node-red-contrib-loading\node-red-contrib-loading.js完成代码编写,具体要求如下

序号

要求

1

代码工作流程

1.收到reset指令,将“firsttime”清空;

2.收到第1个信号输入,将当前时间存入“firsttime”;

3.收到第2个信号输入,用当前时间减去“firsttime”里的时间,计算出时间差,单位毫秒;

2

状态显示流程

1.在节点下方显示一个方形图标;

2.没有信号时,不显示;

3.有信号输入且没有计算时间差时,显示为黄色;同时在方形图标右侧显示:时间差缺失

4.有信号输入且有计算时间差时,显示为绿色;同时在方形图标右侧显示:时间差****ms

将编写好的代码截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:07js代码.jpg

d. “package.json”代码编写

参考U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\node-red-contrib-loading\package.json完成代码编写,使“node-red-contrib-loading.html”和“node-red-contrib-loading.js”关联在一起。

将编写好的代码截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:08json代码.jpg。

e.测试“node-red-contrib-loading”节点功能

  • 安装部署“node-red-contrib-loading”节点。
  • 添加节点“inject”和“debug”,并与“node-red-contrib-loading”节点完成连接和调试;调试好后录制视频时长1-2分钟,录制内容详见下表;视频命名成“09节点测试.mp4”,保存在“U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP。

节点测试录制内容要求

序号

内容

备注

1

注入消息

计算出时间差,时间差为最后一次注入的消息和第一次注入消息的时间差

2

清空数据

清空所有数据

3.生产节拍分析APP开发设计

(1)function节点添加要求

序号

function节点名称

备注

序号

function节点名称

备注

1

输出信号1

4

计时

2

输出信号2

5

复位

3

输出信号3

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:10function节点添加.jpg

(2)其他节点添加要求

序号

节点类型

节点名称

备注

1

uibuilder

loading

2

Link in

3

Link out

截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:11其他节点添加.jpg

(3)节点连接

按照任务要求,将添加好的节点按逻辑规则连接起来,并将连接好的界面截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:12节点连接.jpg

(4)节点代码导入

  • function节点代码导入

function节点代码路径:U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\function节点代码

序号

function节点

导入脚本

序号

function节点

导入脚本

1

输出信号1

输出信号1.txt

4

计时

计时.txt

2

输出信号2

输出信号2.txt

5

复位

复位.txt

3

输出信号3

输出信号3.txt

将“输出信号1”节点代码导入截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:13function节点代码导入1.jpg

将“复位”节点代码导入截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:14function节点代码导入2.jpg

  • uibuilder节点代码导入

将U:\工业互联网集成应用赛项(高职)\参考资料\模块二\任务2-4 工业互联网平台服务应用\uibuilder界面文件\loading,复制粘贴到Node-red安装目录下的对应文件夹中(替换原来文件夹),完成后截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:15uibuilder节点代码导入.jpg

(5)界面修改及虚拟运行

  • 添加“模拟开始时间”节点和“模拟结束时间”节点,替代MC Read 节点的信号输入,部署并打开loading,点击“模拟开始时间”观察loading的界面变化并截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:16模拟开始时间界面.jpg
  • 点击“模拟结束时间”观察loading的界面变化并截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:17模拟结束时间界面.jpg
  • 修改脚本调整loading的界面显示及功能,符合下列要求,脚本修改完成后,录制视频时长1-2分钟,录制内容需包括数据注入过程和loading界面变化情况;视频命名成“18APP虚拟运行.mp4”,保存在“U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP。

序号

内容

属性

属性值

1

一级标题

文本

生产节拍分析APP

颜色

Red

大小

H1标签默认大小

2

二级标题

文本

实时数据监控

颜色

aliceblue

大小

20px

3

指示灯

大小

100px*100px

形状

未运行颜色

#c1ce83

运行中颜色

#0dd30d

运行结束颜色

#003c00

4

第一个单元标题

内容

空瓶上料

颜色

aliceblue

大小

默认值

5

第二个单元标题

内容

空瓶输送

颜色

aliceblue

大小

默认值

6

第三个单元标题

内容

液体罐装

颜色

aliceblue

大小

默认值

7

第十个单元标题

内容

总时长

颜色

aliceblue

大小

默认值

8

单元文本要求

内容

开始时间:12:34:55

结束时间:12:34:58

工序耗时:3.216秒

要求

三行文本不能再同一行显示,没有时间时,就只显示文字

颜色

aliceblue

大小

默认值

行高

34px

9

系统时间

内容

2022/10/23 14:23:45

颜色

Orange

大小

25px

10

复位功能

内容

复位

点击效果

点击后弹窗提示复位中

字体颜色

默认

大小

默认

11

全局属性

大小

1600px*900px

背景颜色

Rgb(15,15,64)

4.生产节拍分析APP服务应用及运行监测

(1)部署运行

部署,并打开loading,将显示界面截图,保存在U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP,命名为:19部署运行.jpg

(2)接真实设备运行监测

将上料、灌装工段的真实数据接入,调试好后录制视频时长3-5分钟,录制内容需包括数据注入过程和loading界面变化情况;视频命名成“20APP真实运行.mp4”,保存在“U:\工业互联网集成应用赛项(高职)\第*场\第*号工位\生产节拍分析APP。

Guess you like

Origin blog.csdn.net/weixin_57099902/article/details/131474642