Search the Community

Showing results for tags 'external device variable'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 34 results

  1. Hi there!   I'm trying to communicate a Weintek cMT2128X with a CP2EN via Ethernet. The thing is I'm getting 'No device response' messages every 2-3 seconds. They'are connected at some point because some values are updated, but the connection error keeps showing up. So far I've checked: - Comm. settings are okay in both sides - Wiring is good - Happens the same with a CJ2 CPU. - There are two arrays of 50 UINT each, I don't know if that's slowing things but that would surprise me...   I've worked with Weintek HMIs before (communicating with different CPUs: LOGO!, CP1, CJ2...) and never had this problem. I just set the IP addresses and everything was working fine, so I guess I'm missing something. Hope you can throw some light at this! Thanks in advance
  2. Hi all, I would like to know how to communicate scale indicator device mettler Toledo ind 320 using  module QJ71C24N-R4 by predefined protocal   I also tired to communicate in CH1 with the G.INPUT instruction to communicate when the device in MT continue mode it does communicate but I dont know how to convert value Now by trying modbus communication predefined protocal works fine but i cannot read data the is no SD/RD transmission happening  Can anyone help me with this  Thank you serial monitor.gxw serial monitor.gxw
  3. Hi All, As a system integrator coming from an Allen-Bradley based environment to a Mitsubishi based environment (GX Works 2, Q series PLCs), I am used to doing this with Allen-Bradley PLCs: when you hit save while online, you are prompted to upload the values in the tags and can save these values and view them offline - which is useful when doing modifications and analysis offline, as well as backing up settings in case your PLC dies and has to be replaced with a brand new one. I was wondering if anyone knows if there is a way to store the current values of the devices in a Mitsubishi PLC to my PC along with the .gxw  file that is saved when doing a "Read PLC"? I am aware you can set up a File Register but it seems to only save ZR devices as well as specifically designated "Extended Data/Link" D and W devices, but most data is not stored in these devices. Thanks
  4. 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!
  5. Hello, Good Day All. I am facing this issue while I am going to copy old plc to new plc. but old plc having 4965 steps, once going execute this program to new plc its showing more than 8000 steps. please suggest on this. PFA.
  6. 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?
  7. Hello fellas. I am having trouble with understanding the communication between my AB PLC and my Balluff BNI0085, which is connected through an IFM AL1120 IO-link deivce. I am currently running a setup with an AB PLC (L18ER) that is connected to a local network through a network switch. I have connected my IFM AL1120 to this switch, and the IP configuration for both devices have been completed. The communications are made by using two add-on instructions, supplied by Rockwell: The BMC_AOI_PROC_BNI0085 instruction (For the Balluff smartlight), and the Generic_4PORT_IOL (For the IFM IO-link). I have additionally been supplied an ACD-file by my ex-coworker, containing a program that administrates the communication between the two add-on instructions. I have attached the routine from this as a PDF. What works: I can go online with my PLC, and by using the parameter "BNI0085_Mapped_Data.O" I can control the smartlight. I can change the settings for light-mode (Segment, Level, Runlight, Flexible), and the different parameters for each mode. What's the problem: When I change the Mapped_data.O to run in level-mode, I can adjust the light to show the level desired. When I try to adjust the level above halfway, the light switches off, and can't seem to be steady lit (Light turns on/off, random dimming). I speculate this might be due to the small power supply for the IO-link device, and the setting for brightness is not included in the AOI for the smartlight.  I therefore tried to adjust the brightness by connecting through the LR-device software from IFM(The same used to configure the IO-link). I added the IODD (IO-link device description, "Balluff-BNI_IOL-802-102-Z037-20190215-IODD1.1.xml") for the smartlight, and connected the device, which is discovered in the device list once the IO-link IP has been entered. I can read the values from both the IO-link and the BNI0085 devices, and I can write parameter settings to the IO-link device. Whenever I try to edit any parameter for the smartlight, I get the error attached. I am currently trying to follow the SmartLight userguide for the Balluff, as it describes the brightness setting as being in the ISDU index 51hex, but I don't know how this pertains to the AOI.   I am in over my head with this issue, and I don't know what information is needed or what is unnecessary. I've tried to include all that I think is relevant, I'll gladly provide what might be missing.  Any help is greatly appreciated, cheers :)   Balluff_smartlight_com_MainRoutine.pdf
  8. 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)          
  9. Hi, I am using IQ-R Series "R16ENCPU" With Inbuild CC-LINK IE FIELD "RJ71EN71" and attached CC-LINK "RJ61BT11". Problem is, Even though my remote IO cards are in Online connected with masters, I cannot able to On/OFF Remote Device station IOs in CC-Link IE FIELD network. But CC-Link Normal is working fine. Refresh settings and Network Config Settings are done, Below attached the pics for reference. I cannot able to find the problem, Can anyone help me in this.  
  10. Hi all. This is hopefully an easy fix. I have words and bit values in a recipe that I am trying to show in a logging file. I can get numerical values to show but I can't get the word devices from the recipe to show up on the logging file. Eg my devices from recipe set as a string starting with device gd60120 and in the logging file I want gd60120 to show the word, they are both set as unicode.  
  11. Hello all, I need to read device memory mostly I need to read R registers from PLC L26. I read device data, but inside of table, I can't find R or ZR registers. Can you help me?  What I did wrong?   BR KS  
  12. Hmi temperature delta

    I have connected 2 temperature devices with him delta with plc delta by rs485. When I run plc I can see the temperature change on pc but the problem in hmi  it's give errors. Com 2 errors  I need someone help me to connect these devices please 
  13. Hey all - I am stumped and looking for some assistance. I have a project in studio 5000, v.32 where I have some ABB drives that are not recognized. I've installed the EDS files, exact same one my co-worker besides me did, and mine will not go recognized and it is driving me crazy! I've done it while online with the PLC and offline, still to no avail. I've also installed the EDS files by going through Tools>EDS Hardware Installation and by right-clicking on the ABB drive in the controller organization tree and registering EDS file. Thanks for any assistance, -k
  14. 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   
  15. 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
  16. 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?  
  17. Device point error between Parameter and PLC

    Hello all, I am a beginner with PLCs programming. I have an issue on GX Developer programming software from Melsoft trying to program my Mitsubishi Q-series PLC. CPU is Q03UDCPU. When the program is written and I try to upload it to the PLC, with the write to PLC window, I check -Program -- MAIN and -Prameter -- PLC/Network/Remote, click EXECUTE and a message appears : "Device point that is set in parameter is not match the device point in PLC". I can't fix it. In Parameter - PLC Parameter - Q parameter setting (window) - I/O assignment tab : I have (see image). Whe I use CHECK button it says there is no error. The X41 input device is plugged on slot 1/00. I am making this folowing the instructions a PDF I found on the Mitsubishi electric's wesite : Q-series basic course (for GX Developer). Thanks for the help, A. S.
  18. Hey everyone! New member here, and this site has always been a big help!  I try to help other folks too, but a lot of guys are super quick on here.   I've got a problem using some obscure components. I inherited a sensor network at work that uses Panasonic S-Link and I need to read them from a Q-Series. Panasonic makes a module that slots into the Q Series called an SL-VMEL-Q that I have.   My question is:  Did I do everything correctly on my Mitsubishi side? I put it into the parameters as an intelligent module with 64 points and I put the correct address in for the start I/O. Is that all I have to do?  This is the first time I used a module that wasn't on the drop down list when you add one in GX Works 2.   I can read and write to the buffer memory, but I can't get the unit to send to or receive from the sensors. I think the problem is that there is no end unit on the S-Link line (I don't know if it's just a terminating resistor or what), but it previously worked without one, so I can't be certain.
  19. 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.    
  20. GX Works 2

    Hello everyone! Can anyone suggest to take all the Input and Output (digital) status at a time in a single file for backup in gx works2 in FX2N PLC. I need to confirm that all required IO are in perfect condition before start operating the machine. Also I plan to design a troubleshooter to find problem.
  21. 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.
  22. fx3u ENET card, ip change

    hallo all again, is there some way to change external IP (target one) using ENET-502 card without reinit via sending 1 to BFM1600? I would really appreciate it (time savings) but from little what i know it seems impossible :(   thanks in advance
  23. GX Works 2

    Hello everyone! Can anyone suggest to take all the Input and Output (digital) status at a time in a single file for backup in gx works2 in FX2N PLC. I need to confirm that all required IO are in perfect condition before start operating the machine. Also I plan to design a troubleshooter to find problem. Thanks in Advance..
  24. 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!
  25. Hello,  I am working on a project to connect a PLC (Micro820 by Allen Bradley) to a simple RS-232 alphanumeric OLED display. I am not too familiar with structured text language, but I have worked with micro-controllers that use similar high-level languages (mostly C-based).  My question is: is it possible to use connected components workbench to program my Micro820 to output ASCII commands to an off-the-shelf RS-232 alphanumeric display? Are there libraries that make life easier to do this?  I welcome any recommendations to related reference material or command tutorials, thanks!