Auto: ablegacy-11 — RSLogix 500/PLC-5 CSV symbol import

Closes #254
This commit is contained in:
Joseph Doherty
2026-04-26 04:13:13 -04:00
parent 4fdeef7a6c
commit 4e8df38bb2
19 changed files with 1644 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
{
"Tags": [
{
"Name": "MotorSpeed",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "N7:0",
"DataType": "Int",
"Writable": true
},
{
"Name": "TankLevel",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "F8:0",
"DataType": "Float",
"Writable": true
},
{
"Name": "RunFlag",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "B3:0/0",
"DataType": "Bit",
"Writable": true
},
{
"Name": "TotalCount",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "L9:0",
"DataType": "Long",
"Writable": true
},
{
"Name": "RecipeName",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "ST10:0",
"DataType": "String",
"Writable": true
},
{
"Name": "DwellTimer",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "T4:0.ACC",
"DataType": "TimerElement",
"Writable": true
},
{
"Name": "PieceCounter",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "C5:0.ACC",
"DataType": "CounterElement",
"Writable": true
},
{
"Name": "StateMachine",
"DeviceHostAddress": "ab://192.168.1.20/1,0",
"Address": "R6:0.LEN",
"DataType": "ControlElement",
"Writable": true
}
]
}

View File

@@ -0,0 +1,13 @@
; ablegacy-11 / #254 — canonical RSLogix CSV symbol export covering one row per
; file letter the v1 importer recognises (N/F/B/L/ST/T/C/R). Comment lines
; (starting with `;` or `#`) are skipped by the parser so this header doc
; survives a round-trip without affecting the imported tag count.
Symbol,Address,Description,DataType,Scope
MotorSpeed,N7:0,Motor speed setpoint,INT,Global
TankLevel,F8:0,Tank level (gallons),REAL,Global
RunFlag,B3:0/0,Run command flag,BOOL,Global
TotalCount,L9:0,Total piece count,LINT,Global
RecipeName,ST10:0,"Recipe name, free-form text",STRING,Global
DwellTimer,T4:0.ACC,Dwell timer accumulator,TIMER,Global
PieceCounter,C5:0.ACC,Piece counter accumulator,COUNTER,Global
StateMachine,R6:0.LEN,State-machine control length,CONTROL,Global
1 ; ablegacy-11 / #254 — canonical RSLogix CSV symbol export covering one row per
2 ; file letter the v1 importer recognises (N/F/B/L/ST/T/C/R). Comment lines
3 ; (starting with `;` or `#`) are skipped by the parser so this header doc
4 ; survives a round-trip without affecting the imported tag count.
5 Symbol Address Description DataType Scope
6 MotorSpeed N7:0 Motor speed setpoint INT Global
7 TankLevel F8:0 Tank level (gallons) REAL Global
8 RunFlag B3:0/0 Run command flag BOOL Global
9 TotalCount L9:0 Total piece count LINT Global
10 RecipeName ST10:0 Recipe name, free-form text STRING Global
11 DwellTimer T4:0.ACC Dwell timer accumulator TIMER Global
12 PieceCounter C5:0.ACC Piece counter accumulator COUNTER Global
13 StateMachine R6:0.LEN State-machine control length CONTROL Global