Moxa ioPAC 8020-9-RJ45-C-T [57/66] Mx_ras_updatetag

Moxa ioPAC 8020-5-RJ45-C-T [57/66] Mx_ras_updatetag
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-49
MX_Ras_UpdateTag
INT32 MX_Ras_UpdateTag(UINT32 sHandle, TAG_INFO *tagInfo, UINT32 timeoutMs);
This function updates the configuration info of a tag to the Active OPC (RAS) server.
Input Parameters
sHandle
The opened connection handle
tagInfo
Refer to the parameter description of function MX_Ras_AddTag()
timeoutMs
The timeout value in milliseconds
Output Parameters
None
Return Value
RAS_ERR_OK
RAS_ERR_LIB_INIT
RAS_ERR_PARAM
RAS_ERR_NO_TAG
RAS_ERR_NO_MEMORY
RAS_ERR_NO_QUEUE
RAS_ERR_SERVER_ERROR
MX_Ras_UpdateValue
INT32 MX_Ras_UpdateValue(UINT32 sHandle, UINT8 *tagName, void *tagValue, UINT32
timeoutMs);
This function updates the tag value to the Active OPC (RAS) Server.
Input Parameters
sHandle
The opened connection handle.
tagName
Refer to the parameter description of function MX_Ras_AddTag()
tagValue
Refer to the parameter description of function MX_Ras_AddTag()
timeoutMs
The timeout value in milliseconds
Output Parameters
None
Return Value
RAS_ERR_OK
RAS_ERR_LIB_INIT
RAS_ERR_PARAM
RAS_ERR_NO_TAG
RAS_ERR_NO_MEMORY
RAS_ERR_NO_QUEUE
RAS_ERR_SERVER_ERROR

Содержание

Скачать