Search the Community

Showing results for tags 'string display'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 51 results

  1. I am playing with sending ASCII string commands back and forth between my CP1H and another device. I learned first how to do it using ladder and now that I'm getting into more advanced stuff (parsing, searching for certain chars, converting to INT, ect) I want to do it in Structured Text because the ladder for this gets hard to follow. My very first experiment (count string length) throws an error at me: It apparent takes exception that I've use the "STRING" data type   But it this works just fine in ladder:   So am I really not allowed to use STRING data type in ST on CP1H or am I doing something wrong?
  2. Display page

    Hello! I am wondering if I can display an another page by clicking on an ActivX Option Button. I know that a page can be displayed only on left button click, but I need to make some connection between this and an ActivX Button. Can you help me with some ideas, please?!:) Thanks!
  3. 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!
  4. 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!
  5. Logo!8 sensor compatibility/display

    Hi there,  I am brand new to the world of PLCs. I'm working on a project and we will be using the LOGO! 8. We will be monitoring a tractor's ground speed, wheel speed, (wheel slip using those two), oil pressure, tachometer, EGT, and system voltage.  As I said, I'm brand new to all of these things. Any tips or advice to get started? Or things to avoid? Specifically when choosing sensors. Also, we were thinking of a tablet to display these measurements in real time. Any suggestions? I was thinking the Simatic HMI touchscreen may be a better option for compatibility. This will be on a competition tractor, though. From experience, how durable/rugged are these displays? It would mostly be subjected to dirt, vibrations, and quick jerks.  Any advice to help guide my Googling adventures would be greatly appreciated!  Thank you.
  6. Hi, I am trying to enter a new line in a string. For example " Line 1                           Line 2"   Can this be done in rslogix 500 ?   Thanks
  7. CP1E RS232 Setup

    Hi everyone, I am fairly new here, I have a CP1E-N40DR-A And i need to send a string of data to a printer over rs232 from the built in port on the PLC, I have had a look online and canot find any information on what I need to do. all the tutorials are for CJ2 cpus ect and the instructions that I would normally use on a CJ2 dont work on CP1E PLC's. Any help or light shed would be great,  Thanks in advance
  8. ASCII Code 8 Byte In Twido

    Hey Guys!!!! I'm trying to use ASCII 8 bites in TWIDO PLC and on MOD BUS TCPIP it connected to WinCC , where I'm trying to read the ASCII in as a STRING char that to in 8bits. The problem I'm facing is that it is getting swapped like if I'm writing VA in PLC then on SCADA it is showing AV. In WinCC there is no setting for word swapping. Therefore Kindly help me for this in plc end
  9. Hey Guys!!!! I'm trying to use ASCII 8 bites in TWIDO PLC and on MOD BUS TCPIP it connected to WinCC , where I'm trying to read the ASCII in as a STRING char that to in 8bits. The problem I'm facing is that it is getting swapped like if I'm writing VA in PLC then on SCADA it is showing AV. In WinCC there is no setting for word swapping. Therefore Kindly help me for this in plc end
  10. Hi, I have variable (named var1) with data type 'Word[Unsigned]/Bit String [16-bit]' with Array [0..7]. I want to put 16 variables with data type 'bit' in var1. Is there function for that? Also is it possible to put 16 variables (bit) like this: var1[0].0:=bit1; var1[0].1:=bit2 etc. I'm using GX Works 2 with CPU L02 Best Regards
  11. Hi, I have variable (named var1) with data type 'Word[Unsigned]/Bit String [16-bit]' with Array [0..7]. I want to put 16 variables with data type 'bit' in var1. Is there function for that? Also is it possible to put 16 variables (bit) like this: var1[0].0:=bit1; var1[0].1:=bit2 etc. I'm using GX Works 2 with CPU L02 Best Regards
  12. Version 1.0.0

    51 downloads

    This is an example (with code) on how to cycle user messages on the Keyence KV-D20 display. The code is written as a sub-routine that is easily incorporated into a Keyence KV series PLC. The code is proven to work - I've used it many, many times. A brief rung-by-rung commentary explains the basic operation of the code.
  13. View File Keyence KV-D20 How to Cycle User Messages This is an example (with code) on how to cycle user messages on the Keyence KV-D20 display. The code is written as a sub-routine that is easily incorporated into a Keyence KV series PLC. The code is proven to work - I've used it many, many times. A brief rung-by-rung commentary explains the basic operation of the code. Submitter pop29684 Submitted 10/04/16 Category Tutorials and Guides
  14. E1151 New Display Register

    Hi all, I wonder if anyone can help me. I have 4 test rigs setup with E1151 HMIs and FX3U PLCs (with two ADCs and one DAC).  They are running pretty well, and the HMI changes block fine when using Jump to Block, but when I try to get the PLC to change the HMI's block using the New Display Reg it becomes very temperamental. For automatic testing I want the PLC to prompt the HMI to change block, so I set it up with a PLC register, then set the HMI to use this register for the New display reg.  When I turn the PLC and HMI on I can run through the test, and at the end it changes screen perfectly.  However if I run the test again the HMI appears to "forget" to change screen.  I have checked the new display register and It lists the correct screen, but the HMI doesn't change. So far I have tried adding "SCRR" too the command list to use short recipe names (saw this on a previous post), and tried reducing the amount to data transfer between the HMI and PLC to see if it was a latency issue, but neither have worked. Has anyone else witnessed problems like this?
  15. I am Looking to buy a ALLEN-BRADLEY 2706-D21J2 SER. C OPERATOR INTERFACE REV. A  (A 4 Roll Display,, I have every thing to operate the DL-20 2 Roll Display. Will what I use to control the DL-20 also work on the 2706-D21J2 SER. C 4 Roll ?? Thanks Whit
  16. Hello.   I have a question regarding NB series display. The comunication is made through RS232 / RS485 comunication. I would like to use NB display as MODBUS MASTER and SLAVE aplication. - Display would work as MADBUS-MOSTER to talk to plc controllers. (Working through COM2 - RS485) - Secondly, Display would work as MODBUS-SLAVE to talk with (SCADA). (Working – Registers LW, LB))   What I have trouble with, is: - I would like to change variable in the PLC - for example : Regime_PUMP (address: 0x0001). - Regime_PUMP variable should be settable from all three devices PLC <-> DISPLAY <-> SCADA So: - If I change Regime_PUMP through PLC it should refresh also on DISPLAY and SCADA. - If I change Regime_PUMP through DISPLAY it should refresh also on PLC and SCADA. - If I change Regime_PUMP through SCADA it should refresh also on DISPLAY and PLC.   Does anybody have an example for NB series of display to do this?   Best regards.
  17. I am running a very large step based program on an NJ plc.  I have several status and alarm messages that I need to display on the screen during the auto cycle.  Right now I have set up unions in the PLC for the faults... but this is a very large program with a lot of possible faults.  I'm up to 9 16-bit array unions already.  It is just getting really cumbersome.   I would like to just write an INT to a data area for each fault and status message.  That way I can assign each step a 5 values to be used for faults and messages (ie: step one can use numbers 1-5, step 2 can use 6-10, etc) .  Then I want to have the NS display a message from the string table based on the value in the data area.  Is this possible?
  18. Hi, I'm trying to use a parameter pass a literal string (eg. "Tank Temperature") in a global object, but when it displays in the pop-up I'm passing it to, it shows up as all caps (eg. "TANK TEMPERATURE"). How do I fix this?  Thanks in advance PS. It's not showing up with quotation marks, I used the alt0160 to replace the spaces.  Is there something similar to fix the capitalization?
  19. I am working on project which is using Micrologix 1400 and AB Panelview. I am using FactoryTalk View Studio to build the HMI. The PLC needs to know which screen is displayed on HMI so some additional functionality can be activated. How would this be done? I was looking where could I write screen number to N7 location in the PLC or set a bit in B3 area but could not find anything. Thanks for your help.
  20. GE iFIX iClient - Mutiple Display

    We are getting a new HMI system that will be running on GE iFIX and iClients.  The HMI is designed for a single monitor (1920x1080) and this will be displayed on a system that can support duel monitors.  We would like to use the second monitor for other windows based applications but I have been told this is not possible on an iClient system.  I have no knowledge of iFix and its HMI programing but this does not seam reasonable.  Can anyone provide any input on this? We mainly would like to use the second monitor to display security and video information for the plant that we already have a windows based application built.   I really do not want to have an additional system just , for this considering we already have a primary and secondary iClient workstations setup. Thanks in advance for any assistance and information.
  21. I am needing some help developing a string, and setting up communications that will be interpreted by a printer. I have thus developed my string, setup my com ports on my 1766 micrologix and setup com ports on my schmidt styliner scribing printer with win7e. Essentially this is plc to computer running software for a printer. the software has been setup to the best of my knowledge. My problem is creating a string that will be recognized as start/stop transmission at the printer. I have never done ascii so I am unfamiliar with how to get the two components talking. This is a simple application that only requires writing a string to the printer, but i have tried all that i can without any luck.
  22. Hi, I am trying to convert a sting of data ( yyyy- mm-dd hh:mm:ss format )in to INT data type so that I push it in to my FIFO Stack and later on retrieve the INT data and convert in to string again for the HMI Display. I have attached a screen shot of the problem. Thanks in Advance!!! Satheesh
  23. Hello I am trying to read string from MicroLogix 1100. Can it be done? I tried to read it and I got an error. I attached the error. Thanks for reading this post :)
  24. string for omron CP1H

    Hi all, how to simulation string in ladder?how to seng string from laddr to visual basic, or the reverse? please help me friends
  25. Hello. I'm having another issue regarding NT2S Display. Again I'm trying to convert my old project I made in NT2-ST software to NTXS software. I'm now having problems with: how to automatic go to screen1, if user doesn’t press any key for let's say 2 minutes? In old SW I have constantly checking DM00000 (screen trigger register) in PLC. If screen reg didn't change for 2 minutes I have write 1 to DM00000 (screen trigger register). With new software you cannot write to screen register directly. Or am I wrong? Did anyone do this function using NTXS software? Best regards.