HT Communication Protocol
Controller to MIS data standard
Saurav Das
Last Update 7 months ago
From tender 65 and afterwards the Allen Bradly PLC and
.Net Framework environment MIS data is maintained by a standard sequence. Data is organised in PLC in an array. MIS will read this array in same sequence and will look for event when the reflection of data need to be captured in the database.
Data Sequence Naming
The data sequence has a naming order in PLC and MIS little different. In PLC its 'MIS_Tag[1] to MIS_Tag[40]
In MIS MS Access Database and MySQL Database its F1 to F40.
Sequence in PLC
TPC, TAC, TUC, TOC, FM Number (1-25),Deviation(50 gm resolution), Category(1,2), Dispensed, Residual, and Error Code(0,1,2,3,4 for HT and 0,17,24,16 for Kosel/HTupgrade)
____ CHECK SCALE DATA _____MIS_Tag[1] :TPC
MIS_Tag[2] : TAC
MIS_Tag[3] : TUC
MIS_Tag[4] : TOC
MIS_Tag[11] : Filling Machine (1-25,36)
MIS_Tag[12] : Filling Machine related Deviation (0,5,-5,10,-10 etc)
MIS_Tag[13] : Check Scale Low Tolerance neg value (-15)
MIS_Tag[14]: Check Scale High Tolerance pos value (10)
MIS_Tag[16]: Filling Machine relevant Error code (0,1,2,3)
MIS_Tag[17]: Total Fill Rate Error / Any Error Counter
MIS_Tag[18]: Total Negative Error Count
MIS_Tag[19]: Total Positive Error Count
MIS_Tag[20]: Total Check Error Count
MIS_Tag[22]: Category of the Cyl (1,2)
MIS_Tag[31]: Individual Residual Gas (50 gm resolution)
MIS_Tag[32]: Dispensed Gas(50 gm resolution)
____ COUNTER TYPE DATA _____________
MIS_Tag[5] : IWCU Processed
MIS_Tag[6] : IWCU Rejected
MIS_Tag[7]: VLD Processed
MIS_Tag[8]: VLD Rejected
MIS_Tag[9]: OLD ProcessedMIS_Tag[10]: OLD Rejected
MIS_Tag[23]: Vision Processed
MIS_Tag[24]: Vision Accepted
MIS_Tag[25]: Vision Rejected
___ ** If ANY DOWNSTREAM AVAILABLE At Any Location____
MIS_Tag[26]: PREOLD Processed
MIS_Tag[27]: PREOLD Rejected
MIS_Tag[28]: SEALING 14.2 Kg
MIS_Tag[29]: SEALING 19 Kg
MIS_Tag[30]: RQC
MIS_Tag[37]: PURGING
MIS_Tag[39]: VCM
______________________________________
******** MIS Buffer CountMIS_Tag[38]: MIS Buffer Count ( when this is > 0 data logg will happen)
2. Interlocks in MIS:
i) Check Scale Data Log will happen when FIFO POS (MIS Buffer Count) is > 0
ii) Then it will check if TPC > 0 and FM number > 0 . When TPC = 0 the cycle will not save data.
iii) It checks if each Filling machine is changing from the last one. If multiple same Filling Machine numbers are loaded in Fifo, data logging will stop until it unloads this repetitive data and is auto unloaded once when the mis-buffer count reaches 45. This will re-establish data logging when an unwanted situation arrives in FIFO sequence.
iv) It also checks TPC to be sequential. For Check error, the TPC doesn't increase, so we created exceptions in this check with FM_Deviations > 50 or <-50 It will also save data with TPC not changing.v) Maintaining the sequence and quality of data is essential for Accurate MIS Report. Any lapses here will result in unwanted Graphs and data in the report.
