Help - Search - Members - Calendar
Full Version: CX-Designer and Macro question
Forums.MrPLC.com > PLCs and Supporting Devices > Omron > CX-Designer
pszczepan
Hi !

I am not sure if I have to use macro, but I want to switch OFF the object "button ON/OFF" when I change value in "thumbwheel switch" object.

Could you help me how I can get it.

Anyway - Could you recommend me any quickstart for CX-Designer and Macro instruction?

I've just started with CX-Designer and I do not even know how I can switch different screens;
What is the difference between screen and sheet?


Thanks
PAwel
tashinz
try to avoid macros since it keeps application simpler and easier to maintain.
QUOTE
but I want to switch OFF the object "button ON/OFF" when I change value in "thumbwheel switch" object.

i suppose it is alternate type of on/off button. you can do that in plc program, or you can use the following macro attached to when changing numeral in macro section of thumbwheel switch object:

$B100=0;
WRITECMEM([SERIALA:00100.00],$B100,1);

where 100.00 is the bit your on/off button writes. SERIALA is the name of the plc host attached to the port A i.e. that is the name of the plc (it can be different if you use ethernet e.g.) $B100 is temporary bit fron ns memory. you can see the help for writecmem command in macro editor.

hope this is helpful. regards.
PdL
QUOTE(pszczepan @ Jul 19 2007, 01:32 PM) [snapback]56735[/snapback]

Anyway - Could you recommend me any quickstart for CX-Designer and Macro instruction?

I've just started with CX-Designer and I do not even know how I can switch different screens;


No quickstarts but enough information to start with

IPB Image

QUOTE(pszczepan @ Jul 19 2007, 01:32 PM) [snapback]56735[/snapback]

What is the difference between screen and sheet?


See my post here.
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.