Search the Community

Showing results for tags 'omron sysmac'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 624 results

  1. Lately I have been having a struggle importing tags into JMobile from a CJ2M CPU31, I can enter tags directly and it works OK, but when I try to import tags nothing works, there are the yellow triangles on all the widgets. I tried to import using the "normal" Ethernet protocol by first making a .CXR file from the global symbol list, it seems to create the dictionary, and I can update the taglist and the tags appear to have the correct datatype and address, but no joy. I also tried the EthernetIP protocol by making a cjf file, funny thing is that worked for a while, but stopped communicating after a while. I have successfully used the EthernetIP import on another  CJ2M/Exor eSmart. Any way of troubleshooting this, adding 50+ tags by hand is not very tempting :( Geir
  2. I've setup an Omron NX102 PLC with two CIF105 cards communicating with about 40 MX2 VSD's (20 on each card). Generally it works pretty well. I used the attached document to set up the devices. The links on the document to the examples don't work, so I'm unsure if I missed anything. My problem is that every day, sometimes multiple times a day the communication seems to die. i.e I either loose the output to the VSD and nothing will run. Or it all runs but I loose the feedback, as in I get no running signal even though the drives are running causing a fault in my program. I'm at a bit of a loss as to what might be causing the issue. To resolve it, I put the PLC into program mode and back into run mode and everything is happy again.    Has anyone had a similar issue or offer any advise? MX2_Control_Serial.pdf
  3. I have an Omron NX PLC  NX1p2 which Supports EtherCAT . also I have Balluff BNI00HA Ecat Block(IOlink Master). I have setup communications and connected a BNI004K balluff I/O device. I managed to get inputs and i can read it as well. but to set the pins of BNI004K as outputs i have to configure the module by accessing its Index and Subindex. I tried with IOLwrite Block but it says 16#4802 error. Also an Engineer from balluff suggested me to use CoE block but while reading the description is said CAN over EThercat. WHile my devices are IOLINK.. If Anyone can Help.Please. SS1 - Is the error I am getting on IOLink instruction SS2 - Is what i did. which is an IOlink Write block from Omron SS3 - is what balluff Engineer suggested.
  4. hello, anyone. I want to ask about file which is I cant open. I was uploding HMI NB series but the file is only .pkg and when I decompile, it cant be done/ failed.. can anybody help me and explaine how is it can be? I use NB3Q-TW01B. thank you.
  5. Hi there!   I'm trying to communicate a Weintek cMT2128X with a CP2EN via Ethernet. The thing is I'm getting 'No device response' messages every 2-3 seconds. They'are connected at some point because some values are updated, but the connection error keeps showing up. So far I've checked: - Comm. settings are okay in both sides - Wiring is good - Happens the same with a CJ2 CPU. - There are two arrays of 50 UINT each, I don't know if that's slowing things but that would surprise me...   I've worked with Weintek HMIs before (communicating with different CPUs: LOGO!, CP1, CJ2...) and never had this problem. I just set the IP addresses and everything was working fine, so I guess I'm missing something. Hope you can throw some light at this! Thanks in advance
  6. Hi all and good day, I'm working through my workflows with Sysmac studio.  I think I have a grasp on the PLC side, now I'm trying to foucs on the HMI side.  I have setup some data types on the PLC to store booleans, integers, etc. I am trying to pull the data from those data structures into a value display on the HMI however it is being most difficult.  This brought me to two immediate questions. 1. Can you display the value of a local variable on the PLC from the HMI or does it need to be a Global variable?  I'm familiar with Java so I do understand the concept of public versus private variables.  I'm just not sure if that is what is going on here or if I am just not querying the variable correctly.  2. How would you go about setting up a variable display of a variable that is part of a data structure?  I have my structure setup as well as the variable in the table to USE that data type however it is just giving me an error when trying to look at it from the HMI. Any help would be very much appreciated.  My apologies in advance if this is a repetitive question. Thanks, Red
  7. How to count to 120000

    I’m using a Omron CJ plc. I have a press that I need to count the shots up to 120000. I know that the. CNTRX is limited. So does anyone have an example of how to set this up? 
  8. Good morning I have a problem with communication with a Yaskawa inverter, specifically GA500. The device communicates via the EtherCat network. Communication works, but when I want to change my PDO, I have a problem as shown in the screenshot in attachment. The problem occurs when I add the "Operation Command" variable. I have no idea what the problem is. I did not find a library on the Omron website that could support this inverter. thank you in advance for your help.  
  9. Hello, I have problem with Import and Export data from PLC to USB drivers. I want to write script in Subroutine and I have working script in VB language from the Tia portal, Script is in the attachment but when I want to copy the script to Sysmac it gives many errors. Please give me some advice, how to write such a script.       CsvToDB.txt DbToCsv.txt
  10. Good afternoon, I've done a bit of research in regards to running a Zebra printer via ethernet from an Omron PLC but there's not much info out there. Has anyone had much success printing barcodes to a Zebra printer from PLC via ethernet? I'm using an Omron NA5 (HMI) which I've designed to displays 12 different buttons indicating different barcodes, but I'm unsure how to link these buttons to the specific barcode files that I've created in Zebra Designer.. Would anyone know how I might be able to accomplish this?
  11. Good morning, I'd like to start by saying that I am new to programming, so please bare with my very simple questions. I'm having issues trying to get a DataLamp on the HMI screen to change its behavior from lamp Off to lamp On after a specific process has been completed (not operated by a button). Is this possible or do lamps strictly operate by using a Button?
  12. Hi We are searching for a EtherCAT splitbox with safe digital inputs that is compatible with Omron NX. for a example a hardware like this one https://www.beckhoff.com/en-en/products/automation/twinsafe/twinsafe-hardware/ep1908-0002.html has anyone successfully connected this type of hardware to the omron ethercat network ?    /Best Regards 
  13. Hi All, I need access to a the Safety function blocks within a safety CPU using sysmac studio on a machine we are upgrading.. Is there a generic password available to gain access? Best Regards, Paul  
  14. MOVE data

    Hello,   Seeking for assistance on how to program the below conditions, If I wanted to see the history of the total numbers per hour, like it will be displayed in my HMI Events Screen. How will I do it? Attached image is the one I am trying to work on, but still not working. Do you have any other suggestions what to use in the program for me to be able to display the logs per hour? Thank you for any help you may give.
  15. Hello,   Seeking for your help on my load cell module RS1201, I am having trouble on how to activate the Ch1_One_touch_Tare_Subtraction_Execution. I have used it on my HMI using that address for tare, upon pressing the momentary button the value would change to zero. But if I release the button, the value would turn back to it's initial value before pressing the Tare Button. How will I be able to zero it? Thank you for any suggestion you may give. 
  16. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  17. Hi, I'm working on a projects where i need the button text to be dynamic.(assigned by a string variable) i have not been able to figure out how to accomplish this easily. I made a workaround with placing a label over the button and have the label refer to a string, but it would be soo much easier and smoother to just have the button text assigned a variable. I would think i could access the the text field through code ,like: Btn_1.Text=My_Btn_String_1, but have had no luck with this. Would Greatly appreciate any help. Thanks, Frank.  
  18. Hi, we have one PLC that throws many errors on task period exceeded. checking the status, this warning have come over 15000 times since when ever it started couting it. Max cycle time is 2.83ms while max allowed task is the default(?) 2ms. We think it has something to do with the block for the barcode scanning. this blockas around 134ns cycle time when it seems normal, all other blocks is around 4-8 ns. How can we make sure what part that sometimes exceeds the 2 ms execution time?
  19. In the last update of Sysmac Studio (1.55) I would like to turn off the feature, see image. Can you help me?
  20. Hi All, I'm looking to setup communications between a digital force gauge and an Omron NX-CIF1010 RS232 serial communication interface.  Here is the Output Protocol from the Force Gauges Manual: Output Protocol RS-232 Parameter - Baudrate: 9600 - Data-Bit: 8 - Parity: none - Stop-bit: 1 The measured value is requested by the PC by the ASCII Sign “9”. I've tried to follow the youtube video, "How to communicate via RS 232 using an NX CIF to a PC" however setting up communication between the force gauge instead of a PC is proving difficult. How to communicate via RS 232 using an NX CIF to a PC - YouTube This is quite new to me so I'm trying to get my head around it at the moment so please correct me if I'm wrong. I'm reading values from the Force gauge in ASCII and I need to convert those values into another numerical value data type. I've seen in CX-Programmer, ASCII values being converted into Floating Point values using the "FVAL" instruction using Data registers however I can't use the same approach in Sysmac Studio. Do I need to clear the serial buffer everytime before I look to receive a numerical value from the force gauge? Here are details regarding the screenshots I've included below: 1) CIF101 Parameters to read Force Gauge Output Protcol in Sysmac Studio which should be matching the force gauges output protocol. 2) CIF101 IO Map in Sysmac Studio - ** I'm unsure if this is where I need to be linking the "RcvDat" input of the "NX_SerialRcv" function block? 3) CIF101 Sending Data Function Block - "NX_SerialBufClear" function block setup - "port_id" data type has been changed to "_sDevice_Port". 4) CIF101 Receiving Data Function Block - "NX_SerialRcv" function block setup 5) Global Variable - Array [0..3] OF BYTE - used in "RcvDat" input of "NX_SerialRcv" function block  6) Internal Variables Created  to send and receive data 7) Force Gauge RS232 Configuration 8) Force Gauge Output Protocol   Any help would be greatly appreciated. Paul  
  21. I am trying to create an Alarm handler for an NA5 HMI that can tell the end-user the 1SAN Drive AL Status code and an Annunciation according to the manual: I621. I already am using a similar method to use MFaultLvl.Codes in a Case statement that creates a message found in motion controller manuals. Ie. 16#6449: Fault_Axis0 := '1S Axis Immediate Stop Input'; I want to use the AL Status to create messages based on the Hex Code generated by the Alarm ie 16#20: DriveAlarm_Axis1 := '1S Overload Error'; 20hex being the AL Status from the Drive. However I  cannot find how to access AL Status from the Troubleshooter.   Thanks
  22. Hi! I want to change the keyboard shortcut of bookmarks function in Sysmac Studio, but I can't found any way to do that. On the windows "Shortcut key customization" on Bookmarks section I see some dark grey rectangle on "ShortcutKey" column, and I can't edit or add key. On the Sysmac manual on the section A-5-7 - "changing shortcut keys" I read that Bookmarks shortcut keys can't changed if "Controller" is selected from the Setting Target Drop-down List. But I haven't any other option on the drop-down list, and I don't understand how to change that. How can I change Bookmarks shortcut keys? Sorry but I can't upload image on this topic, the forum tell me that there is a problem on upload and contact the administrator.   Andrea.
  23. NMEA to CJ1M

    Hi there,    I need your help. I need to gather NMEA data to my cpu.  Whats the proper way to do it? I mean set serial port of cj and then to read ascii characters ?  
  24. Hi, Is there a way to write an Event Name to a string variable in Sysmac Studio? I'm using a NJ-301. My problem is that I can detect that there is an error and get the Error Code using functions GetECError, GetMCError, GetPLCError, etc, but I want to get the Event Name associated with the code (in a string variable), to display that string on an HMI (not from Omron). Is this possible?
  25. Omron plc to Citect Scada communication

    Hi Guys, I need some suggestion & solution regarding my recent project. The CQM1H plc which was used earlier is burnt and I am replacing it with CJ2M series Omron plc. Program transfer is possible from CQM1H to CJ2M. But the main issue is the system is controlled by Citect SCADA version 5.50 pack C. The communication of plc and Scada is through 2wire twisted pair cable. I just wanted to know when I replace the plc and convert the program do I have to change any settings or parameters in Scada? If I keep the same previous plc parameter in new plc and check the tags correctly in new plc as per old plc then the new system will communicate with Scada? I am new to citect scada so please provide your support and help.