On the area/button/graphic you need to do the entry go to the Input tab of the object properties then keyboard command, configure the key sequence as ###### ENTER then in the command box of the area properties use your_variable_name = Arg1
Note the ####### needs to be as long as your string or date entered INCLUDING all spaces or decimal points so for instance 12.34 would be ##### ENTER, THIS TEXT would be ######### ENTER
I have configure some digital alarm and thats alarm i have to Log in SQL using cicode but when i am trying to this this it cant work please can any one help me for the cicode for alarm log in SQL.
in the SQL table i want
{LogDate}{LogTime}{EqId}{AlarmName}{AckDate}{AckTime}{Comment}
in which EqId is my plc name in string whatever i will deside.
I have configure some digital alarm and thats alarm i have to Log in SQL using cicode but when i am trying to this this it cant work please can any one help me for the cicode for alarm log in SQL.
in the SQL table i want
{LogDate}{LogTime}{EqId}{AlarmName}{AckDate}{AckTime}{Comment}
in which EqId is my plc name in string whatever i will deside.