Autor Thema: Cycle Masks  (Gelesen 8683 mal)

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Cycle Masks
« am: Juni 14, 2004, 18:22:19 Nachmittag »
We have an application where we want to cycle through a series of masks based on a marker bit.  For example, if M01 is on show Mask 1 for 5 seconds, then if M02 is on, show Mask 2 for 5 sec etc. for about 10 masks.  But, if the marker bit for that screen is off, skip that screen and check the next.   I'm pretty new to MFD and Easy and having a hard time trying to get this to work. 

Anyone have any ideas?

Thanks

nOrM

Offline julian

  • Full Member
  • ***
  • Beiträge: 184
  • I love easy-Forum.net
Re: Cycle Masks
« Antwort #1 am: Juni 21, 2004, 20:48:13 Nachmittag »
Please test this MOELLER program.
Origionally it's a download from German Forum.
I changed number of masks,displaytime and comments.
May be it can serve as a basic for your application.
Regards,
Julian

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Re: Cycle Masks
« Antwort #2 am: Juni 23, 2004, 18:27:58 Nachmittag »
julian,

Thanks for the file,  I get the idea but can't figure out how to trigger that an alarm screen is active.  Can you provide a very simple instructions?

thanks again,

nOrM

Offline julian

  • Full Member
  • ***
  • Beiträge: 184
  • I love easy-Forum.net
Re: Cycle Masks
« Antwort #3 am: Juni 24, 2004, 13:02:24 Nachmittag »
Go to program line 24 und up.
You can see discretes inputs I01...I10 triggers alarm marker
M81.....M90.
M81 to M90 are the contents of word 06 which is ANDed with  shift register contents word 07 by BV32.
For an explaination of M,MB,MW,MD memory area go to EASY-SOFT online help,choice marker and you will find a table.
Go with EASY-Soft in simulation mode and set one or more of Inputs I01...I10 to ON condition and the correponding mask(1...10)should be shown for 5 sec.
A good way for understanding programs is to increasing cycle time,for example to 1sec.
Then users have enough time to observe program flow.
Regards,
Julian

Offline ndzied1

  • Jr. Member
  • **
  • Beiträge: 40
  • One if By Land
Re: Cycle Masks
« Antwort #4 am: Juni 24, 2004, 20:12:20 Nachmittag »
Julian,

Very cool  Thanks a lot.  The only instruction I haven't run across yet is the BV.

Also, thanks for the cycle time suggestion.!!

nOrM

Offline Luis Peres

  • Newbie
  • *
  • Beiträge: 14
  • I love easy-Forum.net!
Re: Cycle Masks
« Antwort #5 am: Januar 07, 2005, 15:37:52 Nachmittag »
Please test this MOELLER program.
Origionally it's a download from German Forum.
I changed number of masks,displaytime and comments.
May be it can serve as a basic for your application.
Regards,
Julian

I use your program and after that I have tried with double word (MD) to use 25 images (25 masks) but the "AR31(DIV)" stops at the number 1.073.741.824 (30 bits) and the program only works 1 time...! Can you help me?

Offline Ricardo

  • Newbie
  • *
  • Beiträge: 16
  • I love easy-Forum.net!
    • Moeller
Re: Cycle Masks
« Antwort #6 am: Januar 10, 2005, 22:32:06 Nachmittag »
The MFD User Manual 06/04 AWB2528-1480GB now includes a whole new chapter on "Visualization with MFD"  :)

The chapter describes (with examples which are supplied with EASY-SOFT-PRO from version 5.11) how to create and interact with the visualization elements in the screens:
- Static text
- Bit display
- Date and time
- Bitmap
- Numerical value
- Value entry
- Message text

Note that the 5.11 update does not get you the 06/04 User Manual, download it:
http://www.moeller.net/en/industry/switchgear/display_operate/mfd/download.jsp

Offline julian

  • Full Member
  • ***
  • Beiträge: 184
  • I love easy-Forum.net
Re: Cycle Masks
« Antwort #7 am: Januar 11, 2005, 18:34:59 Nachmittag »
Luis,
in the basic program AR31compares AR32 with bit17(65536).
If it goes high,divison result is 1 AR30 adds it to to MW7 it's contents was 0 (bit 1-16=zero).
Shift register starts with 1 again.
If we replace MW by MD(32bit) we should have a shift register reset also for avoiding an value overflow,(carry bit shows high),shift register stops.
I added a comparator with limit bit 27.
If this bit goes high CP writes 1 to MD5.
Shift register starts again with 1.
This CP needs one cycle time so I can't use bit 1.
In my example mask 1 is visible with bit 2.
For test use I added an EASY 600 extension.
Please check the attached example.
Regards,
Julian

Offline Luis Peres

  • Newbie
  • *
  • Beiträge: 14
  • I love easy-Forum.net!
Re: Cycle Masks
« Antwort #8 am: Februar 07, 2005, 22:50:38 Nachmittag »
Many thanks!