contrologix FSC

zxninja

Member
Join Date
Mar 2003
Posts
39
Hi there...I am having trouble with an FSC. I am programming on the contrologix 5000 and keep getting an invalid expression in my FSC. I want to use this instruction to look for a match in two files. The control is fine, the lenght of these files is 15, my position is 0, I am using incremental and the expression I want is "Error_codes = Error_scan_file".
These file have been created in my controller tags, and they are both a length of 15. I have tried using the following expressions for the FSC and all are being rejected when I verify the rung. It keeps saying "Invalid expression"

Error_scan_file=Error_codes
Error_scan_file = Error_codes
Error_scan_file[=]Error_codes
Error_scan_file [=] Error_codes

I am pulling the names right from the tag data base so I know the spelling matches the tags. Any help would be GREAT!!!!!!!!!!!
I am also wondering if the FSC uses the first position as a dummy one like other file instruction..meaning, do I need to use a length of 16 and start in position 1?
 
If both tags are arrays (don't have files as such in CLX), then you need to index them - most commonly with the .POS of the instruction's control tag.

Look at the examples in the RSLogix 5000 help file.
 

Similar Topics

Can anyone confirm that using contrologix 5580 controller is not possible to work with powerflex 527? It's been a couple of days now that i am...
Replies
8
Views
1,181
Hello, I have a flow control PID that keeps locking up. It seems to control fine but after a while the output no longer moves. For instance...
Replies
4
Views
959
Hi everyone, I can't add any modules to the Controllogix backplane and it doesn't matter online or offline. Both is not working. Please see the...
Replies
13
Views
2,980
Hello, I have a question regarding the possibility of using messages instructions to communicate between: PLC5/80E Series D - CE Water Mark...
Replies
12
Views
3,054
I have a customer who wants to control his DCS800 drives via Ethernet, so I have bought two RETA-01 cards. At the moment they are connected via...
Replies
1
Views
993
Back
Top Bottom