From OpenSCADAWiki
Template IOs
| Identifier | Parameter | Type | Mode | Attribute | Configuration | Value |
|---|---|---|---|---|---|---|
| srcAddr | Source object's address | String | Input | Not attribute | Constant | |
| inProc | Input processing procedure | Text | Input | Not attribute | Constant | |
| items | All items | Object | Output | Full access | Variable | |
| defs | Item definitions | Text | Input | Full access | Variable |
160:Uncorrectable sectors count when read/write (160) 161:Number of Valid Spare Blocks (161) 163:Number of Initial Invalid Blocks (163) 164:Total Erase Count (164) 165:Block Erase Count (165) 166:Minimum PE Cycles TLC (166) 167:Max Bad Blocks per Die (167) 168:Maximum PE Cycles TLC (168) 168:Max Erase Count of Spec (168) 168:SATA PHY error count (168) 169:Total Bad Blocks (169) 169:Remain Life (169) 170:Grown Bad Blocks (170) 170:Bad Block Count (170) 171:Program Fail Count (171) 172:Erase Fail Count (172) 173:Average PE Cycles TLC (173) 173:Max Erase Count (173) 174:Unexpected Power Loss (174) 184:End-to-End Error (184) 187:Reported Uncorrect (187) 188:Command Timeout (188) 218:CRC Error Count (218) 230:Media Wearout Indicator (230) 231:SSD Life Left (231) 233:NAND GB Written TLC (233) 234:NAND GB Written SLC (234) 241:Host Writes GB (241) 242:Host Reads GiB (242) 244:Temp Throttle Status (244) 245:Flash Write Sector Count (245) |
| this | The object | Object | Input | Not attribute | Variable | |
| SHIFR | Code | String | Input | Not attribute | Variable | |
| NAME | Name | String | Input | Not attribute | Variable | |
| DESCR | Description | String | Input | Not attribute | Variable | |
| f_err | Function error | String | Input | Not attribute | Variable | 0 |
| f_start | Function start flag | Boolean | Input | Not attribute | Variable | 0 |
| f_stop | Function stop flag | Boolean | Input | Not attribute | Variable | 0 |
| f_frq | Frequency of calculation of the function, Hz | Real | Input | Not attribute | Variable | 1000 |