Help - Search - Members - Calendar
Full Version: FINS instruction in a macro
Forums.MrPLC.com > PLCs and Supporting Devices > Omron > CX-Designer
ParaffinPower
Hi all
I found some clever code in a CXDesigner project which sends a FINS command to the PLC then to an inverter (for example)
I can't take credit for this...
CODE
FINS(0,0,144,$W31500,11,1,2,2,$W31500,0);


I editted this to point to my SCU. This was some time ago

Do I have to do something clever to use the FINS instruction? I get a 'Format Error' in CXDesigner.
I can't remember doing anything before (but it probably was an earlier version of CXD)

The code above was uploaded from a screen, and works fine BUT I can't even press OK on existing code, nevermind after editting - alway get the same Format Error
Thanks,
Pp
Andy_P
QUOTE(ParaffinPower @ Mar 27 2008, 08:55 PM) [snapback]66979[/snapback]
Hi all
I found some clever code in a CXDesigner project which sends a FINS command to the PLC then to an inverter (for example)
I can't take credit for this...
CODE
FINS(0,0,144,$W31500,11,1,2,2,$W31500,0);


I editted this to point to my SCU. This was some time ago

Do I have to do something clever to use the FINS instruction? I get a 'Format Error' in CXDesigner.
I can't remember doing anything before (but it probably was an earlier version of CXD)

The code above was uploaded from a screen, and works fine BUT I can't even press OK on existing code, nevermind after editting - alway get the same Format Error
Thanks,
Pp


What screen are you trying to use it on? I don't see a FINS command listed in V5, V6 or V7 system NS screen projects.


Andy.
ParaffinPower
Hi Andy
NS8, but I poached the code from NS5. It doesn't (and didn't appear) in the list of available instructions.

All I remember is I editted it, it worked, but now I can't change it again (or even 'OK'). I've got to 'Cancel' out of the screen.

I've tried in Developer mode (the mode where you can create SmAPS), but still no luck.
Andy_P
QUOTE(ParaffinPower @ Mar 27 2008, 09:14 PM) [snapback]66982[/snapback]
. It doesn't (and didn't appear) in the list of available instructions.


Very odd. wow.gif

I still have NS-Designer installed on a work laptop so I will see if the instruction is accepted with that.



Andy.
beegee
please look to this doc

http://forums.mrplc.com/index.php?autocom=downloads&showfile=772

Beegee
ParaffinPower
QUOTE(beegee @ Mar 28 2008, 10:00 AM) [snapback]67002[/snapback]


Thanks, beegee.
But I get an error when entering a FINS command.
Can anyone tell me how to use a FINS instruction in a macro?

Thanks
beegee
QUOTE(ParaffinPower @ Mar 28 2008, 11:05 PM) [snapback]67025[/snapback]


Thanks, beegee.
But I get an error when entering a FINS command.
Can anyone tell me how to use a FINS instruction in a macro?

Thanks


Maybe it only works in DEvelop mode.....
ParaffinPower
No, it doesn't work in developer mode either, but I have recently discovered how how to do it. Pp
ScottHeil
It looks like this is an old question that was never answered. To use the FINS instruction in Cx-Designer's Macros you have to enable it.
First find the following file located in its default location C:\Program Files\OMRON\CX-One\CX-Designer\MACROINS.DEF
Open the file in notepad, and scroll down to where you see 'FINS,300 Aprox line number 55. Remove the apostrophe ' before the FINS command and save

You will now be able to use and see FINS in the macro list.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.