Why does Factoryfloor sometimes put "LINE.NUM" in compiled files?


#1

I searched for a FF manual but couldn’t find it. I’m looking at old Strategies written by people no longer at my company. Why when I compile certain strategies do the *.ccd files have a line like “1 LINE.NUM” between blocks, while when I compile [I]other[/I] strategies with the same FactoryFloor OptoControl program there is no line like this in the *.ccd files?

Mark.


#2

Hello Mark,

Good question. In both PAC Control and OptoControl (config mode), if you’ve selected: Configure > [B]Full Debug[/B] from the menu up there at the top, you’ll get a bunch of extra stuff (those line numbers you saw) compiled into your strategy. This allows you to step INTO individual blocks when you’re in debug mode. Might also make sorting through strategy files a little easier.

The trade-off is that, when you’ve configured/compiled for Full Debug, you now have all that extra stuff which makes your strategy run a little slower overall. So when people are really trying to squeeze every possible CPU cycle out of their controller for some time-critical process, turning off Full Debug shaves a little time.

You might also be interested in [U][B]this post[/B][/U] where I talk about that LINE.NUM and backing up files, etc.

-OptoMary


#3

Thanks!
Mark.