Bad expression syntax in RSView Studio ME

mulderm

Member
Join Date
Jun 2003
Location
Netherlands
Posts
298
Hello,

I have migrating from Panelview 1200 to Panelview 1400e and
have this project import to RSView Studio ME.
This project is using for Remote I/O of a PLC5/25.
Now the follow converted tag have I tried using bitwise-shifting:
Tag_DO02_7_0-7_4_Bin

The expression: (Tag_DO02_7_0-7_4_Bin << 11) & 65535 >> 11

Now I get the error: Error at Line 1, column 17:
Missing right parenthesis, ´)´.

What is wrong?

mulderm
 
Without looking it up, my guess would be that the tag name is too long...the error message infers that 15 or 16 characters is the max length.

Also, is that one tag name or two subtracted? If one, then the minus sign may be illegal. if two, then a number may be illegal as the first character in the 2nd name,
 
Make sure that the import utility doesn't consider your source tag as "default" data type. You need an Integer to be able to perform bit shifting.

I remember a bug a couple of years ago where some "default" data types were being interpreted as REAL numbers and you'd get that sort of error when you tried to use a bit-shifting expression.
 
Thank you guy´s, jstolaruk is right.
The problem was the - karakter.
I have this replace with a _ and the tag correct.
By the way, how can I testing the application on the Remote I/O
connection?

Greetings,

mulderm
 
mulderm said:
By the way, how can I testing the application on the Remote I/O
connection?

I know you've been asking around about this, but honestly I don't know how you can do it without setting up a test bed; SLC, rack, and SN module. Sorry I can't be of more help.
 

Similar Topics

Hello all, I know its not good practice to have duplicate destructive bits when writing plc code, but I'm wondering about writing to the same tag...
Replies
2
Views
141
Hello all, I am brand new here :cool:. I'm limited in my controls knowledge but always trying to learn more. I recently started working at a...
Replies
14
Views
378
Dear All, I have an Mitsubishi PLC (FX1N-40MR) and PLC backup was taken and i compiled the program and its showing 0 error. then I tried to...
Replies
8
Views
312
Hi, Have anyone came across issue with Kepware or Linkmaster not returning correct values (Unknown Quality) for some tags From OPC DA Client...
Replies
7
Views
718
I have run into a problem with my first time installing a 2080-OF2 module on a Micro820 and have a hunch that the module itself - brand new out of...
Replies
9
Views
974
Back
Top Bottom