Search the Community

Showing results for tags 'sysmac hyphen dash ascii'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 233 results

  1. Hi all! This maybe a simple question but my brain is not allowing me to do it. I have an array variable of INT I use for alarms. I want to compare the values in the array variable to make sure they are all zero. If they are not zero I want to turn on an alarm. I have messed with the Arrary Compare value instructions (AryCmpGTV, AryCmpLEV Etc.) The goal is to monitor all the values in the array and if one becomes greater than zero, I know that an alarm has occurred. In CX, I use 2 in-line compare statements; a greater than Zero and less than or EQ to 'some value' depending on how i split up the alarms. How can this be done in Sysmac?   Nate
  2. Hi there, I have a controller NX1P2-1140DT. I want to control a VFD with modbus serial communication. Can someone help me start from scratch ?
  3. Is it possible to give a physical proximity switch or photo eye input a value to change a vfd's speed. Speed up or slow down when it has been triggered. 
  4. Hi All, I am a new user to this Forum and definitely a newbie PLC user, so I'm not sure if this is a simple mistake. I am currently trying to correct the logic (of a sensor) on a PLC program to get a manufacturing machine back up and running. This is an issue that I have fixed via PLC several times previously, but for some reason I am having issues fixing it this time. The issue that I am having is that when I try to dig into the Logic of the PLC program (Programming > POUs > Programs > Logic > ...), nothing shows up where there is typically a PLC command ladder. I get the error "No instruction in rung" next to all of the PLC program modules. I am connecting to a Omron NX1P2 CPU via laptop & Ethernet cord. To give you background on my troubleshooting process, I have verified that the I am connected to the PLC controller, by using the Windows Run program to ping the IP address of the controller. After verifying connection, I attempted to connect to the controller using SYSMAC studio. At this step, a troubleshooting window appeared with the issue "Minor fault" "Tag Data Link Connection Timeout". When I look at the Controller Status at the bottom right corner of SYSMAC, it says that I am online and connected to the correct IP address (green circle). Under that, ERR/ALM has a red circle next to RUN Mode. Ignoring the troubleshooting window, I can click Synchronization and "Transfer from Controller". A dialog box pops up and reads "...Controller does not have the POU program source...". Pressing yes to ignore this, the transfer completes. This is where I encounter the issue of having nothing show up within the path of Programming > POUs > Programs > Logic > ... . I have a feeling that this is a connectivity or settings issue, but I am not sure. I have checked my ethernet splitter (D-Link DES-105) and everything seems to be connected and working. If anyone has some insight into this issue I would greatly appreciate any help. Thank you in advance! Best cszikszai    
  5. connect encoder to nx1p2

    hi everyone i have a question about nx ec0122 i connected an encoder to ec0122. now i want creat a programm for read the pulse and reset pulse. Then write a program to measure the length of a roll. How should I do this? Thank you for your help
  6. I encountered an issue that technical support was not exactly able to help me out with, and I wanted to share what I learned here for the next guy. Specifications: Omron NA5 HMI v1.10 connected to NJ PLC via Ethernet Issue: Made a change to a screen where I copied and pasted a button from a different screen.  The screen where the button was copied to had some sort of issue, but it was still able to compile and transfer to the HMI.  It worked for several days until the HMI was power cycled by maintenance, and it was stuck in a black loading screen saying "Initialising Variable System" with a scrolling wheel and green LED on the HMI panel.  It stayed in this loop indefinitely.  The HMI still had a ping, could be connected to from Sysmac Studio, and could be transferred to and from.  Troubleshooting section of the HMI mentions something about initializing failure with a red LED which required a system recovery, but no description for this state. Troubleshooting: Power cycled the HMI, but this resulted it getting stuck back in the same loop. Connected with Sysmac Studio with most recent backup and transferred from the HMI to get the current program.  Before transferring in this synchronize step, I could see a page that was on the target device that wasn't in the source.  I'm not exactly sure how it got there as it wasn't in my backup, but I had green in the comparison list when I shouldn't have.   Reverted program changes, downloaded to the HMI, and power cycled.  Still stuck in black screen with same message. After several other modifications, I eventually had a heavily stripped down program of the backup and downloaded to HMI.  Power cycled with same message. Resolution: In Sysmac Studio under HMI View, select HMI from ribbon, select Clear All Memory, confirm the target device, and select OK.  Once this has factory reset, I made sure the IP address was configured as necessary, connected, transferred backup, and all is well with the HMI now.  Even after loading a backup from several months ago, I could not clear this issue without a factory reset. Hope this helps!
  7. I am trying to set up a ifm AL1322 EtherNet/IP IO Link Master to communicate with a NX1P2 or CS1 PLC. When using Network Configurator I have added the EDS file and added the AL1322 to the network and set its IP address.  It shows all the parameters in the device but if you make a change it says it has downloaded but nothing on the unit changes.  If you make a change to a parameter and then verify it says there are no difference even though there are.  I have set up the communication with the PLC but there is an error  Establishing a tag data link connection failed. This is the same for both the CS1 and NX1P2. I have also tried setting it up using Sysmacstudio for the NX1P2 and get the same result.   I have had the unit back to ifm and there is no issue with it running with an AB PLC.  I can also communicate with the unit using the ifm LR software. Any ideas why the Omron software is unable to read from or write to the unit? ifm_IOL_Master_AL1322.eds
  8. User Alarm Viewer

    In the useralarmviewer, you can color unack:ed, acked etc of the alarm, i cannot find a way to acknowledge the alarms, only the ClearUserAlarmLog() in the click even for a button. Are the ClearUserAlarmLog() Ack:ing and removing the alarms that are not still active?   When i press F1 in the HMI-part of sysmac i only get tossed to a PDF that is not helpfull at all.
  9. Hi. I have this project where the variable mapping / connection / something gets lots between restarts of sysmac. This is on the HMI, it was working after i re-entered all variable mappins again after a 5th time, saved, compiled, sent to bitbucket. Now after the reboot, i just open the screen and its all ill pink all over the place. Why do sysmac(?) keep removing all variable mappings? And how do i make sysmac work with me instead of against me?  
  10. Hi everyone, I'm trying to change the frequency reference of a q2v Yaskawa inverter via EtherCAT. The inverter is equipped with Yaskawa EtherCAT option and I'm using an Nx plc programmed using sysmac studio. According to the YASKAWA EtherCAT manual (https://inverterdrive.com/file/Yaskawa-EtherCAT-Option-Manual) the frequency reference is not a standard mapped PDO (the standards ones are shown on pages 85 and 86), so PDO needs to be remapped by writing to map object 1A00-1A28 (a short description for them is on page 57). No other Infos are reported in this manual. Can anyone help me? basically, I need to write (what?) to these register (how? are they SDO?) to remap the standard PDO mapping. Many thanks in advance.  
  11. Hello, i am a novice when it comes to PLC programming so i was wondering if i could get some help designing a ladder circuit that allows me to control the speed of a motor connected to a VFD from my HMI. the components i am working with are as follows, NX1P2 omron PLC (with a few digital input & output cards), NA5-7 (V1) omron HMI, and a yaskawa GA500 VFD. Essentially i have a customer who would like to view and make adjustments the speed of a group of VFD's from their HMI located on the main control cabinet. I would like a little help designing the circuit within the controller (If at all possible) or maybe a bit of guidance as to the type of functions i can use to get the desired results.   any and all help is much appreciated, thanks
  12. Hi, i have this  NX1P2 cpu with 2 CIF105's. On one of them i have 6 modbus sensors, i talk to each and one of them in a cycle. Occationally i get a timeout error on a random device. They are connected via a Murr Elektronik M12 signal-splitter Each sensor is connected by a 5 meter cable from the splitter. The timeout seems to happen to random device at random interval, and it can be really long time between the timeouts. I have looked around in the sysmac project to see if i could change the timout setting to something sligthly higher than current (default?) Is there any timeout defaults that can be changed on modbus timeout?
  13. Hello. Iam wondering if anyone here has successful set up a CI-Server together with sysmac studio team foundation (git) ? We want to adopt unit testing workflow of the libraries like the picture.  I see that some developers has been using jenkins to automate together with Beckhoff Or B&R and siemens it looks like they have their on solution. Or if anyone has some thoughts how it could be done with sysmac .       /Best Regards 
  14. Hi there I was reading this thread: And trying to create 3 axes. 1 virtual axis and 2 real axis, I would like to use MC_GearIn for each real axes so both real ones follow  the virtual axis (so both can move in sync motion). But my question is: If I give Move cmd(Absolute or relative)to master virtual axis and since it's virtual, it is not going to move then how can the other real ones follow the master(assuming that it's literally electronic gearing).  Any help will be appreciated!
  15. Anyone know what could be missing to be able to import this stepper motor to sysmac? This is one of the supplied xml files for the stepper motor.     FASTECH_Ezi-SERVO2_EtherCAT - OMRON.xml
  16. Hi there This attached pic I got from Omron motion control manual. I am trying to wrap my head around it. Does it mean that the slave servo axis is gonna follow master encoder axis using GearIn FB?? If so, then Can we executive Move FB on encoder axis? Looking forward to your responses.  
  17. Hi. When i run the plc in the simulator, only certain stuff seems to work, most logic seems to work. Timers seems to refuse to start at all, the sim is in RUN mode using Sysmac 1.45 Standard edition.
  18. Hello. We are looking for a safety scanner that has CIP safety(Ethernet IP) or fSoE (Safety over etherCAT) that is combability with sysmac and NX102 cpu. There is a lot of safety scanners on the market that support CIP safety and fSoE and I have tried to load in both EDS  and ESI files into sysmac with no succes. Of course the best option would be that OS32C safety scanner from Omron themselves would have build in support for Cip safety at the moment it only support ethernetIP to read out data for diagnostics.   Is there anyone that is running a safety scanner with sysmac with CIP safety or fSoE ?  If you do I would be very happy to receive the brand from the safety scanner manufacture.   /Best regards.
  19. Hello Guys, I am using a nx102-9000 CPU and trying to communicate explicitly to a Telsonic Mag Generator. I have done this on a CJ2M & an Allen Bradley Processor successfully before but am struggling with sysmac. I will attach some screen shots of the AB message instruction because it is much more simple then the CJ2M (required pretty much a full function block made). If anyone wants to see the CJ2M block let me know. I am working right from the sysmac manual using the CIP OPEN, READ, SEND, & CLOSE. Once it is working I will write as well.  I am getting stuck right on the first part "CIP OPEN" I am using a route of '02\10.203.21.40' I am unsure what the 02\ means. I am just copying it from the example. The IP Is correct. Below is the picture of my 1C05 Error. Which in the manual is confusing because they have a 1C error and an 05 error separately.  Another question (once i can open a connection) is in the CIPRead the 'srcdat' I am not really sure what this is? Everything i've used before is an instance number, class, and attribute number (used in the CIPSend Logic From Allen Bradley MSG Instruction & Current Sysmac logic shown in pictures as well. Please let me know if you have any suggestions or need any additional information. Thanks, Kevin
  20. Dear all. I have the issued with Sysmac Studio 1.30. it can not show the Library setting and Library create. just show the reference only. can you pls help me this issued. Many thanks.
  21. Hi there I am working on a project where Omron servo drags a part to a certain position using belt mechanism, But to avoid any slippage we decided to put an external encoder directly on the part. I was wondering what is the best to approach to drive the servo using the position of this external encoder. Is there any way that it can be configured directly with the servo? I am fairly new to coordinated motions, any help will be appreciated. Thanks
  22. Hello people! I'm using a NX1P2 controller combined with a CIF105 serial card installed on it. For my project, I get some data that are in ASCII form and I want to keep that form when are extracted in a .csv file. I have established the communication for getting the data but, the problem is that I cannot extract the data in the ASCII form. Data extraction comes in Hex form. I use the NX_SerialRcv instruction for the communication and the AryToString conversion for the data. When using the Watch Tab Page I can display the data in ASCII form but, as far as I understand, this is only for online monitoring. I went through topics here and OMRON manuals for finding any Hex to ASCII conversion instruction but the only info I came across was for CX controllers which cannot be implemented to NX controller. Is there any similar instruction for NX controller or I should create a new Library for the conversion? Any tips and/or a sample would be highly appreciated! Thanks! Man31    
  23. Now I working on omron CP1H PLC, i'm receiving ASCII number from another PLC which is something like this  "#3031 #3030 #3030 #3030" which mean 01000000. How to convert the ascii number to real number or bcd without separate them? I know how to convert them which is using HEX but its turn out the number will separate into this 0100  and 0000.
  24. Dear All. I have the issued with NX1P2 when read data from Modbus RTU. the Slave data using 2 INT for Real data. but in the Sysmac Studio I get the data is OK, 2 INT but can not convert to Real data. Can you pls help me to solve this issued. also I want to convert from Real to 2 INT to send the setting to salve. Many thanks.
  25. Crane Positioning

    Hey folksI'm trying to make a Ladder program in Sysmac Studio to control a Crane.The crane gets via a HMI a position that it must drive to, first at high speed then in low speed this is controlled via encoder signal for fine positioning there are several sensors.For all this I have an NX1P2-9B24DT1, NX-EC0222 and 3G3MX2-A4030-ESomeone here who can help me with an example of how this can be done in Ladder.Many thanks in advance for your help.