Help - Search - Members - Calendar
Full Version: CX designer & know how
Forums.MrPLC.com > PLCs and Supporting Devices > Omron > CX-Designer
pszczepan
Hi !

I have a project where the carriage goes forward and backward. signal goes from encoder.
[attachmentid=5467]

I would like to make dynamic object - carriage below arrows on the picture, which will be connected with date from encoder and it will goes up and down on the NS.

How to make it?
- word lamp and divide distance per 10 different shapes - it will not be fluent
- macro or something.

What is your idea guys, any example?

thanks
Pawel
Teropod
Macro moveparts(n,x,y), with readhostb(D,h,ch,addr,r,n) could be usefull and to diplay it with control flag display indirect is how would i do it.
beegee
I have made this with a macro:


(this is an up/down movement for objects 3,4 and 6 + ar left/right movement for object 5)

ReadhostW($W20,1,100,207,2);
$W20= 37+(600-$W20)/7;
Moveparts(3,137,$W20);
Moveparts(4,139,$W20-22);
Moveparts(6,140,$W20+3);
$W21=137-$W21/5;
Moveparts(5,$W21,101);

I have the macro triggered on a bitlamp I set off-screen so I can change the update speed or even hold it still....



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.