Search the Community

Showing results for tags 'Program Structure'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 77 results

  1. 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.
  2.   Hello, I downloaded the program from the M251 PLC program, using the SoMachine4.3 environment. However, the downloaded program does not compile because the library is missing. The library is from a different manufacturer. Is it possible to find this library on the M251 PLC device? is there any way?
  3. I wish Sysmac Studio would get things right once and for all ARRAY limitations: Prehistoric (Sysmac Studio): abVarArray : ARRAY[1..10] OF BYTE ------------------------------------------------------ Normal (All Brands): CONSTANT VAR          c_MAX_NUM : INT := 5; END_VAR; abVarArray : ARRAY[1..c_MAX_NUM] OF BYTE - If is created an Array of FB, the input assistant doen't show the inputs and outputs of this FB when you write "." afbVarModule : ARRRAY[1..10] OF FB_Example fbVarModule : FB_Example afbVarModule[3]. (The assistant NOT shows the interface variables of FB) fbVarModule. (The assistant shows the interface variables of FB) INPUT/OUTPUT FB/Functions limitations: - An input of a Function Block is not allowed to be a Function Block data type, of another for example. Incomprehensible - An RERTUN of a Function Block is not allowed to be a Function Block data type, of another for example, and not allowed use Structure Data Type. Incomprehensible - It is not allowed to use the type of variable ANY (or similar) to be able to make unique functions, and within them, depending on the type of variable (TYPEOF), one thing or another can be done. STRUCT/ DATATYPE limitations: - In a Struct data type it is not allowed to put TON, TOF, R_TRIG or F_TRIG or any other type of FB. - An UNION Data type use a lot of Memory, the variable isn't superposed, the Sysmac creates diferents allocations for each member of UNION Type. Absurd. - In Datatype section, inside to some Namespace, in enumerations... If two members of differents Types of Enumeration have the same name, the Sysmac shows a compilation error. Absurd. Sysmac studio is not able to correctly route the elements of the program INSTRUCTIONS/CODE limitations - There is no possible way to identify the MAC (or serial number, some unique number) of the PLC itself and in the User Program and store it in a Local/Global variable. - The instruction SEL() can't be used in the IF condition, for example: IF SEL(i_xConfigUseVar1, xVar2, xVar1) THEN...... (TThis do a compilation error, another absurd thing, i create a SEL function in a library for each type (because the ANY type is not allowed) := IF SEL_x(SEL(i_xConfigUseVar1, xVar2, xVar1) THEN [AND this.... WORK] - And MORE MORE MORE MORE things [AH, NOT ALLOWED THE USE OF POINTERS] NEEDS TO IMPROVE A LOT Don't tell me "This isn't in the IEC standard" please.. refrain from talking nonsense
  4. Anyone you know any books,software or educational package to learn plc program at home Please??  
  5. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also .
  6. Mitsubishi Fx2n Modbus rtu vfd

    Hello everyone, may you all bless with the best. Can anyone please help me on connecting and programming In Modbus rtu INVT CHF-100A vfd with FX2n having rs485-bd module. I want to connect 11 vfd and one fx2n plc also 
  7. Hello everyone,  I have a Panelview plus 600 ( I know it’s old but I’m trying to get it to work). It’s on a yogurt bucket filler, I don't have any application to run or to do anything. What software do I need on a computer to be able to transfer it to the panelview. Is this even possible?  There is nothing in the memory right now but how to I program it and what program do I use?  I’m in the Los Angeles area and even willing to pay for someone to come and do it.  I need to get this to work, thank you so much. 
  8. MITSUBISHI A1S68AD PROGRAM

    HELLO EVERYONE I am having problem writing in A1S68AD program, please help me out. My system configuration is as :- 1. A1S POWER SUPPLY   2. A2SHCPU   3. A1SJ71AT21B    4. A1S68AD  5. A1S62DA  6. A1SX81-S2 7.  A1SX81-S2  8. A1SX81-S2  9. A1SY10  10. A1SY10  11. A1SY10  12. A1SX80-S2  13. A1SX80-S2 14. A1SY10  This is my existing configuration. But now there is one more slot empty and now i want to add one A1S68AD CARD in the empty slot, i tried writing the program for this card, but plc gives me error. SO, anyone can send me the program with addresses for this card. It will be very helpful as I am new to this A series Mitsubishi PLC. AND HERE BELOW IS THE ATTACHED EXISTING PLC PROGRAM AND SYSTEM IMAGES. PLC PROGRAM.zip
  9. I am trying to online edit a program in a MELSEC QCPU, using GX Works2, but I keep getting this error "A file which does not exist in the PLC was specified" <ES:010a4022> Few weeks ago I had just online edited the same program in the same PLC with the same steps with no problem. There had been no changes to the PLC after that. Just all a sudden when I try to edit yesterday I get this error. Not an expert in Mitsubishi, just started learning the basics. Connection to PLC is by USB cable. Steps I followed to connect to PLC:    -Online > Read from PLC    -Select PLC Series: QCPU (Q mode)    -Select PLC side I/F Serial Setting: Serial USB    -Select all target program to Read, then Execute I am editing the file that I had just read from PLC Steps I followed to online edit:    -Online > Monitor > Monitor (Write mode)    -Execute the function below when mode is changed: Checked all    -Edit the program (basically just deleted one -||- contact and drew back the line)    -Compile > Online Program Change Then Bam! error get! "A file which does not exist in the PLC was specified" <ES:010a4022> I had tried Verify with PLC, but all results match. Is there something I am missing? Help much appreciated!
  10. Hi fellow PLC veterans, I am new in the PLC world so please forgive me if my questions read dumb to you..   I am just wondering if there are any newer PLC machines that can: 1. keep the program even after its battery is completely flat or faulty  (Is this even possible?) 2. allow users to copy and save the program somewhere so one can install the program again without the need/presence of the machine supplier What tools/software may be required?   Thank you for reading and look forward to your response :)
  11. Unconverted Ladder Code?

    Hi All, Please see attached screenshot: Whenever I want to save the ladder program or start simulation, this window pops-up. If I press 'yes' I loose the whole work. I tried to open existing program and modify it, but it did the same. When I clicked 'yes' I lost all modification and just the original program remained. (I made the program in the morning, opened and saved many times but it started popping this window later.) I work with FXCPU series, FX3U/FX3UC type, simple project in ladder. This worked well but now is not anymore. I use Melsoft GX Simulator! Can anyone advise why this is happening? It is very annoying! It is pointless to work on anything now! Many thanks
  12. I have an analog output card 1734-OE2V and there is in the fault/actions page parameters for program mode. What is program mode and when it is activated? Fault mode is clear but... Program should be written the value, but when this happens?
  13. Pumps controlled with counter

    I need som help and suggestion how i can control 2 pumps that shall go 10 times each?i have 2 level sensors that is giving it the start and stop,and pump1 shall start 10 times,then pump2 shall start 10 times.Can i use CNT and how is the best smooth way to do it?   thx
  14. Hello Im trying to read from my PLC but i cannot see the program file.  However, if i try to compare it using other file program, i could see the program file. Is their any restriction in my software?
  15. Sysmac Studio

    Hello ,  Is my frist project on Omron and also on Sysmac Studio .  I have one PLC NX1P2 - 9024DT1 I write a sample program on ST with internal variable ( struct ) but i receive an information that i dont have permition to write on Var  Ps.  I can uploaded file with image   
  16. FX-2NC-32MT PLC program Download

    Hi, There are two machine in the factory controlled by Fx 2nc PLC. One machine control part is not working. It could be for battery failure. But the other one is working properly. In this case can I change the battery?  After that,  is it possible, I upload the program from the good machine PLC and download it to the other machine PLC? Regards Sohel Ahmed
  17. Hello, We have a FX3G connected to a FX3U-ENET-ADP inside a main cabinet. We are then using that master PLC to collect data from 2 other fx3g plcs in a node:node serial network. I was assigned a small project of pricing out some wireless adapters so we can upload/download to the two slave plcs. My question is, is it possible to upload/download programs to/from the slave plcs through the ENET adapter and serial network in the main plc? It would save us some money if possible. thanks.
  18. Hello all, is anybody out there who may read out a program that is stored on a telemecanique cartridge (more or less of 1993)? Program is still running on a TSX 47 40, but have an identical second cartridge. I would send it to him/her even if international post and do not necessarily require the cartridge back. Would be great to have the program as a text file / pdf / hardcopy. Any help appreciated!! Best regards Stefan
  19. Structure Text REAL constant

    Hello. I'm having difficulties of how to write REAL constant in ST. For example (Gap1 is defined as REAL): Gap1:= UDINT_TO_REAL(P_Cycle_Time_Value) / +1000.0;     RETURNS ERROR ERROR:   Conversion cannot convert from Integer Literal to REAL I have also tried 1000.0 If I use:  Gap1:= UDINT_TO_REAL(P_Cycle_Time_Value) / INT_TO_REAL(1000);  COMPILES OK My question.. How do I write REAL constant in Structure text? I don't want to use  INT_TO_REAL anytime I want to do calculations with constants.. Thanks. BR.
  20. I am looking for how others have set up vertical axis motions using the Kinetix 5700 servo system. I have a 2 axis pick/place unit with a horizontal axis (X @ 2500mm) and vertical axis (Z @ 1200mm) that works as designed during normal operation. X axis has no holding brake and Z axis has a factory installed 24vdc to unlock brake. There is a GuardLogix L81ES control system that handles the safety and control. On pressing E-stop/opening Gates the vertical axis will stop the motion, apply the brake and hold with no problems. (2198-D032-ERS3 Drive, 2198-P031 Bus Power, MPL-B430P-MJ72AA X Axis, MPL-B330P-MJ74AA Z axis) The issue that I ran into was an accidental download of the program without activating the e-stop and the vertical axis dropped unexpectedly when entering program mode on the processor. I am aware that this instance was my fault as the programmer, however I am also concerned that this might occur again in the future if the controller ever enters fault mode or someone else completes a download. I have done some investigation with the "ProgrammedStopMode" parameter on this single motion axis and attempted all 5 options and the vertical axis still has a free fall drop for a second before the brake grabs hold - so evidently this is not working for me. (Page 24 of Vertical Load/Holding Brake manual - https://literature.rockwellautomatio...t003_-en-p.pdf) I am curious if there needs to be something done elsewhere as the X and Z axis are set up as coordinated axis? I also am unaware if I need to preform some action/parameter with the bus power supply for this? The current state of the machine as it sits now is preforming a MSF in manual mode after 5 seconds of inactivity or 30 seconds in auto mode. This axis is usually in demand every ~22 seconds. This will shut down the axis after preforming a brake test on the vertical load and seems to function OK, however it is still in the back of my mind the issues mentioned previously if we ever enter a controller fault while indexing. Thanks for your insight
  21. What Is a PLC Communication Error?

    PLC doesn't respond to communication requests or responds negatively to such requests. A PLC communication error can occur between the programmable computer and the devices it controls or when the technician attempts to program the device. If anybody have idea then share i am fresher now i learn it from CETPA INFOTECH. I think this is the best place to ask.
  22. Hi, As part of developing an EtherNet/IP driver for the CLX family, I have the task of recognising tags that would ordinarily be represented as strings. With SLC/ML, that wasn't too difficult since strings were a pre-defined type found in files with a file type of 0x8d. With CLX, I understand that the situation is quite different, since a string now becomes just another structured tag like so many others. So, for instance, in my controller, and with the help of information gleaned from the LogixTagRead program, I can see that a request sent for one particular tag (which I happen to know is a string) returns me the following information: Tag type: A0 02, followed by, Structure handle: CE 0F, followed by, Length (DINT): 1A 00 00 00, followed by, Data (Series of SINT): 41 42 43 and so on through to 58 59 5A Now in one sense I am fairly clear how to interpret most of the above data -- but in another sense, I don't believe (unless I'm missing something) that it can ever tell me that this tag should be INTERPRETED as a string. What do I mean by that ? Well, the tag type of A0 02 simply says that this tag is a structure (because the top bit is set). Even if we were to unset the top bit, the value becomes 20 02 and I'm not sure if that has significance in itself. I'm not sure if the structure handle (aka template id) of CE 0F tells me anything other than the fact that this is a symbol type of CE 8F. I know that this field can be looked up and will tell me that this structure comprises a C4 (DINT) followed by data comprising a series of C2 (SINTs) where the number of SINTs is given by the value of the DINT preceding. And, of course, this makes sense in that the DINT value of 1A 00 00 00 is decimal 26, followed by 41 42 43 ... 58 59 5A which is a 26-character string ABCDEFGHIJKLMNOPQRSTUVWXYZ. This is all correct. So whilst this LOOKS like a string, how can my code be sure that it is actually to be INTERPRETED as a string ? At the end of the day, it is only a DINT followed by a series of SINT; this doesn't of itself mean it is a string. Is there anything in the tag type or structure handle which actually identifies this as a string-type tag ? Thanks.  
  23. hello every body.  I want to upload program from  HMIGXU3500 . I have  Vijeo Designer Basic v1.0   software Is it possible to upload program from this HMI.? I want to have back up file 
  24. Hi, I'll apologise for asking noob questions before I start - please don't shoot, but searching for existing answers on this is very difficult for me as I'm not confident in what search terms to use to get some appropriate results! And I'm afraid there are several aspects to my question too. I'm a software developer tasked with extending an existing EtherNet/IP driver. The driver already has the ability to identify atomic data in a range of AB controller models (by specifying a file type, file number, element and sub-element). The driver can then issue the appropriate commands (at the different link layers) to read the values of that atomic data, and write new values back. I have some test hardware:  (1) Control Logix 1756-ENBT (2) SLC 500 1747-L551 (3) MicroLogix 1400 1766-L32BWA (4) CompactLogix 5370 1769-L30ER I need to access these units remotely over a VPN. I've been able to change the subnet & gateway of (2) and (3) so that I can now see them over my VPN but have yet to work out how to do this for (I) and (4). None of the controllers are set for BOOTP but, to be honest, I'm less concerned about an answer for this than I am about other stuff that follows in a while! I also have a valid licensed dongle which allows me to load RSLinx, RsLogix 500 and Studio 5000 software - for some reason, the RSLogix 500 hasn't activated and I only have a day's grace period left but, here again, I hope to find a resolution to that outside of this forum. So, to the nitty-gritty.... I'm a confident, mature developer but I have absolutely no experience with PLCs and their terminology - and I admit I haven't been on any training courses. It will take me long enough to figure out protocol/command formats without the added burden of understanding the PLC programming processes, different pieces of Rockwell applications software and their associated plethora of documentation. In short, my task is to extend our driver to read and write non-atomic data types, i.e. structures and arrays. As a general concept, naturally, I know what a structure and an array are, but not specifically in terms of my test hardware's existing data files. I'm assuming that my easiest approach is to create a couple of simple structures and arrays in the existing test hardware using the Rockwell apps, at which I point I then have an odds-on chance of working out the command packets to put in my driver to read them. I believe that, to read non-atomic data structures and arrays like these, I need to use tags to address the data - if I've understood that correctly. Later on, I could then look at how I put together command packets to write to those structures and arrays, but I want to walk before I run. At present, I have fumbled my way through setting up a driver in RSLinx to access test hardware items (2) and (3). I can even run up a data monitor for both controllers, and can see various atomic data such as integers, booleans, etc. However, I'm guessing RSLinx doesn't let me set up structures and arrays. I assume that is done through either RSLogix500 or Studio 5000 -- but I have absolutely no idea how to do it or what I'm looking for. And the other aspect that's confusing me is that these two pieces of software are limited in the controller models for which I can start a new project. If someone could just give me some idiotproof pointers to step me through this, it would be fantastic. Thanks in anticipation.
  25. Is there any instruction in Sysmac Studio Structure text to detect rising Edge (DIFU/DIFD) ?