Building with custom s7plcFW module to correctly read strings from SPS

This commit is contained in:
2025-04-17 11:14:47 +02:00
parent ccdd3e087c
commit e93610f184
3 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ ARCH_FILTER=RHEL%
# additional module dependencies # additional module dependencies
REQUIRED+=calc REQUIRED+=calc
REQUIRED+=s7plcFW # REQUIRED+=s7plcFW
# General DB files to include in the release # General DB files to include in the release
TEMPLATES += db/sps_status.db TEMPLATES += db/sps_status.db

View File

@ -1,4 +1,4 @@
require s7plcFW require s7plcFW, wall_e
# s7plcFWConfigure( # s7plcFWConfigure(
# # Alias, # # Alias,

View File

@ -27,11 +27,11 @@ file "$(sinqSPS_DB)/readstring.db"
{ {
pattern pattern
{OFFSET, LENGTH, STRING_NAME } {OFFSET, LENGTH, STRING_NAME }
{6 , 11 , "PSYS-OK" } {4 , 11 , "PSYS-OK" }
{20 , 17 , "SHUTTER-READY" } {18 , 17 , "SHUTTER-READY" }
{40 , 17 , "EMERGENCY-STOP" } {38 , 17 , "EMERGENCY-STOP" }
{60 , 19 , "BLOCKED" } {58 , 19 , "BLOCKED" }
{82 , 24 , "BLOCKED-REASON" } {80 , 24 , "BLOCKED-REASON" }
{108 , 14 , "OPEN" } {106 , 14 , "OPEN" }
{124 , 27 , "REMOTE" } {122 , 27 , "REMOTE" }
} }