Search the Community

Showing results for tags 'ASCII Instruction'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 74 results

  1. Hello everybody,   I have the following situation:   I use the MAM function to move a servo axis; It also moves and stops  correctly when the condition before turns flase. The result is actually good, except that sometimes a readjustment takes place (but only disturbs as I said sometimes). I have been sitting in front but didn't notice anything, only the Operator meant that this happens sometimes   Now I would like to know how this can be stopped. Thank you   What information do you Need to help me further
  2. I am new at PLC programming, I have tried some ways to convert a text into DINT and I haven't found the right way yet, maybe somebody can help me. I want to convert "Hello" to DINT, for example. I tried converting it on here  https://www.branah.com/ascii-converter  to decimal and then using it as an input for a ROUND, FLOOR, TRUNC blocks to get a DINT, but when I get the result and use as an input in a DI_R i block the output doesn't match with the first conversion of "Hello". Any tips on how do I get it to work, please? Thanks in advance. 
  3. Hello everybody,   I have the following situation:   I use the MAM function to move a servo axis; It also moves and stops  correctly when the condition before turns flase. The result is actually good, except that sometimes a readjustment takes place (but only disturbs as I said sometimes). I have been sitting in front but didn't notice anything, only the Operator meant that this happens sometimes   Now I would like to know how this can be stopped. Thank you   What information do you Need to help me further
  4. Hello All,                 I am in the process of installing a DPM Scanner to one of our machines.  I am trying to program an ASCII String Compare to compare the scanned part number, stored in a string as ST14:0, to a constant value stored in ST15:13.  I have used this tactic before in other applications and it has worked fine every time, except this time.  Am I doing something wrong?  Is there a setting I am not aware of?  Please see the attached image.  Thanks in advance!    
  5. Hi all, I have a micrologix 1400 plc and an SIC E10 engraving machine. the engraver requires its marking info ( day/year/random sequential number etc) to be sent to it via rs232 connection. the manuals have nearly melted my brain and I have no clue how to convert and send this type of info via rs232. please help.   thanks       NOTPROTOE10V6US-R04.pdf
  6. MITSUBISHI FX3UC

    HEY, I'm kinda working on my own label machine and i am stuck on deriving its speed. I have already set the interrupt and acceleration parameters. but the problem i am facing is that i can't understand the ddvit's output pulse and output frequency relation to speed. If you guys know something, please do help. thank you,
  7. 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,
  8. 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.
  9. Hi Guys! I have a problem.  I have a leaser sensor, I already set the sampling frequency to 0,1 s. So 1 second I will get 10 data. I need to use the average of the datas. My problem is I dont know how can I solve that, after the 10. data every new data I have to  recount, the last 10 data's average. I think maybe I have to use the FFL instrucion or something like that. I need to solve this problem in ladder diagram. I use RS-logix 5000 software. Anyone can help me?  Unfortunatelly I havent the the software, so I cant show you what am I think.    Maybe the sliding window solution is the right, or is it not related to this? Im a bit confused.
  10. ZCP Instruction

    Hi group! I am struggling to figure out what I am doing with the Limit instruction (ZCP 088).  I want to turn on a permissive if the compared word is between 1 and 12.  Rockwell makes this so much easier!!! It looks like my "=" instruction is not correct but this is how they show it in the manual???????    
  11. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  12. Hi my problem may have a simple solution but i cant work it out. I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC. Can you only use math instructions with whole numbers? is there a way around this? Thanks James
  13. 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
  14. 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!
  15. Hi Guys! I have a problem with Motion axis move (MAM) command. There is an Allen bradley servo motor what is working well. But I need to add a new program section, wich is in  a specified moment, the axis should move a certain distance. I think I need to use the mam command, just I dont know how can I configure the motion control part. I need to make a new tag ? or what ? I need to use a user define ? PLS help me.   
  16. 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  
  17. 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
  18. 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? 
  19. Hi there, I am trying to create an Add=On Instruction to help me manage some alarm conditions in my application. My AOI has one Boolean output that is used for messaging on the HMI, but I'd like to also have another output (Boolean or integer) that would be attached to o global parameter so that if any alarm is activated, it will create a master alarm that can be used for machine control, and possibly messaging. The reason for this is that I may have numerous alarms and I'm trying to avoid having to create a series chain of all those alarms to turn on a master alarm. My thought was that if I can get any alarm to make a global parameter go true, then I don't have to manage other bits if I delete or add an alarm block. I'm having trouble coming up with a way to create that output that I can have load a TRUE value into a global parameter, though.  I was trying to use an integer so that I could just load a '1' into the variable if any alarm goes off, and a master reset would reset the value to zero. But I'm apparently not setting up the AOI parameters just right. Has anyone got a suggestion of how I can do this? I can share my block if that would help, it's nothing special, just a way for me to condense alarming features and this one seems to be a little tricky. Thanks for your suggestions!
  20. 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
  21. FX-3G MODBUS

    fx 3g modbus.gxw
  22. 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
  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?