Search the Community

Showing results for tags 'missing text'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 19 results

  1. Hi, I am searching for a  Possibility to Set bits in Set or Reset State. How can i do that? in Example the Code in LD: and in ST EQ_E( Merker79 AND Referenzfahrt_TP_Ein_Aus = TRUE , bDummy , P_Achse_Istpos_pulse , 0 ); PLS( bDummy , Drehrichtung_P_Achse AND M8140 AND Loeschen_Positionszaehler_Achsen AND Startpos_anfahren_nach_Referenzi AND P_Achse_Referenziert = TRUE );
  2. Hi, I Have some Problems with this Function Block written in Codesys ST: Variables: FUNCTION_BLOCK FB_Powder_Test VAR_INPUT     bEnable: BOOL;     bPowder_On_Button: BOOL;     bPowder_Test_OnOff: BOOL;     iTime_Powdertest: INT; END_VAR VAR_OUTPUT     bReset: BOOL;     iActual_time_powdertest: INT; END_VAR VAR     PowderTest_Ton: TON; END_VAR Function Block: IF NOT bEnable THEN     bReset := TRUE;     PowderTest_Ton.IN := FALSE;     iActual_time_powdertest := 0; ELSE     IF bPowder_On_Button THEN         PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_TIME(iTime_Powdertest) * 1000));         iActual_time_powdertest := REAL_TO_INT((TIME_TO_REAL(PowderTest_Ton.PT) - TIME_TO_REAL( PowderTest_Ton.ET)) / 1000);         bReset :=  PowderTest_Ton.Q;     END_IF END_IF and GX Works3  Variables: bEnable                                  Bit                        VAR_INPUT bPowder_On_Button            Bit                        VAR_INPUT bPowder_Test_OnOff          Bit                         VAR_INPUT iTime_Powdertest                Word [Signed]    VAR_INPUT bReset                                    Bit                        VAR_OUTPUT iActual_time_powdertest    Word [Signed]    VAR_OUTPUT PowderTest_Ton                  TON                     VAR   Function Block: IF NOT bEnable THEN     bReset := TRUE;     PowderTest_Ton.IN := FALSE;     iActual_time_powdertest := 0; ELSE     IF bPowder_On_Button THEN         PowderTest_Ton(IN := bPowder_Test_OnOff, PT := (INT_TO_REAL(iTime_Powdertest) * 1000));         iActual_time_powdertest := ((TIME_TO_INT(PowderTest_Ton.PT) - TIME_TO_INT( PowderTest_Ton.ET)) / 1000);         bReset :=  PowderTest_Ton.Q;     END_IF; END_IF; I have this Error: No.    Result    Data Name    Category    Content    Error Code 1    Warning    FB_Powder_Test    Syntax Check    Convert data type from INT type to REAL type automatically.    0x11042FD4 2    Error    FB_Powder_Test    Syntax Check    Data type of argument does not match.    0x11041F61    
  3. Hi, Many Programms we have are written in Codesys and in ST Language  and now we have a FX5U and I'm trying to Convert some of them. But the both Systems are different, I miss the Librarys like util.lib and FB like RAMP_REAL, BLINK, LIMITERROR which are in Util.lib. Are there Librarys like util.lib for GX Works 3 ? Is it possible to convert Ladder to ST? (I dont have any Idea from Ladder and I'm new in Programming)  Have someone Sample Programms for me for Training?
  4. Howdy, So the program I have has linked up and I've downloaded to the Omron NS-10 just fine... other than when I go to certain screens the text from all the descriptor labels are gone. I can't figure out if its a setting or if its just getting lost in transmission somewhere. Halp. Thanks,
  5. KEEP in ST

    Hi, I have a fairly easy assignment for a school project that has the following components:  -1 impuls start switch  -1 impuls stop switch  -2 El-motors When you push start one motor is suppose to run. Then you push stop and it stops. The next time you start the other should run. Only one motor shoud run at the time.  I solved this using a KEEP function in ladder logic. But I want to be abel to do the same thing in structured text. So my problem is that I cant fint anything to replace the KEEP function. Any help would be much appriciated.  
  6. Send text messages via Omron PLC

    Hello,I'm trying to use the CJ2W-CPU32, westermo MRD 315 to send messages in case of problems to the operators.Where should I configure the text messages, configure the phone number, etc? I need to configure a complete system.Thanks for the support,Regards,Hugo Tavares
  7. 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!
  8. Converting UINT to DINT

    Good afternoon,   I need to convert a UINT (16-bit unsigned integer) to a DINT ( 32-bit signed integer).   Apparently we can't directly assign a UINT variable's value to a DINT's or vice versa. I also couldn't find a way of casting UINT as DINT.   The reason why I need to do it is because I'm receiving data from a socket. The RXLength is a UINT but in order to scroll through  the data array (USINT[1..1])  I need to use a DINT as the array's index, but I can't compare the array index to the array's length because they are incompatible types.   Is there a cast statement similar to:       myDINTvar := (DINT) myUINTvar;   I also tried the following but it didn't work:       myDINTvar :=  (myUINTvar * 1);   Any help will be deeply appreciated.   
  9. I am very knowledgeable with RSLogix5 and RSLogix500, but want to become well-versed with RSLogix5000 advanced algorithms, strategies, and program types—(Ladder, Sequential Function Charts, Function Block Diag, Structured Text), and motion control, such as servo-controllers. . . mostly interested in structured text. I’m also interested in the nuances of RSLogix5000, ControlLogix & CompactLogix regarding design, on-line programming, and off-line programming, etc. Can anyone recommend a course or courses that cover this subject matter? Thanks!
  10. In Part One of the Question: "Can the Omron NJ CPU make the Random Sea?"     There were some fine opinions about that.   This example is what it looks like using Red Lion, Delta Motion RMC75E and LinMot:  https://www.youtube.com/watch?v=SQd6YzBWVvI Recent edit:  The "Big Trycky Omron Question was asked many, many times not shown on this Forum.   I had a very difficult time getting a straight answer from many people at Omron and LinMot.  Probably because they really never tried to do it.  By  the end of THIS thread ( part2 ), Thanks to innoaloe I know that the NJ can generate the position signal, as streaming position data with no time limit, and produce a "randomly" generated model of the ocean's surface.  The "random" part isn't added yet, but, it will work... and the LinMot part isn't added yet .. and it is still unknown if that will work.            
  11. Hi... Trying to keep it simple: Want to make a G5 incremental motor wiggle, CW/CCW in a sine wave motion, Thought this might work:                                                   The variable,  "Angle" is REAL, Phase1 is REAL, AMP1 is LREAL, CSINE is LREAL .. Sysmac doesn't like "Angle" in the FOR statement .. Anyone know why..? Thanks Much, Regards, Michael
  12. Beckhoff PLC Counter

    Hi everyone, I need some help with my PLC programming. I am currently using a twincat 2 software and a Beckhoff CX 8090. Basically, the gist of my program is to send and receive data and datalog the input data received from the sensors and timestamp the received data for every 1 second. I want to create a boot up counter where it will count the number of times my data logging program has restarted(if it did). This boot up counter serves as a health monitoring check to ensure that my program is running perfectly and thus, not restarting randomly when it shouldn't. I am more familiar with structured text so if you have a solution, kindly post it in structured text form. Your help would be greatly appreciated. Best regards, DeadPool
  13. Enable bit in function block

    There are a lot of instructions in function block that are missing the enable input that is present when programming in ladder logic, such as  ADD or MOV.  It seems to be very limiting. The only way around it that I know of is to write your own function block in ladder logic or statement list and use that. I seems rather limiting of a language if it relies on other languages for it to be usable. Does anyone know why the enable bit was left out in many function blocks when it is so useful in ladder logic? Pat
  14. I'm in the process of converting an old Siemens S5 project (with no comments!) to ControlLogix. My first question is in the S5 there is the odd instruction with a '#' in it: - -] [ - - - - (#) - - - - ] [ - - - - -(F00.1) In old logix the # means a file, what does it mean in Siemens speak?   My next question, I have the rockwell document for structured text and also for converting S5 to logx, is there any other resource that would help me understand Siemens structured text?   As I chip away at the project I'll be posting more questions. Thanks in advance for your help.
  15. How to take single bit form input WORD by Structured Text? Can i write somethink like: inVar[i]  
  16. Factory Talk SE CAB file missing

    Hi guys, I recently was asked to configure a computer to host an Factory Talk SE Client application. I was able to get everything working except the trends and the Alarm window, all I have is the cross hatch screen. at the bottom of the screen it is saying cause: Trend: CAB file missing on the server: http://hmi1/RsviewActiveXControlSetup/RSTXView2ocx.CAB. I have worked on this for a while and am stumped. All the other computers on the same domain network are working fine, so it leads me to believe my problem is with my installation on the new computer. Any suggestions or if you need more input please let me know. Thanks
  17. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLC Sending email messages from the PLC sounds like an easy task. However, very few applications do this on the production floor. This is probable due to the networks involved and using authentication can be complicated. In our example we will use a restricted Gmail SMTP server so no authentication will be required. We will walk through sending email and text messages from the PLC to Google Gmail. Once in your Gmail account, the message can be automatically forwarded to another verified email or SMS text message address. HERE’S IS A QUICK WAY TO SEND EMAIL (TEXT) MESSAGES FROM THE PLCThe PLC used in this case is the Do-More from Automation Direct. The software is Do-More Designer. Here is a blog post that I thought was good to share. Let me know what you think. Garry http://www.accautomation.ca
  18. Hello everyone! First of all, I'm a new comer to this forum from Indonesia. The name's Inno. Looking forward to share knowledge with all of you So I had this trivial, but annoying matter with CX-Supervisor Text Points. I had connected it to NJ101 controller. There I made a sample STRING, let's say "1234". I set this STRING to be stored in D0 memory, which means in ASCII it'll now contains : D0 = #3132 D1 = #3334 Then I use the Display Value (Text) Action to a Text Object in CX-Supervisor. The problem is, each Word on the Point display the LSByte first. So the resulting view in CX-Supervisor is : "2143", while I expect to see "1234" I know this can be easily solved by swapping the bytes inside the NJ program, but I'm curious, does CX-Supervisor has the feature to swap these bytes automatically? I mean, even NS or NB HMI can do so to accomodate Mitsubishi/others String system :D This occured for any Text type I choose (Signed/Unsigned/Raw Binary). Waiting for your suggestions
  19. 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?