Search the Community

Showing results for tags 'read write data plc'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 138 results

  1. I'm trying to use CX-Server to pull data from my Omron CJ2H PLC directly into Excel. I'm able to pull a single element into excel, but when I try to pull more than one element, I get a huge strand of numbers. Is there a way that I can set up a single point in DDE Manager that'll hold all the elements that I need, then in excel have a formula that will pull out specific memory elements. Specifically I'm trying to pull data from D7200-D7399, and put each element into a separate cell it in a chart that ranges from B3-K22 This is what the formula looks like when I copy a point into excel =CDMDDE|'C:\Users\... ....cdm'!'\New Point 1' I didnt know if I could put something at the end of each string to call out specific elements, but I keep getting "#BadPoint" =CDMDDE|'C:\Users\... ....cdm'!'\New Point 1'!'D7200' =CDMDDE|'C:\Users\... ....cdm'!'\New Point 1'!'D7201' ... =CDMDDE|'C:\Users\... ....cdm'!'\New Point 1'!'D7399' Any help would be great
  2. Hi friends, I am a little new to WinCC. I am using a WinCC RT Advanced license within TIA portal v13.1 I need a little help in my current project as described below. I am attempting to create a faceplate of a solenoid valve,, The "Valve" is a user-defined data-type with the following 4 elements 1. Cmd - or command. - Bool 2. Cls_Fb - or Closed -Feedback -Bool. 3. Aut - or Automatic Mode -Bool 4. FTC - Fails to close -Bool. I tried the following procedure as described in TIA portal help.. Method -1 1. I created a User-defined data type called Valve comprising of the above 4 bool elements. 2. In the graphics I made a image of solenod valve with one rectangle (solenoid) and one polygon for valve body. 3. Under the Faceplate Properties (See figure attached) I inserted a property ang gave it the data-type Valve as above. However, when I drag a property from the 'Contained objects list' to the interface side, it is not getting substituted. such as the Rectangle_1 's background color I try to associate with the interface property Valve.Cmd. It does not get assigned when dragged. Since this does not work I tried another approach, Method -2 I attempted to declare a variable tag of UDT type 'valve' in the faceplate's tab Tags. I found that it is not possible to declare a local variable of User-defined types here. Please guide me how to proceed. Thanks for looking in and best wishes for your success. Regards, Raj S. Iyer
  3. Hi friends, Can anybody tell me when to use a local-Static variable and when to use a Local Temp variable whilst creating a Function-Block in S7 -1500 using TIA portal. Thanks for looking in. Best wishes.
  4. Hi all and nice to meet you here! I hope that someone with experience helps me and I hope in future to offer also my help to someone. I am having problem with a Mitsubishi plc with A2N (S1) cpu installed on a machinery. The machinery stayed 20 days switched off and with battery empty as I realised when switched on and the problems come out. I changed the battery but the problem didnt resolved. The plc gave error with stable error led and flashing run led on the cpu. Also an error led stable on a (double role) module of printer and ram. I have to say that I have never used GX developer environment before and it is my first contact with Mitsubishi plcs. Reading some manuals (found on the internet) and by using GX developer I read from plc the faults. Register D9008 was set at 12 error meaning MISSING END INS. I Followed the described flow charts from a2n manual for reseting faults but the situation was the same always as described above. I tried to read the program from plc and succeded to read it. It is a lader with about 6000 lines. Anyway I have no previous experience of the GX development environment but I tried to put the missing END in the program as sugested also by the flow chart in the manual. At this point I have to say that it was automatically added from gx developer as I can remeber from an appeared message. I verified also many times the program on gx developer with the plc and the only difference was that missing END at the last line of ladder program. Anyway I tried to write back to plc the program with correct end but it was not possible. I tried several times. The error mesages took with Gx developer was the following : "THE SAME T/C COIL EXISTS IN PROGRAM (MAIN) AND/OR PROGRAM (MAIN-SFC). THE VALUES ARE SET TO BE THE SAME AS IN THE FIRST FOUND T/C COILFROM THE TOP OF PROGRAM" "THERE IS A DEVICE IN THE PROGRAM (MAIN) THAT IS OUTSIDE OF THE RANGE. CHECK THE PROGRAM AND CORRECT THE DEVICE THAT IS OUTSIDE THE RANGE." Anyway I decided to delete the plc memory. After that the run was stop blinking and the error led went off. Only the error on the printer-ram module was on (This module was changed with a know functioning one witout any variation on behaviour). I thought that problem has gone now that the cpu is empty. I tried again to write the program to the plc but again i take the above mentioned messages. Now I have an empty plc and a program on the Gx developer that cannot be written to plc!!!!!!!!!!!!!!!!!!!!!!!!! I am desperate!!! I do not know how to proceed. I am not knowing the mitsubishi development environment. Other than Gx developer I tried to install the GX simulation but it not works to my computer. At this point I dont know even if the ladder program is somehow corrupted after the described above messages. I can sent the code (GX developer project) and any other information to someone expert, if necessary, to have an opinion. Please help!!! Let me know how to proceed!! I have to write back the code to plc !!!!! Thank you all in advance!! Now i realised that there is SFC that is my problem. Could someone help please? Big part of ladder is in yellow color. How can i proceed?
  5. Hey All, I am trying to do some data storing on a PanelView+ and the built in data logging doesn't quite fit my needs. I was looking into the possibility of creating my own ActiveX control for doing this. Is it possible to create custom ActiveX controls for Factory Talk? If so, are there any tutorials for doing so you recommend? Also, are there any sites that have custom ActiveX controls to download? I realize this may not be the easiest thing to do, but if I could create my own I could use it for various machines and would make things a lot simpler in the long run. Thanks
  6. Hello, I am having troubles configuring my Data Station Plus to be able to read my Vacon VFD registers over a Profibus network. The network is configured from an Omron PLC. I have communication but i do not know how to map the tags on Crimson to be able to read what the drives are doing. I am most likely thinking my offset on the tags that i have set are the main problem. Any input/ suggestion would be great thanks Specs on System: -Omron PLC CJ2M w/profibus PRM21 -Omron HMI NS-12 -3 Vacon NX VFD's -Data Station Plus w/profibus module
  7. Hello all, I am trying to get around a lot of manual inputting by exporting a routine and opening it using excel, but looking at the file that excel shows I have a couple fundamental questions 1. when excel opens it and "creates a schema', can I save this in a format that will allow me to import it back into the program? 2. Since I am mapping data using add on instructions, the table excel has created becomes quote complex, with no clear point of reference to where my Input tags are going to go. We are doing this because someone thought it would be a good idea to put a SCADA based control platform over the top of an AB control system, so we have to exchange thousands of points of data back and forth with their system. I created the mapping AOI blocks to be able to manage the file structure a little better in the routines, but that still leaves me with copy and paste thousands of tags into the AOIs. Has anyone developed a good way to create logic, or modify logic using excel? While I can hold my own with utilizing the RS5000 platform, my excel experience is limited. The processor is a 1756-L75 Thanks
  8. Good morning, I'm having an odd issue with CX Programmer and have hit a wall. I'm trying to upload a previous version of a program to an existing PLC (CS1G-H CPU42) and I keep getting the following error when I compile while online: "The read protection properties which are not supported by the connecting target PLC are set. Check the unit version of the PLC." This prevents the program from being uploaded. I have a first revision CS1, manufacture in 2005 from what I can tell. This exact program has been uploaded previously, but a modified version replaced it recently and I need to go back to the older version. Things I have tried so far. without success: - Removed UM Protection - Made sure Task protection is off for all tasks - Check DIP Switch #1, which is write protection, and made sure it is off - Used "Remove Password" and "Release access" functions from the PLC/Protection menu - Used the auto-verification to confirm the configured PLC is correct - Reuploaded a full backup of H & D memory, from the older program I am able to compile the program when offline, but it chokes when online. I am connecting to the PLC via a serial cable. I haven't found any help from the CX Programmer help, or the CS1 programming and operation manual. This error message is nowhere to be found. Anyone has a clue ? I'm at a loss right now. Thank you !
  9. Dear Sir, I want to read data (Digital Input say X0 (Local PLC) and after some additional logic i want write to Y0 (Remote FX3GE PLC on same network) from one Mitsubishi FX3GE and Write to another FX3GE on the same network. Master PLC IP Address 192.168.0.40 Slave PLC IP Address 192.168.0.50 Atif
  10. I am getting this error. How to resolve this?
  11. Hello All, I want to read data from a Control Logix PLC, into a PLC5/60, using Ethernet and a MSG instruction in the PLC5. When verifying the MSG instruction in the PLC5, I get an error message. "Target Address in invalid". Once I figure out how to do this I need to replicate it in another PLC5. Scope is to read the status of 4 paint pumps controlled by the CLX. If any of the 4 stop, the PLC5 needs to know, because it is controlling the paint application equipment. Source data resides in a Control Logix 1756-L63. The tag is INT type, 4 elements long, and the name is PUMP_STS_B2. The IP address of the CLX is 4.2.6.230. There are 2 ENBT cards, one in slot 1, and the other in slot 3. 4.2.6.230 is slot 3. PLC2,5 / SLC Mapping has been created in the CLX. File=421 Name PUMP_STS_B1 and File=422 Name Pump_STS_B2. The file mappings represent a binary file created in each of the PLC5's B421:0~4 in Booth 1, and B422:0~4 in Booth 2. The PLC5/60 is Enhanced series E model using the Ethernet side card. The IP address of the PLC5 is 3.26.5.61. I also created MG file types in each of the PLC5/60. MG420:0~19 in each processor. This was necessary to use the MSG instruction in the PLC5. I have searched the forums for examples of how to do this with no solid results. I am trying to follow the best practices of reading the data into my PLC so anyone who follows can tell where it is coming from. While the IP addresses are not closely related they should be able to communicate. I say this because all of our PC's are on the 4.2.6.XXX network on a 255.255.252.0 sub net and we have no issue communicating with the 3.26.5.61 IP address. Any help and advice would be greatly appreciated. Regards, Mike Carter
  12. Hi dear all , i need some helping .. I used CJ2M cpu31, then i want to send data (example D100 = 2000) to PC ...essentially i want send value 2000 to my PC.. wherein the PC and PLC conect via internet IP .. What should tool/software may i used ? Thanks before ..
  13. I have the following situation; I have a distribution network connecting about 400 RTUs, using 101 protocol to connect to their PDH MUX, which data slot is transported using SDH STM-1/4, to the Primary Substations. Then the primary substations connect to the LDC building using STM-16. At the Control Centre Building where the Front End is located, there is a STM-16 node with some PDH ports, but definetly not 400, so how can I extract this 101 asyncronous data channels to connect them to the SCADA Front End? Note that conversion to 104 is not allowed by the client. Thanks in advance!