Search the Community

Showing results for tags 'string'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 35 results

  1. 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
  2. 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
  3. 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
  4. 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?
  5. 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?
  6. 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.
  7. 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
  8. 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 :)
  9. 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
  10. String encoder

    I need to replace existing encoder with quadrature output which is failing. We need to have minimum measuring distance of 60 inches. The encoder installed by manufacturer is Temposonics R-series RHS0650UMSO1Q1AC10 The resolution can be lower than the current encoder, probably 500 counts/inch or higher would be OK. Do you have any product that can be used? I was thinking about string encoder but I am open to suggestions.