- New skill equipment with task modbus-station: line, station, scan type, points and connected items by quick load, tested against CI Server's own Modbus slave mirror (eqpmdcmem + eqpmdcslvtcp) - CI-Eng-Sample: section PLC1, station CIENG_PLC with write/read-back items, load/remove steps and mirror start/stop scripts - ISS-024: the TCP slave answers Open Modbus/TCP, not RTU (closed) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.5 KiB
Batchfile
26 lines
1.5 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
|
|
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
|