Search the Community

Showing results for tags 'variable'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 13 results

  1. I'm having a problem creating variable tag array in Citect SCADA V7.40. I looked every possible help, user guide... but no matter how i set array I cannot change value of any element of array beside first one. I configured my variable tag as shown below: Tag name: TestArray I/O Device: Internal (it's an OPC Factory Server) Address: V500[5], %MF4000[5], I2[5], F2[5] (I tried every one of these for REAL or INTEGER type based on user guide/forum posts) Data type: REAL, INTEGER   I tried every one of these but without success. If i try to set value of variable tag array element, example TestArray[1] and TestArray[4], by typing value in Number field (in Citect Runtime) every element of an array is giving me message #ERR, except first one. Other than that in Citect Runtime in All variable tags window, I can see TestArray tag as a single tag, not as an array Note that i'm not using these tags in Cicode but in Graphic Builder / Runtime. I need about about 50 user defined value tags to be sent to SQL DB by SCADA so remote PLC can read those values in order to define state of outputs. I would highly appreciate any kind of help, any tip. Thanks in advance!
  2. Hi all, I am a new user of VB.net on NA Omron HMI, and I need your help to solve a problem. In my case, I have to get a HMI global variable value in VB.net, but the VariableName is in an other variable (string). For example: Var1=4 Var2=6 VarName="Var1" I worked with a "SetVariable" function to modify the value of different variables, but right now I need to read the actual value, in the example values 4 and 6.  Do you have any suggestion?
  3. Hi all:   Hope somebody will help me with the below error encounter on the NA. I mapped a external device (NJ PLC) variable (which is a structure) to a NA Global variable and the structure is automatically created in the NA data type as expected. I then create a new NA global variable and defined its data type as the auto created structure. However i observe the created new NA global variable is highlighted with an error "a data type cannot be used by both mapped and unmapped variable ....." ( pls refer to the attached screen).  I have found and view on the Youtube this video :"Introduction To The NA DataTypes" (link: https://www.youtube.com/watch?v=VZxWnVn1CSY). that clearly show the "imported" structure can be used for unmapped NA global variable even there is some variable already mapped to external device variable (starting from the 3:50minutes mark of the video). In my NA program i would need to create such unmapped variable for my logic use. Also i observe that i was unable to delete the auto created structure from the NA Data Types even after i deleted all variables that are defined with that specific structure. How can i delete such auto created structure in case i want to clear off some of those unused data types. I am using Sysmac Studio version 1.30.0.17. The HMI Device created is the NA5-9W00 (version 1.11)          
  4. I need to use the usb port from NA HMI to import and export a variable from NX102 to a CSV file. Anyone with a code solution for this? Thank you   
  5. NB DESIGNER Number Input

    Hello,  I done connect HMI NB7W series to PLC CP1E and just using input and output (0,0 and 100,00) and i can send data from weighing scale to PLC CP1E with RS232 communication. My Question is, if i want to send data from HMI NB7W to PLC CP1E but must input the new data first using number input in HMI NB7W, can i send a new data with RS232 communication (like send data from weighing scale to PLC CP1E)? so i can save the new data to memory in CP1E. I use NB Designer Software and CX Programmer software. If possible, can you tell me how to do it?  Thank you Riandanu
  6. Hey, I recently started trying my hand at creating function blocks. At the moment I'm trying to create a PID function block, however I keep getting this error: "ERROR: Variable does not have enough size." No idea why it does this. Can anyone help?  
  7. Hello:   I need to link  a lot of variables, pointing to CIO address, like "AT" field, but is a large volume of tags to create, so, I have a chance to assign a memory location to a variable in ST like:  my_tag := %100;  (trying to assign tag address to CIO 100) ? If not, there is a method to import tags from a Excel ?   Thanks.    
  8. Hello. How can I get bit addressing of defined variable in function block? For example: - I define variable type DUINT with name Double_VarI_INT. - I want to get or set one bit out of it (its double word). - If I use Double_VarI_INT.0 I got error. Best regards.
  9. Hello All, I am using Wonderware InTouch 10.0 on Windows 7. It's slightly outdated, but its what we have. I am currently writing a script using the StartApp command to open a particular PDF file with the touch of a button. My script looks like StartApp("C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32 C:\1.pdf"); The first part of the command runs adobe and the second part of the command opens the particular file "1". What I need to figure out is, how do I insert a variable into a string. For example I have 55 files I may potentially need to open up, all named 1-55. So I need the file I am calling to be a variable inside of the string so I can call it inside of a loop. I do not want to copy and paste this code 55 times, I want to make the file name a variable (tagname that is a memory real between 1 and 55) so I can run it in a loop. I have only been using Wonderware for a month or so now, so If anything is confusing feel free to ask. Thanks!
  10. Selling the drives below. Rapid company expansion came to a halt and our vendor is not offering what we need for reimbursement. Prices shown are already wholesale rated, however, I'm open to negotiating. Numbers spaced between the model number and unit price are quantities that are being sold. Serial numbers can be provided to verify age, but these are all brand new-old stock. EMERSON M200-05400270A10101AB100 2    $      715.00 EMERSON M200-04400135A10101AB100 34    $      489.00 EMERSON M200-03400056A10101AB100 15    $      363.00 EMERSON M200-02400041A10101AB100 1    $      400.00 EMERSON M200-02400032A10101AB100 5    $      258.00 EMERSON M200-02400023A10101AB100 4    $      228.00 EMERSON M200-03400094A10101AB100 29    $      402.00 EMERSON M200-06400420A10101AB100 3    $  1,245.00 EMERSON M200-04400170A10101AB100 2    $      543.00   Inquiries can be emailed to me directly at: ryan.jorgensen@wiserg.com I'll do my best to answer any questions and have engineers on-hand to lean on for anything over my head.
  11. Hi all Does anyone know how or the Tool to use for Exporting Variables from Unity Pro so I can remove the Register base Addressing for Various Tags and insert Direct Addressing I/O to the Alias Of Attribute for those Variables? This then to be Imported back into the project with the New Aliasing in affect. I have spoken to Tech Support and they say there is a tool (Excel Add On) that comes with V11 in a directory called Extras. I cant find the directory lol. He is coming back to me about the tool but could not tell me if this tool will help with the Aliasing I need to do. Thanks in advance for any help or ideas on this.
  12. I have L61 with nonvolatile memory installed. The controller will read the program from CF card on power up. The issue is that some variables are lost or not the most up to date values are read from the card since it remembers them as they were last stored on the CF card. So stuff like motor run hours, etc is not up to date. Is there any way I can update these variables or tags on the CF card as they are updated by the process? Or what would be proper way to deal with this issue?
  13. CitectScada 7.4 variable tag not working?

    Good day, I'm currently trying out citectSCADA 7.4 as part of my work. I'm currently just learning how it works and am already having problems with the program. I've used several guides on how to use variable tags wherein a DIGITAL variable tag is used to turn a symbol ON and OFF with two push buttons aptly named 'ON' and 'OFF'. I've already used the Express Communication Wizard to create an I/O server named 'IOserver' along with an I/O Device named 'IODev' that uses Disk I/O Device with Citect Generic Protocols. They are all under a cluster named 'Cluster1'. From there I made a variable tag with the tag name 'TEST' with the I/O Device using IODev with the Data Type set to 'Digital'. The address is set to 'D1'. Equipment, Item Name, Comment, Eng Zero Scale and Eng Full Scale are left empty. From there I went to the Citect Graphics Builder and made two buttons and a symbol icon. In the Symbol Set Properties under the appearance tab I used the 'on/off' option with the ON symbol when coding area I typed 'TEST=1'. In the push button properties under the Input tab. I checked the 'Up' tickbox and in the Up Command coding area I typed 'TEST=1'. I did the same for the other push button except for 'TEST=0'. Running the program under demo mode and pressing the 'on' button and the symbol stays in its OFF state. Is there a solution to my problem?