| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- # 默认工位配置
- #单工位
- station:
- mode: single
- name: 液冷板安装+激光点固
- stations:
- - code: OP150C
- line_sn: XT
- ##双工位
- #station:
- # mode: single
- # name: 总成正面装配
- # stations:
- # - code: OP140A
- # line_sn: XT
- server:
- # ip: 127.0.0.1
- ip: 192.168.110.99
- tcp_port: 3000
- http_port: 8980
- heart_beat_cycle: 60
- workflow:
- #手动模式
- # submit_mode: manual
- # 自动模式
- submit_mode: auto
- steps:
- # - id: read_device_data
- # name: 读取设备数据
- - id: scan_product
- name: 扫描工件码
- config:
- prefix: "+KB24" # 工件码前缀校验
- - id: check_quality
- name: 质量检查
- # 质量检查用的工艺号 如果在bind_material则是物料绑定用的工艺号不填有默认值
- craft: "100000"
- - id: scan_material
- name: 扫描冷板码
- config:
- label: 冷板码
- prefix: "+KA94" # 冷板码前缀校验
- - id: validate_material
- name: 校验冷板码
- config:
- craft: "400004" # 冷板校验用的工艺号
- # - id: scan_material
- # name: 扫描底护板码
- # config:
- # label: 底护板码
- # prefix: "+KB77" # 底护板码前缀校验
- # - id: validate_material
- # name: 校验底护板码
- # config:
- # craft: "400004"
- # - id: start_heartbeat
- #
- # - id: reset_device_count
- # name: 重置设备计数
- # config:
- # address: 8
- # value: 1
- # clear_addresses:
- # - address: 66
- # value: 0
- # - address: 68
- # value: 0
- # - address: 70
- # value: 0
- #
- # - id: wait_device_complete
- # - id: stop_heartbeat
- - id: upload_result
- name: 上传结果
- # craft: "500002" # A枪用500001,B枪的包改成500002
- - id: reset_station
- name: 重置工位
- device:
- enabled: false
- type: modbus_tcp
- connect_timeout: 3000
- connections:
- - station_index: 0
- ip: 192.168.0.6
- port: 502
- # - station_index: 1
- # ip: 192.168.0.16
- # port: 502
- timeout_enabled: true #预留但未实现的配置项
- heartbeat_address: 4160
- ready_signal_address: 8
- complete_condition:
- type: count
- # 拉铆过程参数采集配置(从PLC读取,通过HTTP上传到MES)
- prod_params:
- enabled: false
- # PLC寄存器地址(Int32,读取后除以1000得到实际值)
- fout_address: 4112 # 力输出值 F-out
- sout_address: 4120 # 行程输出值 S-out
- fmin_address: 4116 # 力最小值 F-min
- smin_address: 4126 # 行程最小值 S-min
- fmax_address: 4114 # 力最大值 F-max
- smax_address: 4124 # 行程最大值 S-max
- qty_address: 4 # 数量寄存器地址(Int16)
- upload_interval: 60 # 上传间隔(秒)
- ui:
- # 设备信息行配置(最多2行)
- # label: 可选前置标签,不配就不显示
- # preset_address: 预设数量寄存器地址
- # finished_address: 完成数量寄存器地址
- device_info_rows:
- - label: "A"
- # connection_index: 0
- # preset_address: 4534
- # finished_address: 66
- # - label: "B"
- # connection_index: 1
- # preset_address: 4534
- # finished_address: 66
- # 绑定物料
- show_material_input: true
- material_label: 冷板码
|