- 08_auth_group_df.qli: + CIENG_OPERATOR (factory OPERATOR actions + EXECUTE_GENERAL_COMMANDS for the server-side live-data Start) - 08b_user_df.qli (new): CIENG, PASSWORD "" given explicitly, layout CIENG_Operator, initial display CIENG_Overview; loaded by load.cmd after 08 - 85_remove_auth_group_df.qli: removes CIENG before CIENG_OPERATOR and CIENG_VIEWER - remove.cmd: log out every CIENG session first (a group with an open session of its user cannot be removed: DSSP-E-NODEL in USER_VAL; a retry stopped DSSSDA03 with DUR-F-BAD_SIZE) - Tested on CI Server R1.03.00 2026-10-06: full remove.cmd / load.cmd (load 0 errors); CIENG logon with empty password on web and desktop lands on CIENG_Overview; ADMIN keeps the default layout; Start as CIENG; displays bind to the recreated items in a fresh session Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
50 lines
3 KiB
Batchfile
50 lines
3 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: groups CIENG_VIEWER (read-only) and CIENG_OPERATOR (demo user)
|
|
dssqld -i 08_auth_group_df.qli -l 08_auth_group_df.qlo
|
|
rem Demo user CIENG (no password; logs on to the CIENG_Operator layout)
|
|
dssqld -i 08b_user_df.qli -l 08b_user_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
|
|
rem Audit trail: selection group (compiled on load) and an ad-hoc audit report.
|
|
dssqld -i 19_audit_df.qli -l 19_audit_df.qlo
|
|
rem Audit trailing wanted for PUMP1.MODE (modify existing record)
|
|
dssqld -m 19b_audit_item_df.qli -l 19b_audit_item_df.qlo
|