Can I read a value from a PCD text and copy it into a register?
FAQ #101187
For "reading" a value from a PCD text (e.g. copying "1234" from a PCD text with content "The next number is: 1234" into a Register) a new System Function has been added for PCD3 and PCD2.M5xx0.
What does this System Function (SF) do?
The new function "S.SF.DBLIB.ReadANumberFromText" allows reading a number from a text and copy it into a register. Starting from a provided pointer, the next number will be searched and copied.
Where do I find the documentation for this function?
This function is documented in PG5 2.0. The easiest way to open the documentation is opening the SEdit, selecting the "SF DB Access Library" and hitting "F1":
Minimum Firmware (FW) requirement for this feature
System | Beta FW version | first production version |
PCD2.M5xx0 | 1.10.07 | 1.10.16 |
PCD3.Mxxx0 | 1.10.07 | 1.10.16 |
PCD systems not listed in this table do not support this function.
Remark
This feature can only be used with PG5 2.0.
Categories
PCD2 / _Firmware Classic
PCD3 / _Firmware Classic
PG5 2.0 / SEdit (IL programming)
Last update: 01.06.2015 01:22
First release: 14.04.2009 15:01
Views: 3656