Search the Community

Showing results for tags 'sysmac hyphen dash ascii'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 161 results

  1. Hi. I have a decent workstation I work on when i do my programming. I have been using Sysmac studio for couple of years now and I have always notice it that sysmac studio is very slow.   Have you guys notice that sysmac in general is slow ? /Best regards.
  2. 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
  3. Hello Guys, I would like to know if someone in here has made a VB script, there can delete files from the SD card in HMI? the reason why I ask, is I have some data logging on the HMI for our customer, but I would like the data logging to go in a loop so if the  SD-card is full, it will delete the oldest file instead of stop data logging. who is there somebody there can show me an example on a VB for this :)?
  4. Hi:         I am planning to use NX with Encoder Card  couple with Omron Rotary Encoder for measuring product length. ( GX-EC0211 /EC0241) or may be (NX-EC0112, I read there is proble with this card , here https://forums.mrplc.com/index.php?/topic/34896-problem-pulse-reading-with-fast-counter-card-in-nx2/ ), but whatever it is I need to know is there any specific Instruction in Sysmac Studio that is tailored for Fast Counter or Encoder (something Like PRV in CX Programmer or special function in CJ-CT021 where start/stop counter and changeable preset counter are available).  The Length measurement is straight forward and is only a small part of the overall program.  Basically is Start ---> measure to length----> Cut --->Repeat again.  I read through the Instruction Reference Manual and I am unable to find one.   Anyone have any idea or any sample program (Sysmac Studio only ) that I can refer to ?    Thanks     
  5. Hi there,  I am considerably new with setting up E/IP on OMRON's NX1P2 PLC. I have been trying to connect a Keyence IV-G to my PLC with E/IP connection (because there's no analog I/O available) and struggling with getting a connection going between PLC and camera. I connect these two through an unmanaged network switch, which I believe doesn't need any further configuration. I have set tags on Built-in E/IP inside SYSMAC Studio, and when I monitor them it says "normally resolved". Unfortunately, it still has red dot which means connection is cannot be established. The error I'm getting is "Tag data link connection timeout". Maybe built-in E/Ip just doesnt work for this case? I have yet to try getting connected with Network Configurator, but have the feeling that it will just accomplish the same thing that I did with Built-in E/IP inside Sysmac Studio.
  6. 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
  7. 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?
  8. 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? 
  9. Hi  I want to use in sysmac the number of the active page in nb designer. for example if I am in page number 5, the program in sysmac recovers in a variable the value 5 THANKS
  10. ROTARY AXIS POSITION ERROR

    Our C axis which is a rotary axis doesn't perform commanded postion, for eg if we give command of 360 deg, then it will only rotate 359 deg and for next time it will rotate 358 and so on for every rotation. i.e for every rotation its complete degree is reduced by 1 deg.  And system doesnt show any error.  By providing command of 360 deg, if we rotate or axis for 15 times then the last position at which it will stop will he 345 deg.    Please share valuable inputs to resolve that problem.
  11. Hello, I am trying to have single press and double press etc. functionality in my PLC program where for example, single press will turn on the motor whereas double press will turn on the motor for 5 seconds. Is it possible to achieve using ladder logic in sysmac studio, if yes, how? Thank you in advance.
  12. hello   I want to control my servomotor in manual mode from an ethercat network. Where I can find the JOG FWD and REV information in the frames exchanged between R88d-1S servo and sysmac studio
  13. OMRON SYSMAC STUDIO

    In omron Sysmac Under configuration tab --- axis setting----- Operation Setting  Under Monitor Heading there is a term " In-Position Range" and " Zero Position Range " what does these term means and what happen if we increase or decrease value under these term.  Image was not attached, as it was failed due to some reason 
  14. Hello, can we do the simulation between sysmac and nb designer thanks
  15. Good Morning I am a beginner in PLC programming using the Sysmac Studio software and please help me if you can  I'm trying to make an omron NX1P2 PLC read some message via Socket UDP to my PC through the Socket Test program, do you have or know any program with an example application in ladder? thank you
  16. DWord to Data Types

    Hello everyone, In Siemens and Rockwell I am used to transferring a double word to a tag that has a UDT data type of 32 bools. Which the binary bits (31..0) of the double word would align with the bits in a UDT data type of bool. If it was in a function block in Siemens I would call the double word address and move it to Area Register Address and transfer data to a tag of udt data type internal of the function block or could call a Move Block as well which will byte swap the bits but can be fixed with an STL call instruction (CAW). Since I am new to Sysmac Studio, how would I be able to do this? Looking at every Data Movement and Data Type Conversion functions all want a form of an array or elementary type, some wanting source and destination to be the same type. Any ideas?
  17. Hello,  Sorry I'm newbie with omron plc programming. I'm wondering how can i simulate plc program on sysmac studio with Hmi on Nb designer without hardware. because I want testing my program and my plc and hmi connection before buying hardware. Thanks in advance !
  18. I have a simple question that might be hard to answer: Is it contraindicated to set tags that are continuously updated, such as analog values, as "Retained" ? I'm not sure if "Retained" values are in flash, and if they're written every time the value changes or only on power loss. I have a background in embedded programming, where I had to take memory write cycles into account. I'm working on my first SYSMAC project, and I'm used to Allen Bradley at this point, where FB instances are accessible from everywhere. The fact we cant read or write function blocks from the HMI in SYSMAC is a pain. As a workaround, I'm using structures and I would prefer not splitting the parameters and working-values in different structures. This is my first post here and I didn't see a search function, so I apologize if this was already answered.  
  19. Union

    Hello! I am trying to get hold of the bits in a word, i have read that union is the way to go. My problem is that i cant figure out how union works. I have made a union between a word (16bit) and an array(0...15). The way I understood this was that the word now automaticly updates the array so that when the least significant bit in the word should update array[00] and so on. This is not happening. When I monitor the variables I can see the word change, but nothing happens with the array. Have I misunderstood the consept and what should I do to get hold of the bits?
  20. Our IT department is on their annual crack down on administrator access and 'unauthorized' software. This year they are demanding to know why I need to run my laptop with administrator access. Besides the Simulator, what other functions will I not be able to use without administrator access? 
  21. Hi guys, I just starting to use Sysmac Studio. Its a bit confusing as I am currently used to CJ series PLC. Usually, we can use P_1sec, P_0_2s and so on to create a simple clock pulse timer function. However, I couldn't find the command or FB to do that in Sysmac Studio. Anybody could explain on how to do that in Sysmac? Thanks 
  22. 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.  
  23. Ok so I recently got the Factory i/o software to practice plc programming more in depth.  I got it working easily enough with the siemens TIA software and I am now trying to get it to work with the Omron Sysmac Studio software.  I am not sure if it is possible or not.  I have access to the hardware but I was really hoping to use the simulation like I can in TIA.  Any insight would be appreciated on the subject.
  24. Simulator Platform

    Hi. I am new with omron and i am looking for a suitable platform to simulate sysmac studio.  For example Siemens PLC have a special interphase whereby its simulator can connect with Factory IO software  so the simulation can be done using 3D like objects.  is there any open source (if possible ) platform that can connect with sysmac studio simulator to help with the 3d simulation?  Any suggestions? 
  25. Sysmac Studio 1.31.0.10 crash sometimes, often when copying things like color palettes, string in the Output Window, etc. It's always with NA not NX. I have a corrupted project because Sysmac Studio crash and save the project. NEVER use this file, restarts with the old file is better. The text fields does not appear on all objects on the HMI and it's never the same object each time your download to HMI! Check images below. Font is "No Value". Do you know how to resolve this problem?