Search the Community

Showing results for tags 'alarm for bool data'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 141 results

  1. Emerson (GE) memory map data types

     I've always had this Allen-Bradley memory map taped on my wall in my office. It used to be handy to use, until I remembered al of the prefix letters for each data type. Now I am using Emerson (GE) the old proficy software now called PAC ME machine edition. Now I'm finding it's about impossible to find the data type list amongst the thousands of help files, videos, ect... it seems like a simple thing to find, but I'm not having any luck. They use I and Q for regular inputs & Outputs, but there are R files, M files, S files, N files, G files, ect.... this is old-school PLC software that doesn't use tag names.   Is there a steadfast rule for each type, or can they be used for any type of data? Dazed and confused...  
  2. Hi Everyone,I have a customer that needs a CQM1H (CPU51) replaced. They purchased the processor new-old-stock from a source they found online. It arrived in the original packaging and had the safety label around the top of the unit, so it seems that it is as advertised and no need to suspect that it would have problems. I purchased secondhand, a power supply to attach to it and program it from the bench instead of in the machine. The customer also provided me with an SD card containing the project file(s) for the machine. I am able to load the project in CX-ONE (running on Win 7) just fine. My computer has a native serial port (COM1) and I built a programming cable to work with the DB9 peripheral port according to a diagram I found online.The processor powers up right away with the ERR/ALM continuously on. No other LEDs came on initially, and after a bit of playing around with communications settings, I finally landed the right protocol and my computer seemed to identify the processor correctly. I compiled the source and attempted a transfer to the PLC. I got some failed message (or maybe messages) at the end of the transfer. It did seem to send all of the binary code, it just ended with an error message that I unfortunately didn't write down or grab a screenshot.Anyway, what I have now is a PLC processor with the ERR/ALM LED on always, I've never seen it in RUN mode, and now after the programming attempt, I'm seeing the COMM LED strobing at about a .5sec frequency (with or without a cable attached to the peripheral port), AND I cannot get CX-Programmer to again acknowledge the processor anymore. I'd like to reset this back to the way it arrived to me, but can't figure out how to make that happen offline. The DIP switches don't seem to cause that effect. I should say also that the DIP switch settings are all OFF except 3 and 7.Any help is much appreciated!Thanks,John  
  3. Hi All, I need access to a the Safety function blocks within a safety CPU using sysmac studio on a machine we are upgrading.. Is there a generic password available to gain access? Best Regards, Paul  
  4. GT Designer - Alarm Screen

    Hello all.. I have a program for my customer.  There is an alarm page.  They want a solution screen for alarms. For example ; if there is an alarm , they will click a button near the alarm. They will see solutions for that alarms in a pop-up page. Is it possible with GT Designer  3 ? Thanks
  5. Alarm History on GT1275

    I'm using a GT1275 HMI with GTDesigner3 and am trying to add some Alarm Logging capabilities. I've made an alarm page and have it working correctly, but the problem is once the display is full it stops showing current alarms. Is there a way to have it only show the 20 most recent alarms? Make it where the newest alarm deletes the oldest alarm? Or at least make it where I can scroll down to see the latest alarm?   I've attached some screenshots of the current alarm page and settings. I tried the "clear oldest history..." button but I can't set a specified target value. That may not be the right way either so IDK.  Thanks. 
  6. Dear reader, I am writing a C# program using the library  ‘EasyModbus’ that needs to communicate with Siemens WinCC via the connection type ‘Modicon modbus’ I have written a version using the ‘float’ data type in WinCC and that works perfectly. Here my code fragment: Method to convert ‘double’ to bytes in C#: public static byte[] DoubleToModbusFloat(double value) {     byte[] bytes = new byte[4];     float floatValue = (float)value;     int intValue = BitConverter.ToInt32(BitConverter.GetBytes(floatValue), 0);     bytes[0] = (byte)(intValue >> 24);     bytes[1] = (byte)(intValue >> 16);     bytes[2] = (byte)(intValue >> 8);     bytes[3] = (byte)intValue;     return bytes; } Call of the method and loading of the modbus registers in EasyModbus: Bytes = PublicCode.DoubleToModbusFloat(TmpDbl); int n = (int)ModbusStartAddress + ((i - 1) * 2); mb.ModServer.holdingRegisters[n + 1] = (short)((Bytes[0] << 8) + Bytes[1]); mb.ModServer.holdingRegisters[n + 2] = (short)((Bytes[2] << 8) + Bytes[3]); So far so good – this works fine. But I also want to be able to use the ‘Double’ data type in WinCC because I sometimes need more precision than the 7 figures of the ‘float’. I thought it would simply be a case of doubling up the code so I wrote: Method to convert ‘double’ to bytes in C#: public static byte[] DoubleToModbusDouble(double value) {     byte[] bytes = new byte[8];     long intValue = BitConverter.ToInt64(BitConverter.GetBytes(value), 0);     bytes[0] = (byte)((intValue >> 56) & 0xff);     bytes[1] = (byte)((intValue >> 48) & 0xff);     bytes[2] = (byte)((intValue >> 40) & 0xff);     bytes[3] = (byte)((intValue >> 32) & 0xff);     bytes[4] = (byte)((intValue >> 24) & 0xff);     bytes[5] = (byte)((intValue >> 16) & 0xff);     bytes[6] = (byte)((intValue >> 8) & 0xff);     bytes[7] = (byte)(intValue & 0xff);     return bytes; } Call of method and loading of the modbus registers in EasyModbus: Bytes = PublicCode.DoubleToModbusDouble(TmpDbl); int n = (int)ModbusStartAddress + ((i - 1) * 4); mb.ModServer.holdingRegisters[n + 1] = (short)((Bytes[0] << 8) + Bytes[1]); mb.ModServer.holdingRegisters[n + 2] = (short)((Bytes[2] << 8) + Bytes[3]); mb.ModServer.holdingRegisters[n + 3] = (short)((Bytes[4] << 8) + Bytes[5]); mb.ModServer.holdingRegisters[n + 4] = (short)((Bytes[6] << 8) + Bytes[7]); However, this code does not work correctly. I have tried all combinations of byte and word reversal, and whatever I do WinCC either displays nonsensical values or ‘####’ showing that it cannot display the value. I have tried reading as much documentation as I can but it still looks to me as if I am doing the right thing. Also, I have downloaded a number of ‘modbus master’ code examples, and they seem to be able to read the ‘Double’ from my program without any issues. In WinCC I also see that there are two types of double – ‘Double’ and ‘+/- Double’ – I am also unsure as to why this is – there is no ‘+/- Float’ data type, which seems inconsistent to me. I am obviously missing something, but cannot seem to discover what exactly. I hope that someone can point me in the right direction as to what I am doing wrong. Please see attached word file for a picture of the configuration of the connection in WinCC.   Thanks in advance for any help !, Dave Long Double trouble.docx
  7. Hi, Is there a way to write an Event Name to a string variable in Sysmac Studio? I'm using a NJ-301. My problem is that I can detect that there is an error and get the Error Code using functions GetECError, GetMCError, GetPLCError, etc, but I want to get the Event Name associated with the code (in a string variable), to display that string on an HMI (not from Omron). Is this possible?
  8. Data register over flow

    Hi, data registers are getting full, because of extremely high speed pulsing is there any way , if the data value in register goes above the capacity of 32 bit register, it automatically attaches itself to next set of data registers so lets say if data was written in D10,D11 Upon reaching the limit, it goes to D10, D11, D12, D13 please share if there is an alternate way to do this
  9. Data register over flow

    Hi, data registers are getting full, because of extremely high speed pulsing is there any way , if the data value in register goes above the capacity of 32 bit register, it automatically attaches itself to next set of data registers so lets say if data was written in D10,D11 Upon reaching the limit, it goes to D10, D11, D12, D13 please share if there is an alternate way to do this
  10. Hi, I'm Jovel, I'm new to learning how to program PLC. Just want to learn how to use Omron Sysmac Studio . I have a question about the Data Type Data Type - Structure ( Offset Type - Offset Byte )  / Union   I Don't Understand this 2 Data types and how going to use them, can anyone teach me and have a sample program? Thank you
  11. Hi All I am trying to connect Cognex OPC Server with Mircrosoft SQL Server (SMSS). Do you have any idea how to do that? I couldn't find relevant information online.
  12. Good morning Today I have the honor to present you our project, on which we have worked the last months. We have been annoyed for years that when creating software in special machine building, sometimes the same/similar messages are created over and over again and then they are described similarly or the same in the machine documentation. The thought, if the mechanical components are mostly the same/similar, the error description can also be "copied" (at least initially). An Excel table with the error numbers seemed to us here a good beginning, however it would be practical, if with each message text also still the description to the message in a document, including pictures, tables etc., were deposited. This was then the point where we first thought about an online tool. This also solves problems with collaboration and makes it possible to work together. Also additional languages can be added if a machine is to be rolled out to a new market. PLC-Alarm is a young Austrian startup founded by PLC programmers to ease the handling with machine messages and their descriptions. Therefore we tried to solve the following problems besides the creation of an error list: Working together on message lists Hierarchical creation of message lists Inheritance of message texts and message descriptions to lower-level projects Adding additional message lists to make message texts more variable. Adding a description to any message text in any language via Google Docs. (Connection to Microsoft Word-online is in progress) Document template for uniform presentation Combining all message descriptions into one machine document file. Highlighting used messages to avoid having unused message text in the message list. And to shorten the machine document file. Upload a file containing the used message numbers to mark them automatically. Any export options for PLC, SCADA and HMI systems possible. (Currently optimized for TIA Portal only). Suggestions for additional features welcome As mentioned in the last point, currently only exporting for a TIA Portal text list is possible since the first customers are also programming on Siemens. But we are looking forward to extend this according to customer requirements. Do not hesitate contact us via e-mail. We invite you to test our free web applications and leave your feedback. The application is already successfully in use at the first customer and we are looking forward to more users. Homepage: https://plc-alarm.com WebApp: https://www.plc-alarm.app Thank you for reading to the end ;) Have a successful day Franz Pachinger PLC-Alarm.com Support@plc-alarm.app
  13. I have an old Panelview 800 in a system that consists of the PV, a Micro 850 and 10 Powerflex VFd's running conveyor motors. My problems started when one of the motors would not run. It seemed that the PLC was not sending the Run command or the Speed. The problem got worse as I was working on it when two others did the same thing. The current situation is that 8 of the VFD's are getting a Run command and 2 are getting a flickering command. All 10 are getting a 0.0Hz speed command. I connected to the equipment with my laptop and looked at the PLC program and the PV program. I found that in the PV program that all of the user input data, which consists of Motor Speed (Hz), Accel and Decel times and some other timer values for the timing of some conveyor starts and stops, where all gone, set at '0'. this equipment is several years old and predates my presence here. The PLC program seems to be running and passing the commands that it receives to the VFD's. The data is passed to the PLC via Global Variables. I've never encountered this particular problem before. Any ideas?
  14. Hi, I have a problem with Omron PLC and Beckhoff IO. The IO just disconnects in a few minutes and comes back! I received different errors: Link off error, Illegal slave disconnection, process data reception timeout. When I also check "Display Diagnosis/Statistics information" I see errors on all ports A and B of all nodes.  I have called and talked to both Beckhoff and Omron.  I have two NX1 and one NJ101 to test. And I have three EP2318-0001. I have the same problem with all the PLCs and EP boxes. It does not matter if I have one, two, or three nodes. I have tried different revisions of the EP2xxx from the XML file, different settings for the slave, different task periods, and the error still is persisting.
  15. Currently have NX PLC setup as an OPC UA server and an OPC client setup and communicating.  The issue is only tags that do not have a Data Type are showing up in the OPC client.  I have 2 separate OPC softwares connected to this plc through OPC UA and both are having same issue.  If I setup the OPC as a polling service, then all the tags show up as expected.  Does anyone know if this is a known issue with Omron and their OPC UA server, or is there something that I am doing incorrectly (possibly a setting within Omron that I am not aware of)?
  16. NE1A-SCUP02-EIP

    Does anyone have experience with the NE1A-SCUP02-EIP safety PLC? We had a machine shutdown yesterday with a L9n4 error on the NE1A unit. The manual says this is a tag data link error. Does this cause the safety PLC itself to shutdown? I always thought the EIP portion of the safety PLC was only used for status reporting to the PLC. The safety portion is strictly on DeviceNet and is independent of the EIP network.  The CJ2 PLC's error log tells me it had problems communicating with the safety PLC, the VFD, and NX I/O's which were all in the same panel going through an Ethernet switch. 
  17. Hi, I have quite a noobie question. I want to create a function block to do some simple operations on 2 variables. Both variables are In/Outs (see picture attached). How can I make this function accept variables regardless of the data type? Given these is just simple math I am able to use the same instructions in REAL, INT, UINT, etc. But, the function block only lets me assign one Data Type to the In/Out variables.
  18. Data Historian

    Hello, What would be the best data logger for Backhoff automation based automation? Idea is to record some analog and digital tags at certain time intervals. Present them in tabular as well as graphical form and print some reports based on selected time window. I have looked up TwinCAT Analytics and that seems to be one option. But want to check others before making decision.
  19. Hi gents, I need to build up a communication between nx1p2 to another omron plc (any type with sql support). This is due to the fact that I have finaly to prepare the plc communication with the sql database, and nx1p2 doesnt support this.  Sorry, i know it's probably a noob question, but I'm a beginner. What type of technology i shoud use to make this connection between NX1P2 and another Omron PLC? Or might be some share some project?  
  20. E-Designer

    I have E-Designer 7.52 Build 344 installed on 3 windows 7 laptops the 2 that the problem is on are Pro 64 and the 1 thats working is Home Premium 64 but I seem to recall having this problem on the the Home one 9 years ago and getting it sorted but cant remember how The problem In Alarms,  Alarms New Alarm Alarm text: When typing cursor stays at left side and can only be moved to the right by the arrow key then jumps to left side after letter is pressed or you can type in reverse Signal:        Typing works normal OK:             Entry is not valid ;May not be blank Copy: Ok: Same result Properties:Ok:Same again Is there anyone who can help me with this as the laptop that works is on its last legs Thanks  
  21. Hey guys,   I know this is a topic that has been discussed before, but I am having trouble finding exactly what I am looking for.. I want to know the most efficient way to record data from my PLC to an Excel file on my PC. I want this to be done without the use of the PLC's webserver.  Specifically I am trying to record vfd speed every 10seconds with a time and date stamp. How can I do this?   Thanks, James  
  22. Hi, I have inserted new RTD module into in my SLC500 as replacement to defected RTD module however the module LED is enabled but the channel LED's are blinking. I have checked the following: In the advanced I/O configuration the module configuration is shown as expected In the data file word format it is not corresponding to the channel preferences What should I do and how to fix the word bits?        
  23. Open data log in HMI

    Hi there! I have S7-1200 controller connected to a Comfort Panel. The machine has some pressure and temp sensors, as long as many valves and other stuff. I generate a daily datalog with some of those variables but, the thing is, I've been trying to figure out how to show these data in the HMI without using a trend viewer. I don't know if it's possible, but I want to be able to see what valves were open (for example) the day DD/MM/YYYY at HH:MM:SS, using the generated data log, kind of knowing the state of single bits at different past moments. I've been searching the web but I didn't find something exactly like this, don't know if I'm doing it properly so I'd like to know if you have done this or you can throw some light on the topic. Thanks in advance and hope you can help me!
  24. Hi, guys.I am struggling to develop a solution for a costumer in a Historical Alarm Viewer screen, I am new to Cimplicity and to database supervisory interface. Among other things, the customer is asking to:- Change the "A"; "R"; "G"; "N" notations under "log_action" column to somenthing more intuitive for the users (operation). Please have a look at the image "image.jpg";-Change the point manager process "MASTER_PTMR0_RP" log under "logged_by" column to the user that is currently logged in. Specificaly saying, when I send a command (changing a setpoint or issue a reset command, for example), although it is the user acting, the historical alarm viewer logs the action as "MASTER_PTMR_RP". I Imagine that is because this process is reponsable for exchange point data to/from the IHM points database, but it is still essential to the system administrator to know which user sent that reset command or changed the variable setpoint.The log inputs at the image "image.jpg" has boolean and integer commands (".CXX" sufix);-Log into the historical alarm viewer if the user logs out and what user logged in.It is valid to mention that I am using the ALARM_LOG table (apparently it is the only table working with the application, DATA_LOG, EM_LOG and the others simply do not work, they don't show any column at all, honestly I don't know why).I tried to use Microsoft SQL Server Management Studio to edit the table information, but, somehow, it seems to be blocked to edition.I imagine they are some specific configurations, but I have no idea on how to acomplish them. Maybe if I could use other tables would fulfill the requirements, but , like I said, they are not working (right now I am trying to re-configure the Database Logger from the beggingin to see if it works with other tables).If you could give me some inisights on how to change these settings I would be very grateful. I will be happy to give more information if needed.Thanks in advance.
  25. Have been able to exchange data types of BOOL, INT,  DINT & REAL between Omron NJ/NX CPU with Allen Bradley Logix CPU's with Ethernet/IP using the CIPUCMMRead & CIPUCMMWrite instructions. I now have a need to exchange "STRING" variable types. Have tried varions string lengths in the NJ without sucsess. AB default string length is 82 & Omron 256 but I think the difference is the length headder that AB has with within their String Tag type. I know I could convert my strings to an array of bytes & sent them this way, but was looking for a solution to sent them as native strings. Hope someone out there has done this & can share their leg work?