mCore Firmware Ver 01.10
Ver 2019-Oct-29
Page
71
of
97
Modbus.Write()
TWO OPTIONS - DO ONE OR THE OTHER.
// Wait for eRCM Express to finish calculation (make a subroutine!)
// This fully guarantees that the data being read back is appropriate for
// the operating data sent to the eRCM Express.
Modbus.NumberOfDataValues = eRCM_IsKernelBusyLen
Modbus.Address = eRCM_IsKernelBusyStart
eRCMExpressCount = 0
DO
Sleep 20 ms
Modbus.ReadData() // Read data in the "IsKernelBusy" register.
If Modbus.Data(1) = 0 Then Exit DO // If 0, calculations now complete.
eRCMExpressCount = eRCMExpres 1
LOOP UNTIL eRCMExpressCount > 10 // Prevent Infinite Loop
IF eRCMExpressCount > 10 THEN
MSG “CRITICAL ISSUE: eRCM Express Unit does not appear to be returning
data.”
// NOTE: If gateway device used, you may need to wait longer for updates.
EXIT
END IF
// This method avoids needing to poll the IsKernelBusy register until it goes
// back to zero (0). Most calculations will complete in 150 ms. Thus, simply
// wait a long enough period to guarantee calculations are complete.
// However, for some models, you may need to wait 250-350 ms for completion.
Sleep 150 ms
Modbus.NumberOfDataValues = eRCM_
LStoSetforSULen
Modbus.Address = eRCM_
LStoSetforSU
Modbus.ReadData()
IF Modbus.Data(1) <> -1 THEN
CurrentLoadStep = Modbus.Data(1)
ELSE
// No safe load step found! Not good.
// Company needs to decide if unit should NOT be allowed to go ONLINE, or
// if they want to force a default load step to use instead.
CurrentLoadStep =
-1
ENDIF
Modbus.NumberOfDataValues = eRCM_CheckSafeStartUpLen
Modbus.Address = eRCM_CheckSafeStartUp
Modbus.Data(1) =
0 // The “0” tells
eRCM Express to stop determining Safe
Start Up LS
Modbus.Write()
ELSE
// If we do not have access to final discharge pressure, then it is not clear
// which (if any) load step to implement to bring unit online safely. Thus,
// based on OEM, Operators, Engineering, the load step to use during closing
// of the Bypass Valve has been determined to be “
???
”. Thus, implement this
// step.
CurrentLoadStep =
23 // For Two-stage injection, use last load step, LS#23.
ENDIF
Summary of Contents for eRCM Express
Page 3: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 3 of 97 eRCM Express Package Contents ...
Page 5: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 5 of 97 eRCM Express Contact and Support ...
Page 7: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 7 of 97 eRCM Express Unit Installation ...
Page 17: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 17 of 97 eRCM Express Diagnostics Software ...
Page 19: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 19 of 97 eRCM Express Uploading Modeling File s ...
Page 23: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 23 of 97 eRCM Express Uploading a License File ...
Page 25: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 25 of 97 eRCM Express Updating Unit Firmware ...
Page 27: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 27 of 97 eRCM Express Changing LAN Settings ...
Page 29: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 29 of 97 eRCM Express General Process ...
Page 37: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 37 of 97 eRCM Express Pseudo Code Examples ...
Page 40: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 40 of 97 eRCM Express Using Select Features ...
Page 48: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 48 of 97 eRCM Express Miscellaneous Notes ...
Page 60: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 60 of 97 ERROR ARRAY AB Tag Name ...
Page 61: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 61 of 97 LOAD ARRAY AB Tag Name ...
Page 62: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 62 of 97 FLOW ARRAY AB Tag Name ...
Page 63: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 63 of 97 STAGE ARRAY AB Tag Name ...
Page 64: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 64 of 97 THROW ARRAY AB Tag Name ...
Page 65: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 65 of 97 CYL_HE ARRAY AB Tag Name ...
Page 66: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 66 of 97 CYL_CE ARRAY AB Tag Name ...
Page 67: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 67 of 97 RANGES ...
Page 77: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 77 of 97 ...
Page 90: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 90 of 97 ...
Page 91: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 91 of 97 ...
Page 92: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 92 of 97 ...
Page 93: ...mCore Firmware Ver 01 10 Ver 2019 Oct 29 Page 93 of 97 ...