Ahmedstx Posted August 10, 2019 Report Posted August 10, 2019 Hi ... Everyone I have this warning Cicode message : " possible missing operand between tags" when compile below code ? **************************************** STRING sTagName = "EG01" ; sTagName+"_START" = sTagName+"STATUS" **************************************** Quote
jimtech67 Posted August 20, 2019 Report Posted August 20, 2019 I wrote the CiCode a bunch of years ago.. from what i remember you had to use the read tag function to make a changing prefix work I put the tags in buffers with tag read did my scaling then TagWrite for the output. This was done in ciCode not CiCode Object //////////// put DB tags in buffer variables for Manipulation net_amp_act_1_buff = TagRead(prefix_buff_const+"_current_1"); net_amp_act_2_buff = TagRead(prefix_buff_const+"_current_2"); net_amp_act_3_buff = TagRead(prefix_buff_const+"_current_3"); ////// write reslults the Data Base TagWrite(prefix_buff_const+"_current_1_cal", current_1_cal_buff); TagWrite(prefix_buff_const+"_current_2_cal", current_2_cal_buff); TagWrite(prefix_buff_const+"_current_3_cal", current_3_cal_buff); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.