Applies To: |
|
Summary: |
Yes. It is possible to perform a raw write using cicode. This may be necessary if you are mapping tags from an array, into tags which have raw and engineering scales already applied. Since the built in tagwrite() funtion will use the scaling defined, this will render values invalid. The only way to overcome this, is to perform a raw tag write. |
Solution: |
The following Cicode can be used to
perform a raw write:
FUNCTION STRING
sRawZ = TagInfo(sTagName,2); REAL
rRawZ = 0.00; IF
sEngF = "" THEN IF
sRawZ = "" OR sRawF =
"" OR sEngZ
= ""
OR sEngF = "" THEN
rRawZ = StrToReal(sRawZ); END |
Keywords: |
Related Links
Attachments