Search the Community

Showing results for tags 'got1455 mistubishi ascii code'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 70 results

  1. Hello all, I am working on a project where I am communicating with a Mensor CPT6100 pressure transducer using a Micro-850 PLC. For this, I have used an AWA instruction to write some ASCII characters to the sensor. The sensor then responds to the write instruction by sending ASCII characters to the RX buffer and I used ACB and ARD instructions to read the ASCII characters. Now, I have set the ACB trigger type to 0 (msg triggered only once) and it successfully reads from the sensor. However, when I set the ACB trigger type to 1 (msg triggered multiple times), I do not get any reading in the ARD block. As a matter of fact, the ACB Q bit switches off every time the program is executed when the trigger type is set to 1. I am trying to get continuous readings from the sensor, but when the trigger type is set to 0, the program latches on to the first and only reading and it won't change. My question is, how can I change my program so that it can continuously and autonomously read from the sensor without me having to manually trigger the AWA and ACB instructions every time. I am attaching the program to this thread for your reference.  ASCII_Test_Copy.ccwarc
  2. Hi,     I'm trying to communicate Omron CP1E unit with PC via serial port using hostlink protocol.  I need to read the Timer/Counter SV value and write the timer/counter SV values to the PLC.  I'm able to use other C mode commands (like RC (timer/counter PV read), WC (timer/counter PV write) etc.) but when I give the command for Timer/Counter SV Read 1 which is R#, I get the response as IC (Undefined Command).   How do I write or read the timer SV Values?  Example command and response : @00R#TIMH001028*  (TIMH is the high speed timer, 0010 is the timer number and 28 is the FCS) Response: @00IC4A* Is is that CP1E doesn't support these commands? If so what is the equivalent command that I should send inorder to perform this? Please help.  
  3. Hi guys, so i'm trying to send data to plc omron cp2e-n40dra via RS232C, I use RXD and TXD but it looks like my programs are wrong, the indicator of RS232C are on everytime i send the data so it looks like PLC receive my data but when i see it in memory PLC D i can't find any data stored. Can anyone help me please? I attach my Gdrive for pictures since i can't upload pictures in here *The data that i sent is in ASCII https://drive.google.com/drive/folders/1GPXa1U1PLMU2WKmo4YRPe32wHHyVCGUv?usp=sharing
  4. I have been working on a PLC project that requires sending ASCII commands/queries to an external pressure transducer using the Micro 850 PLC (2080-SERIALISOL module) via serial port communication (ASCII protocol) and in response the PLC would read pressure readings from the transducer. I was able to write a ladder logic program that reads ASCII code from the transducer and converts it into string and inversely converts string output from the computer to ASCII and sends it to the transducer. However, I am uncertain as to how I should send the command string from my computer so that the external transducer receives it, recognizes it after the <cr><lf> is encountered and sends a pressure reading. Any suggestions as to how I can type in commands from my computer and receive responses from the transducer?
  5. I have a function that reads ASCII code from a transducer, converts the code into characters and places the characters from the serial buffer into a string. Now, I am trying to convert the value in the string into a 64-bit float number. Any ideas on how to do that on the CCW? 
  6. Hi,     I am trying to establish communication between master and slave through modbus rtu rs485. But I am experiencing error code 7378h. I already tried to make the values of Request Interval Timer from 100 to 200 and Broadcast Delat Value from 50 to 100. But the error still persist. Any tips how to solve this issue? There is no error on the slave evices.
  7. Hi every one ! I cannot use register D128 - D255 in the program when I create a program that uses the Block function in the PLC mitsubishi FX1S, it gives an error :  A device of the device range set in the device/label automatic-assign setting or a device which cannot be used due to system reservation is being used.Help me,Thanks !
  8. 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.  
  9. Folks, we have a set of Mitsubishi Q12PRHCPU (redundant) running effortless since many years. CPU-A as standby and CPU-B as Control. Recently we noticed BATT low alarm on CPU-B. So we arranged for a spare battery Q6BAT and started the procedure as per manual(attached procedure and flow chart). We did memory copy from Control to standby (as prescribed precaution) and did the Reset of Standby PLC CPU-A. Memory copy from B to A completed successfully 100%. But the BACKUP LED did not turn Green from Red & Error LED kept flickering on standby CPU-A. CPU-B remain in Control but backup LED turned RED. From system monitoring we found that there is a Error 6000 (FILE DIFF.) observed in One of the .QPG (program 00-MDBUS.QPG). We tried to reset it but were not successful. We are surprised that why does the program differs when it was copied from CPU-B to CPU-A using the memory copy. Still we did the VERIFY and found no difference between the programs in CPU-A & CPU-B.  Can anyone explain the cause of this issue and the solution. Please note that the CPU-B is still in control and plant is running. Backup LED on both CPU are red which means (redundancy loss) and error LED on standby CPU-A is flickering RED. There is no error in the CPU-A (Control) -we checked this using the GX Developer. Also attached here are the image of the error and error help. Thanks in advance. Battery Replacement procedure.pdf Battery Replacement procedure-Flow Chart.pdf Error.pdf MELSEC QCPU ERROR CODE 6000 FILE DIFF.pdf
  10. Hello, I need to connect multiple barcode readers (SICK CLP510) to a PLC (FX3GE-40M) for a university project. I need a minimum of 3 bar code readers, but only have one operational, connected via an additional modul for the use of rs-232. The only other port I can use is a miniDin 8, which is a build-in rs-422 port. Because this is a university project, it needs to be as cost efficient as posible. All the readers are CLP510 (pin-out attached bellow) Thanks Becky Pin_out___wire_colour___signal_comparison_CLP100_CLP510_CLV60x.pdf
  11. Hello, I need to connect multiple barcode readers (SICK CLP510) to a PLC (FX3GE-40M) for a university project. I need a minimum of 3 bar code readers, but only have one operational, connected via an additional modul for the use of rs-232. The only other port I can use is a miniDin 8, which is a build-in rs-422 port. Because this is a university project, it needs to be as cost efficient as posible. All the readers are CLP510 (pin-out attached bellow) Thanks Becky Pin_out___wire_colour___signal_comparison_CLP100_CLP510_CLV60x.pdf
  12. Hi everyone! I have a question to all of you guys - do you ever use any software or online tools to manage your automation/electrical engineering projects? I have worked in a number of companies and have seen various scenarios, from using excel tables to run multi-million dollar projects to using proprietary SW for every little tiny project. Unfortunately I do not have experience working for any major big integrator and am very curious how projects are managed at this level (and if every engineer likes the way it is handled).  Additional question - does anyone have ever used a software to automatically generate the PLC code? I know some companies develop products to generate the "skeleton" of PLC program and I think it is a great thing to have.
  13. Hello. I am working on a pilot project building an automated RV park. Our goal is to have people sign in online, or in person at a kiosk. Make their reservation, payment, and get their confirmation e-mail. In that e-mail, will be a QR, or Bar Code, that when scanned at the gate opens the gate, and starts a light that flashes at the site they rented. Power will then be turned on at that site, and a timer in the process will begin, based off their rental time. Once their time has expired, the power at the site will be turned off, controlled by a PLC, and relays.  So I am looking for help in all directions. I have some leads on some plug-ins for Wordpress that offer reservations, and other plug-ins that do Bar code production. As far as the web part I have that covered. We can generate a custom barcode, or QR code based on individual rentals and those can be sent to customers. So what I need is someone to help point me in the right direction of equipment that can speak between the online Barcode process and the PLC to allow a process to begin when scanned. Based off their rental parameters their power is turned on or off. Perhaps a SQL query in some form? I haven't used it, but am aware of its capabilities, and this does seem like an application where it would be used. Is there anything that you have used that are tried and true? I know it's a strange request, just hoping someone bites. Thanks in advance for any ideas, I look forward to solving this puzzle, one piece at a time. 
  14. Major Fault

    I have a compact logix with a major fault. Please see my attached file for the complete fault message.  Code 20 array subscript too large. or control data type to large or invalid. Has anyone observed this issue before.  The PLC is a compact logix model.  Every time, the controller is switched from program to run the major fault occurs within 5 seconds.  The fault can be cleared but then it comes back in a few seconds.  I have been told by my tech that no program changes have been made.  Could there be a hardware/wiring issue? Thanks much Document_1234.pdf
  15. converting rs232 data

    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
  16. Calling a Timer in ST code.

    Dear all, In a state machine I have certain states which need to have a timer to handle timeout errors, that is, if the FSM remains too long in a certain state without getting the conditions to transition to another one, it will produce an error. My current code is using a TOF with an input variable that will be triggered upon entering the state, I call the function block, and then turn the signal off so it starts counting: TRIG_STOP_TIMEOUT := TRUE; TTO_GLOBAL_CYCLE_STOP(IN:= TRIG_STOP_TIMEOUT ,PT:= T#15s ,Q=> ERR_GLOBAL_STOP_TIMEOUT ,ET=> CLK_GLOBAL_CYCLE_STOP ); // TOF TRIG_STOP_TIMEOUT := FALSE; For some reason, the counter does not work. I don't know if I should trigger the signal on in one scan and off on the next. I thought about using the system 1s clock as a trigger (SM412) but the description of the TOF function block states whenever the input is ON, the output will be true, and the timer will only start counting once the input is low. The other thing I thought about was to use the TOF_E instead, with the clock as a trigger, and just set the enable signal when I'm in the state, but I'm not sure it'd work correctly, either. Any suggestions?
  17. GS2107-WTBD HMI Problem

    Hi, i cannot confirm if my HMI is already dead or not. History: Upon machine startup the HMI fail to display anything (black screen), the partner PLC is functioning ok. Supply to the HMI is also good, after few hours of not doing anything the display finally emerge. The HMI runs for about 2days and now its completely not displaying anything. I tried connecting my computer and runs GT designer 3 to check if i can communicate / download the HMI program, unfortunately i got an error communication message which i did not get before when it is completely fine. Green light at the back of the HMI on the 100M is observe to be functioning and random green light flicker under SD/RD. Is my HMI already dead? Inputs are much appreciated, thank you!
  18. This may be more of a Zebra question than a PLC question but I will post it here. I am using Zebra's Network Connect to enable communication between a CompactLogix L13ER and a ZT410. My issue is that the QR Code omits the 5 elements of the array in Field 1 of the CompactLogix. I expect the first two elements in the array to be ignored per the manual but the first 5 has me puzzled. All the characters in the text shows up fine. I have attached what I am seeing. If you have a QR Code reader, you can scan the QR Code.
  19. Change CIP Service Code

    Hi all, This is my first post here, I read through the FAQ, searched the Allen-Bradley forum and this one for my question but couldn't quite find what i was looking for. My main questions is: Is it possible to programmatically change the service code of a MSG instruction?  It is possible to change the class,  instance and attributes but the application I'm currently writing would be a lot simpler if all I had to create is one instance of the MSG block (and its data) . The only thing stopping me is the service code.   Edit: I'm using a CompactLogix 5380-L306ER   Any input is greatly appreciated!
  20. 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. 
  21. Hello  I am currently trying for testing purposes an Mitsubishi Servo Amplifier M4-J4-TM, which has a Servo motor (also from Mitsubishi) controls to integrate in Beckhoff's TwinCat 3. The controller is directly connected to the computer via EtherCat and is also communication between TwinCat and EtherCAT device is detected. But when I switch to online mode and try to control the engine manually, it always comes the following error message:  Error 51 'TCNC' (500): 'Axis 1' (axis ID: 1): The axis or the drive is not ready for positioning (error code: 0x4225)!  Somehow I miss a step to the valid activation of the engine. ?? In the documentation of Beckhoff and Mitsubishi there is no indication. Actually that should work like that. Has anyone ever had a similar problem and knows about advice? Thanks in advance in advance and many greetings
  22. Hey, I have a 1763 L16BBB...when I plug the 1762IF20F2 analog card in, I get a 0189h error code. Any help would be appreciated. Currently looking at doing a bootp on the plc to get online...no ip
  23. 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!    
  24. Rslogix 500 ascii confusion

    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
  25. 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,