CIENG_FILE (file device built for the node at load time), CIENG_TANK1 (ad hoc with item parameter, daily 06:00), CIENG_INFLOW_HI (item trigger) and CIENG_HTML (HTML, cursor loop, logbook). remove.cmd clears the schedule first, since a scheduled report cannot be deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
2.6 KiB
Batchfile
44 lines
2.6 KiB
Batchfile
@echo off
|
|
rem Load CI-Eng-Sample into a CI Server R1.03 TEST system.
|
|
rem Run in an elevated prompt while CI Server is running; call this script by full path.
|
|
rem Results go to *.qlo listing files; check that Errors = 0.
|
|
rem Restart CI Server afterwards: new storage groups only start storing after a restart.
|
|
cd /d "%~dp0"
|
|
dssqld -i 01_section_df.qli -l 01_section_df.qlo
|
|
rem Alarm definitions (acknowledgement type, area of interest, alarm selection area)
|
|
dssqld -i 01b_alarm_df.qli -l 01b_alarm_df.qlo
|
|
dssqld -i 02_item_df.qli -l 02_item_df.qlo
|
|
dssqld -i 02b_sub_item_df.qli -l 02b_sub_item_df.qlo
|
|
dssqld -i 03_his_group_df.qli -l 03_his_group_df.qlo
|
|
rem Short pause: linking items straight after creating the group failed once.
|
|
powershell -NoProfile -Command "Start-Sleep -Seconds 5"
|
|
dssqld -i 04_item_his_df.qli -l 04_item_his_df.qlo
|
|
rem Processing: trigger group, class (compiled on load via COMPILE = 1), object
|
|
dssqld -i 05_trigger_df.qli -l 05_trigger_df.qlo
|
|
dssqld -i 06_class_df.qli -l 06_class_df.qlo
|
|
dssqld -i 07_object_df.qli -l 07_object_df.qlo
|
|
rem Authorization: read-only group (no users are created by the sample)
|
|
dssqld -i 08_auth_group_df.qli -l 08_auth_group_df.qlo
|
|
rem Equipment: Modbus loopback line, station, scan type, points, connected items.
|
|
rem The station needs the Modbus slave mirror (equipment\eqpciengslv_start.cmd, see README).
|
|
dssqld -i 09_modbus_line_df.qli -l 09_modbus_line_df.qlo
|
|
echo Waiting 15 seconds for equipment manager EQPCIENG to start...
|
|
powershell -NoProfile -Command "Start-Sleep -Seconds 15"
|
|
dssqld -i 10_modbus_station_df.qli -l 10_modbus_station_df.qlo
|
|
dssqld -i 11_item_eqp_df.qli -l 11_item_eqp_df.qlo
|
|
rem OPC: make TANK1.LEVEL and its sections visible to OPC clients (modify existing records)
|
|
dssqld -m 12_opc_visible_df.qli -l 12_opc_visible_df.qlo
|
|
rem OPC UA loopback: client line (starts OPXCIENG), station/subscription/points, connected items.
|
|
rem The first connection needs a one-time certificate exchange (see README).
|
|
dssqld -i 13_opcua_line_df.qli -l 13_opcua_line_df.qlo
|
|
echo Waiting 10 seconds for OPC UA client OPXCIENG to start...
|
|
powershell -NoProfile -Command "Start-Sleep -Seconds 10"
|
|
dssqld -i 14_opcua_station_df.qli -l 14_opcua_station_df.qlo
|
|
dssqld -i 15_item_opcua_df.qli -l 15_item_opcua_df.qlo
|
|
rem Alarming: switch on alarms for TANK1.LEVEL (modify existing record)
|
|
dssqld -m 16_item_alarm_df.qli -l 16_item_alarm_df.qlo
|
|
rem Reports: file output device and destination (17_printer_df.qli is built for this node
|
|
rem from 17_printer_df.tpl), then the report definitions.
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File 17_printer_df.ps1
|
|
dssqld -i 17_printer_df.qli -l 17_printer_df.qlo
|
|
dssqld -i 18_report_df.qli -l 18_report_df.qlo
|