Re: [foxboro] Issue multiple commands at one click & dmcmd limitation

  • From: "Murray, Steve" <SMurray@xxxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 15 Nov 2013 20:02:06 +0000

If you want to accomplish this task JUST from a Foxview display screen then 
create a button and  select it in FoxDraw.  
Click on Configure Objects, then click on the Operator Action tab.  
Click the Add button and pick Display Command.
A box will appear that will allow you to enter a command string in the left 
pane, and a command browser on the right pane that shows the command browser to 
show you what commands are available and their syntax..

On the left side enter your desired command string such as:

Setb Compound:Block1.MA 0
Setb Compound:Block2.MA 0
Setb Compound:Block3.MA 0
Setb Compound:Block4MA 0
Setb Compound:Block5.MA 0
Setb Compound:Block6.MA 0
Setb Compound:Block7.MA 0
Setb Compound:Block8.MA 0
Sleep 1
Setb Compound:Block1.MA 1
Setb Compound:Block2.MA 1
Setb Compound:Block3.MA 1
Setb Compound:Block4.MA 1
Setb Compound:Block5.MA 1
Setb Compound:Block6.MA 1
Setb Compound:Block7.MA 1
Setb Compound:Block8.MA 1


  I don't know if there is a limit to how many lines you can use, but I have 
one button on a display that puts 18 blocks into Auto, so the 17 lines for your 
eight drives & sleep command should work OK.

  .MA 0 = Manual, .MA 1 = Auto

  You are showing in your code snippet that you want to put the eight drives 
into Auto first, sleep for one second, and then put them into Manual - is this 
really what you need to do?

  I usually have two buttons on a FoxView display - one puts one or more things 
into Auto, the other puts them into Manual.

  I have other buttons that will put two out of three things into Manual and 
the third into Auto.  The possibilities are endless  .  .  .

Steve Murray
Asarco
520 356-4230

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On 
Behalf Of RAKESH DASH
Sent: Friday, November 15, 2013 10:12 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Issue multiple commands at one click & dmcmd limitation

Hi List,
I want to give pulse command to 8 drives at one go. Basically want to put all 8 
drives in manual in a click of a button instead operator clicking each 8 drives 
manual button.
I tried dmcmd script where i wrote the following
---------------------------------
dmcmd setb x1 1
.
dmcmd setb x8 1
sleep 1
dmcmd setb x1 0
.
dmcmd setb x8 0
-----------------------------------
But the above script is giving error that i have exceeded the number of lines. 
With 7 drives, the above script is working fine.
Don't really want to mess up with the logic in IACC to do this. Want to do 
through foxview only.
Any way out there ?

Regards,
Rakesh


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process Systems 
(formerly The Foxboro Company). Use the info you obtain here at your own risks. 
Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: