I am looking for some help using Kepware as OPC with SNPX. In the SNPX manual, it states that you can set and clear SNPX assignments, set system variables, etc. using a string sent from %G. I took a clip from the manual below. My issues is I cannot use %G tags as a string using GE Open kepware driver. Does anyone have any experience using these functions? Any help would be appreciated!
"If HMI device can write a string to PLC address %G, the string is interpreted as a command. Any address in %G can accept command string. The following commands are supported.
CLRASG Clear all $SNPX_ASG
Format: CLRASG
Function: All $SNPX_ASG members in all elements are cleared. Please execute this command once before use SETASG commands.
SETASG Set $SNPX_ASG
Format: SETASG ($ADDRESS) ($SIZE) ($VAR_NAME) [($MULTIPLY)]
Function: Set specified value to $SNPX_ASG. The unused element of $SNPX_ASG array is selected automatically. $MULTIPLY can be omitted. If $MULTIPLY is not specified, $MULTIPLY becomes 1. Please execute CLRASG once before execute SETASG.
SETVAR Set system variable
Format: SETVAR (System variable name) (value)
Function: The specified value is set in the specified system variable. Available data type of system variable is INTEGER, SHORT, BYTE, REAL, BOOLEAN and STRING. To set BOOLEN type variable, set 1 for TRUE, set 0 for FALSE. To set STRING type variable, please use “” to set string including space character."