Search the Community

Showing results for tags 'ascii to real number'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 84 results

  1. String to Hex

    i want to convert my ascii string to hex value. I used HEX function but result is not what i expected. My string: 'BD1' > expected converted result is 0BD1H .. however it return me 01DBH ... Value from Device Memory Batch Monitor: D40: 4442   ('DB') D41: 0031 ('1');   May i know how to convert string D40 to Hex? thank you for viewing.  
  2. Please help me how develop totalizer for every 15 mins , for real value. Real value should   be taken sample  for 1Sec.
  3. If it is about changing Gmail ID on phone it is advisable to open the device settings application further at the top the user should click the personal information account then under the “Profile” or “contact info” the user should make the necessary changes. If you are still looking or searching for more information than in that case it is advisable that the user gets connected with the certified Gmail technicians. Lines are open for help and support all the time there is no such issue that cannot be resolved by the Gmail technical team.
  4. Hello, I am trying to receive data from a scale via rs232. my setup; compact logix l18er with a 1734-rs232ascii point IO module to receive the data. I am receiving data from the scale, but I have very little understanding of ascii, so I do not know how to convert the data I am receiving to something use-able. any help on how to convert the data to something I can use or where to even start would be much appreciated. using a scientech ZSA 210 scale https://scientech-inc.com/media/downloadable/files/links/1/2/12222-d_rev-f_instruction_manual.pdf
  5. Network Number Problem

    Hi,  I am trying to connect a new CJ2M-CPU31 to a used NS12-TS01B-V2 (it seems to be restored to default). I want to connect that using Ethernet.  In the Cx-Designer I have set the following for the NS ethernet Port:   - Ethernet: Enable   - Net number: 1   - Node number: 5   - UDP Port: 9600   - IP address: 192.168.140.5  //  255.255.255.0  //  0.0.0.0  //  0.0.0.0 And the following for the host:   - Name: CPU_A   - Type: SYSMAC-CJ2   - Protocol: Ethernet/IP   - IP Address: 192.168.140.10 In the Cx-Programmer I have set the same IP address for the PLC from the I/O table configuration.  However, they are not connecting. After some seconds the HMI shows a Time-out Error. I am used to works with this kind of HMI, I think the problem is in the PLC because this is my first time working with a new, out of the box, PLC. I have tried to comunicate them using the "Com. Test" tool from the System Menus of the HMI; however, I didnt get it.  I think the problem is than the integrated ethernet port of the PLC is not in the Net Number 1. I have tried to set it using Cx-Integrator. I have clicked in "Create routing tables" -> "Insert SIO CPU unit" for the Unit250(Integrated Ethernet Port) -> Local network number = 1 -> Transfer to PLC. Nevertheles, the windows "Online Connection Info" is allways showing Net(-) instead of Net(1):    "Ethetnet [CJ2M-EIP21] Net(-), Node (10),  Unit (0)" I have checked the Cx-Integrator Manual and says in this case it is only neccessary to "Connect", but I have tried it, waited for the 254 nodes, and... it doesn't work!! I don't know what to do! Thank you.
  6. 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. 
  7. real to integer number

    Hello, Could somebody give for me advice how need seperate real number to integer? for example I have in D10 real number 10,9 for me need to do integer number 10 and 9. The real number seperate to integer I am using this LADDER line, attached picture. In D90 I got 10, But how to isolate the number of decimal places,I can not think of. Please help for me
  8. Convert time

    Hello. this is my firs post is possible to convert the elapsed time of timer to real or int i need to make some math operation with the elapsed time thanks  
  9. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  10. In order to conduct a change or a reset of the password, the user should follow the given steps- • Open your Google account in order to sign in. • Then under the security section select signing into Google. • Then select a password as you will have to sign in again. • Then in the field enter your new password and then click on “change password” and if you need any sort of further help connect at Gmail Support Number UK 
  11. 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!    
  12. Hello - I am currently setting up a program to control a downlane conveyor motor and ran into the issue of operators leaving the conveyor on through their breaks/at the end of the shift.... I know, shocking . Anyways, the essentials of the program are the following - ladder logic, start/stop PB station, a sensor that says when I've seen a box for x-amount of time I will turn off, when the eye is clear for x-amount of time I will turn back on. When trying to 'solve the problem' of the operators leaving them on, I figured this would give me a chance to use a RTC (real time counter) and program it so that at various times of the day I will send a single shot to verify the relay is CT is open. I've enabled the RTC on the Micro810, dropped a TOW but do not really understand how to set the TOW block up. Hopefully that all makes sense. Thanks,  grubb
  13. 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
  14. Why am I receiving a Gmail verification code without requesting for it? There can be multiple reasons for you receiving a verification code without requesting for it there is a possibility that someone who knows your Gmail ID is trying to get an access to your Gmail account or if you are trying to log in your account with a new or an unauthorized access, Google will always send you a verification code if you will open your account on a device on which you have never opened it before you will also receive verification code whenever you will enable 2 step verification for your Gmail account.
  15. 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,
  16. 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.
  17. Hello, I am having an issue with FIX Dynamics Real Time Database and the database columns available within when trying to query the database. On a system running iFIX 5.0, there are 19 data columns available, LHS of attached screenshot (in the screenshot example, crystal reports is used to view the columns). However in iFIX 5.9, only 15 columns are available (RHS of attached screenshot ), how can these missing columns be made available to be accessed? Regards, John
  18. Hi, totally new to PLC's .. Just trying to do a university assignment I've connected a DTC1000 to Fatek PLC Port 2 - RS485 I want to know in which register I can find the measured temperature. A friend said you should add 400000 to the converted from hex to dec number which is mentioned in DTC manual. http://www.deltronic.su/userdata/files/dtc_manual_eng.pdf But I'm not sure which value should be used in manual and is 400000 the number to add (and where it has come from!) If I can just find the register, I can do the rest (just a bunch of normally open and close and  .. Thanks
  19. Hello everyone! I have problem with understanding the usage/principle of operation of parameter "Mark detection number".  In manual i read: "The number of mark detections is stored. "0" clear is executed at power supply ON. Continuous detection mode: 0 to 65535 (Ring counter) Specified number of detection mode: 0 to 32 Ring buffer mode: 0 to (number of buffers - 1) Refresh cycle: At mark detection" My question is which mark detections are stored? Servo detects some kind of marks? I am novice in servo programming, please explain in the easiest way. Thanks for help.
  20. Hello         I'm new for PLC, I need to set pump turn ON/OFF  in 4 time/day every day => [8:00-8:10]a.m, [11:00-11:20]a.m, [2:00-2:10-14:10[p.m, [5:00-5:20]p.m ** I have Omron PLC CP1E-N30 , Could you advise me, please ?  
  21. 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
  22. 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!
  23. 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  
  24. 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
  25. 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?