Search the Community

Showing results for tags 'ascii conversion'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 67 results

  1. I am having problem converting a DWORD variable to a floating point decimal.  I've tried using the DWORD_TO_REAL function. Having the hex value "41E9B814" as an input I was expecting to get "29.2148819" as an output. However, I'm getting "1.110194.." as the output. Any ideas?    
  2. Hi Everyone, Learning the ropes of SoMachine V4.2 (coming from Arduino and Ucontrollers), I am using a Sequiental step style program and I am receiving 4 error messages. I'm trying to understand why it won't compile.   POU for implicit check is missing. It is recommend to add the POU. C0032: Cannot convert type "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen))'to type BOOL "Same error for a different ladder (the output of ladder rung hits the transition step, the transition is a bool which kicks off the beginning of another ladder rung). C0032: Cannot convert type BOOL to "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen)) Are these two different "data" types?   Thanks in advance!
  3. Hi Everyone,   Learning the ropes of SoMachine V4.2 (coming from Arduino and Ucontrollers), I am using a Sequiental step style program and I am receiving 4 error messages. I'm trying to understand why it won't compile.   POU for implicit check is missing. It is recommend to add the POU. C0032: Cannot convert type "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen))'to type BOOL "Same error for a different ladder (the output of ladder rung hits the transition step, the transition is a bool which kicks off the beginning of another ladder rung). C0032: Cannot convert type BOOL to "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen)) Are these two different "data" types?   Thanks in advance!
  4. 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,
  5. 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.
  6. Hi all, I am new AB family, currently got into a new project but i have following doubts, Please clarify my following doubts. Project Details : I need  to implement 21CFR part 11 Compliance in AB HMI (1&2) -  2711P-T10C4D1 & 2711P-T6C5D As per my study, i understand that 21CFR can be imlemented by FactoryTalkView(FTV) ME edition V10.00. But HMIs currently available are programmed using FTV 5.0 version. Can we upgrade the FW version of HMI and convert the old HMI backup (from FTV 5.0) to new Backup (FTV 10.00) and load it  without disturbing the old backup HMI screens/settings ? So, Please give me solution .... If you have datasheets, documents, Videos also , kindly share with me. Thank You in Advance, Thanks & Regards, M.Monish Kumar monish.uatpl@gmail.com  
  7. 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
  8. 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!
  9. mitsubhishi serial drivers

    Hello write now i am working with Q6UDEH PLC  project in which (nextgen 2000) 6021 card is used for conversion of serial to Ethernet data & vice versa , is it possible  by only installing the Mitsubishi serial drivers ?? or can anybody tell me how these Mitsubishi serial drivers works ??  
  10. mitsubhishi serial drivers

    Hello write now i am working with Q6UDEH PLC  project in which (nextgen 2000) 6021 card is used for conversion of serial to Ethernet data & vice versa , is it possible  by only installing the Mitsubishi serial drivers ?? or can anybody tell me how these Mitsubishi serial drivers works ??  
  11. Hey everyone first post on here, does anyone know if it is possible to convert a string into a double integer. i am working with a dimensioner and it is sending me its box dimensions in a 12 char string (see attached picture). however i need this data as a double integer (it seems to just take the string length not the string value i have tried both dim_lengh and dim_length.data[0]). i have gotten it down to the point where i have the string split up into the dimensions i need but i dont know how to do the conversion. (box dims for reference are 21 X 15 X 14.8) Thanks in advance, Dr. Brule  
  12. 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  
  13. 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
  14. 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? 
  15. ello.I am Melani. I working on to convert Siemes S5 code to Logix5000.Following is FB that need to convert.Segment 1Name :John0005 :C DB 2100006 :L FW 400007 :T DW 20008 :L DW 60009 :T DW 1000A M001 :L KB 0000B :O DW 1000C :T FW 0000D :L DW 1000E :L KB 2000F :+F0010 :T DW 10011 :L DW 80012 :<F0013 :JC =M0010014 :L DW 20015 :T FW 400016 :C DB 1500017 :L KB 00018 :T DW 10019 :T DW 2001A :T DW 3001B :***How to convert this code to Logix5000 either structure text or ladder logic?Thank you if anyone can help me to convert it.Thank you.Melani
  16. Hello, I'm not sure if I should make some presentation first but as time is always short i'll just expose the doubt. Unfortunately because of a technician misunderstanding I ended resetting/erasing the PT software after a full memory error. The SW2 switch 1 was used and the system screen data program was erased instead of the program client data. So all the screens menus buttons etc were lost. Unfortunately there was no copy of the application but a similar machine was found were a different screen (NT21-ST121-E) was installed and by luck the programmer technician used the same file from the machine I'm dealing with. I suppose he might have done some modifications to make that machine able to deal with the same and different objects too. But the base menu screens seem exactly the same. In fact the screen buttons appear to be miss aligned as for a smaller screen, so for sure He used the same application. Now the problem is that the NT- Series Support Tool 4.82 only allow auto-conversion of the applications to a recent model. Example, if a make a NT20S application and change the PT type to NT21 it asks for conversion confirmation and all goes ok. (It will need to set Clock Address that I don't know which to chose). But this Is not what is the problem. Problem is that after uploading the application from the NT21 of the other machine to the NT Tool, I can't just download it to the NT20S PT. And if I go to the PT configuration menu it will only allow me to chose another higher model of hardware. Earlier hardware models won't even show in the list. Is there any tool I can use to convert back the NT21 application to the NT20S?   Regards.
  17. 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
  18. 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!
  19. Good morning everyone!   I tried to open an older project with Factory Talk View ME which was last opened with “FactoryTalk View Studio 5.0 “. The current version that I have installed and licensed is Release Number 9.00.00 (CPR 9 SR 9), Patch/Pack Number: 00, Build Number 241. Upon opening the project, I receive the following error message:   “The target HMI project is a legacy project (Factory Talk View v6.00 or earlier). Please use the legacy Tag Database utility to convert its tag database to the new format (Factory Talk View v6.10 or later) before opening the HMI project on a computer running on a 64-bit operating system. Refer to Help for guidance.”   I tried to use the Legacy Tag Database Conversion tool, selected “Create Factory Talk View Tag Database in new format”, then I selected “Factory Talk view Machine Edition”, selected the source folder and used the option to “Search Sub-folders”. After hitting the Next button it shows a list of available projects, but the one project that I try to convert is not listed.   Any ideas how to approach this? Is it possible to install multiple revision supports with Factory Talk View? So, far I always used the latest and just created the run time as an older version, if the panel I used wasn’t updated.   Please let me know what you guys think I should try.
  20. FX-3G MODBUS

    fx 3g modbus.gxw
  21. 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
  22. 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 :)
  23. 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 
  24. 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
  25. 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?