Search the Community

Showing results for tags 'convert ascii to hex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 64 results

  1. Hello and help. We have a customer which has an old machine and we are building a new version of it. Though it runs very similar, the original machine has a PLC5 and Panelview 1400e on it, our new build will have a compact logix (customer request version 20) and an Panelview Plus 7. They have sent me the old machine PLC logix and PLC5 file, and the Panelview 1400e, which I have attached. I cannot open these files, and our Toolkit for some reason will not let me download them (i'm assuming they arent supported by our toolkit or similar issue but either way the website is just sending me around in circles) I was wondering if anyone can get me a conversion, or even a PDF of the programs. Not sure how the Panelview 1400e can be converted but any help would be appreciated.   3017MELT.PVC 3017melt.rsp
  2. Does anyone have an example piece of ladder logic, created on a Micrologix 1200, using ASCII to READ and Write to a serial device?  I am building a ladder on a Micrologix 1200 that will send data to an old CNC once a certain ASCII instruction is received on the PLC.  For example, when the machine spits out an ASCII "1", the PLC will see the "1" and send out a three digit number depending on a sequence of discrete inputs.   Thank you,
  3. Hello, I have a fuel level reading system in a 2000 gallon diesel tank. the system has a slc 5 05 of rockwell. I need to connect the system to a printer located in an office 300 meters away from the tank. can someone give me lights about the type of printer I need and what communication technology to use, preferably wireless. Thanks.
  4. Hello, everyone. I want to ask for help..  i want to upgrade HMI hakko V7 to V9.. have file hmi in V7 use software V-SFTV5 but when I open file V7 use software V-SFTV6 its cant convert and i attached the screenshoot below..  can someone tell me what's wrong?
  5. The hyphens (dashes) in Sysmac Studio have been replaced by ASCII "boxes."  Anyone having this problem?  See attached screenshot. Sysmac Studio 1.220.80, Windows 7
  6. SCPI Communication

    Has anyone been able to set up back and forth communication with a device that uses SCPI? I have a D2-260 and 5 Kikusui power supplies. The PLC already utilizes a RS485 Modbus network and also has an Ethernet connection. The power supplies only have a RS232 connection and uses SCPI commands. I have searched the web over and there are Modbus to ASCII converters but how to make it where to catch the response in a register for the PLC to find? I am open to anything, 5 small PLCs to there is no possible means to do this. Any direction would greatly be appreciated!
  7. good day! I would like to put some ascii code in a device: D3000..D3009 has to be filled with 0x5F54 0x4F5F 0x4150 0x6F73...  ("_TO_APos")  When I fill it using an ascii-input-field in the designer and press "enter" it works. But I would like to put this text automatically in D3000 and following register, when the user press a switch-object. I tried with an 10 actions  "keycode" but I don't see how to say that the key code shouls be saved in D3000. Can somebody tell me the best way to fill more word devices with only one object switch? Thanks in advance   MEBoerner  
  8. My client is a pharmaceutical company and they want to interface their Blood Gas Analyzer (which is a RAPIDPoint 500) to a Controllogix PLC via EtherNet. I have attached a Spec that I found, which gives the initial information you would need to do this. It says that the BGA can transmit data in ASCII. However, it doesn't list what bits I need to send to the device in order for it to send the PLC the data. I've tried contacting Siemen's (who makes the BGA) and they were useless. I also tried searching the RA knowledgebase.  Does anyone have any insight on how to communicate with a device in this way? Thank you Tyler RP500_LIS_5_20_13_-_Rev_C_.pdf
  9. Hi Guys, I need help/advice.  First, I'm not new to PLC programming and design. I've been doing this for 30 yrs.  OK that said, 30yrs ago I cared about things like PLC5 serial communications sending ASCII characters as it was a common thing.  Well, I've slept and drank a whole hell of a lot in 30yrs so I really don't care now but I need to do it again. I'm working on a PLC5 to Control Logix conversion.  The company will not update this ancient chamber environmental control.  So, the ASCII coms need to stay.  The old PLC5 took the command string to change the temperature and did a AWA command and out port 0 the new temp setting went.  Logix however, it is not that pretty.  I'm using a Prosoft Technology PLX31 Ethernet to ASCII.  My problem is, the Prosoft device data table in the Logix is data type SINT.  How do I get the command string "L1S"+temperature value, example 27C, so the command would be "L1S27" into the data type array of SINT.   The header is constant.  The only thing that changes is the digits.  So would you guess I convert the L & 1and put those in the first address, S and the first digit of the temperature in next address and the remaining digits in the 3rd word?   Perhaps I'm making it all too difficult.  From what this old memory is telling me, I need to convert each character into the ASCII Hex or Decimal equivalent.  So anybody out there still familiar with this s....tuff? 
  10. integer number convert to bit

    Hello, I am confused  because need convert 8 bit integer number to bit e.g. If have number in the memory M12, 125 for me need active Output Y0=1, Y1=1, Y2=1, Y3=1, Y4=1, Y5=0, Y6=1, Y7=0. Somebody could give to me advice how need to do it? I am using GX Works2 and fx3g PLC
  11. Hello all  i'm looking for some software to record a 100 plus channels maybe with an ascii string from a PLC? i want to be able to assign each channel with a unit and a range, flagging feature would be nice.  - selecting the channels i want to view  - auto start recording - save file and start new automatically  -view and create reports  preferably no additional hardware because of the amount of channels. this is to record an operators every move so in events of damage or plant failure we can quickly identify the problem (point the finger)  many thanks dan
  12. FX-3G MODBUS

    fx 3g modbus.gxw
  13. Hey guys, I am needing to view the logic of an Allen Bradley ACD file but currently do not have access to Rockwell software.. Is there any free software to convert acd to pdf to view the logic? Or is there a way someone here could convert for me? Thanks AC326IV_S013_V1_3.acd
  14. I'm new to the NJ series. How would you go about converting back and forth between Real data and LReal?
  15. Hi, New to the site,  seeking help with an Inkjet Coder that the company I work for recently purchased. A customer is wanting us to have the printer message selection automated, because parts got out with the wrong print on them. We purchased a Linx 5900 and want to use the serial port on a slc 5/03 to send a command to select the message based on a selector switch's position. I've been pretty desperate trying to find help with this issue, because this is my first time messing with a printer. I've got the AWA instruction set up and it will send a string, but I'm not sure what to have in the string or if I have everything configured right. I've attached the program for you guys to look through, the AWA instructions are at the end of LAD 13. I'm using the serial port to make changes to the program then hooking it into the printer to try the changes out so its a bit frustrating, but I don't have a pc with windows xp sp2 so using the DH485 port is not an option. Any help will be greatly appreciated.   CNTRPUSH_4_2017.RSS
  16. Convert int to float

      I'm trying to read a result from encoder (which in pulse) and convert it to milimeter. To do that, i need to devide it. But here is the problem when i move the result of the encoder read to register (D) then devide it with another register, it doesn't show result in the monitor. It looks like i need to convert it to float first, but i dont know how. My command for the division is DEDIV D17 D40 D22. is there anyway to solve it? Thanks, i really need this. I try to look in the forum but i dont found it. I'm using mitsubishi FX3U-48 MT ESS. I'm new in this forum, if i break a rule, please tell me.   
  17. CONVERT FROM CQM1H TO CJ2M

    Hi there, I would like to ask you regarding the conversion PLC. Usually, it is not a surprise for us to get the errors occurring for the PLC conversion especially if both PLCs are not in the same compatible programming software. What I mean, currently, we have a lot of older version of PLC such as C20, C40H, C60H etc and these version needed to be converted to the newer version. However, lately we have problem converting the CQM1H to CJ2M, whereas both PLCs using the same programming software, CX-ONE software (ver 9.6). Most of the errors are displayed like this: ERROR: Step at rung 161 (6, 1) - SBN not defined - 4 There are 4 errors are listed referring to the same type of errors, that is the SBN not defined.  Is there anyone here ever experienced this? And why is it these two PLCs also got problem for converting? Thanks all.
  18. Invert scale 0-990 --> 990-0

    Hello.  I have a D word number 0-990. I would like to convert it to 990-0. So i need a function which shows me 0, when the D100 is 990, and shows me 0 when the D100=990. And of course for the between values also. Calculating continiusly. Help is much appreciated :)
  19. I would like to send a character on a Micro830 using ASCII. I wish to send the character to a pc by using Real term or terra term on PC. Can somebody please let me know how can I configure the ladder diagram, I tried various commands including THE AWA, AWT and also the MSG_modbus however I can initiate the communication. I think that I am missing something cause I don't have a reference ladder diagram. Thanks 
  20. I'm using a 1769-ASCII and need help with one part of it.  I have no issues with sending data.  The manufacturer shows the following as the process...   My question is: how do I evaluate the XON\XOFF?  The machine states "This communication protocol tells the status if it can receive any data or not to the host by sending "XON" (HEX 11H) or "XOFF" (HEX 13H) to the signal line."  I never receive any data so I'm not sure what's wrong or if what I'm doing is correct.  The attached file is same code downloaded from AB's website which is what I based my code off of.   http://search.rockwellautomation.com/search?client=samplecode&oe=UTF-8&ie=UTF-8&output=xml_no_dtd&proxystylesheet=samplecode&site=sample_code&getfields=*&lang=en&hl=en&sort=date:D:L:d1&wc=200&wc_mc=1&ud=1&filter=0&q=ASCII   62119.exe
  21. Would someone please help me how to convert an integer to ascii?   For example if the output tag is an ascii string, of 3 characters and my numeric input is integer.   When user input a value of 5, I would like the input value to be convert and assign to output ascii string tag of "005".  How do I set the conversion format in either tag assignment or tag expression?
  22. ok i have a rotary encoder to a HSC on my tm221, im converting that to ascii and outputting the value to a lascar HMI over rs232. example of value sent: 1234     value received: 2143 there don't seem to be any options to set the LSB or MSB , any ideas?? Dan
  23. 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
  24. 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
  25. GX PLC RS232 Communication Code

    I have been using Mitsubishi PLCs for the last 17 years and to be honest whenever I need to shift data I generally use an Arduino. But I have existing PLCs that each need to be connected to a PLC running Biometric Readers. The handshake between the PC in a box (running the biometric readers) and the PLC (running an access control turnstile) will be 8 bit ASCII code via RS232 connection. I am struggling to find any working examples of code to run an RS232 BD card on an FX3G PLC, I have set up an FTDI RS232 UART and I can see data coming in from an Arduino but I can't get the FX3g to send any data via RS232. I can't even get the PLC to communicate. Unfortunately the tech support offered here in the UK is awful. Any help would be appreciated. Regards Julian