Search the Community

Showing results for tags 'SYSMAC STUDIO'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 261 results

  1. Good Evening, using the Ethernet Built-in LAN I need to program 4 power supply. I'm tryng to program the firstone but even if I can send the correct command to the power supply I always recive a 2006 error on SKTTCPRCP function Is there someone that can help me in order to not receive the 2006 error code? Have I to respect a procedure? It seems that at the second connection time the socket remain closed. Thank you!
  2. Hello All I am new to sysmac studio, i am using a NJ301-1200  and R88M-KN10H servo drive , i connected the servo to the NJ using ethercat. I was able to write a program where i was able to activate the servo from the NJ using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here ..  
  3. I am a long time Omron user, but this is my first time using the Sysmac software, I want to compare the 16 bits of my array to zero, if any of the bits are on I want to turn on an output, I see the AryCmpNE and AryCmpNEV, but they have a seperate bit for each item in the Array, is there any way to do this without using Unions?   Thank you!!
  4. I use Netgear routers with multi-NAT capability to attach machines to the company LAN. One of the advantages is that similar machines can have identical network addressing schemes while a multi-NAT router on each machine can be used to assign unique external addresses. The usual error on these setups is to forget to assign a gateway IP address and so the PLC can't respond to requests from outside its subnet. I have the router set up as normal (as I have done a hundred times before on other machines). PLC has correct IP address, subnet and gateway (that of the router LAN address). Router has NAT rule configured, correct LAN subnet, etc. I can PING the PLC from the company network. This implies that the router, wiring, etc., are all OK. If I disconnect the PLC ethernet cable during a PING I get errors. This implies that the address is unique, etc. Controller --> Communication Setup --> Ethernet connection via hub --> Ethernet communication test --> "A communication error has occurred." Has anyone seen this? Any reason why it shouldn't work as I expect? Many thanks.  
  5. Hello, I am looking for a way to programatically select a recipe. Any time that a recipe is change or saved, the recipe viewer object always resets its view and selects the first recipe. This will lead to possibly writing the wrong recipe to the controller, as well as frustrate the user if they have to scroll through a hundred items to find the recipe again. I looked at the VB functions, but the only one I could find that was close was the .SelectedRecipe, which is a read only. I am using Sysmac Studio v1.1.7, and an NA5 HMI. Any help would be appreciated.
  6. FinsGateway Help

    First of all, I apologize if there is a simple solution, if there is, I can't seem to find It. I simply want to make and HMI talk to a PLC using Omron's FINSGateway/SYSMAC window's drivers.. Heck, if I can get an example that uses a simple Excel spreadsheet talking via DDE that would help. I have been writing custom drivers in Windows for years to send FINS commands back and forth to the various Omron PLC's, based off of a bit change either on the HMI side or PLC side. Super fast since only the data that has changed is written back and forth... Lately I have tried using DDE (polling type) communications as some jobs require this and not custom drivers. We use Wonderware Intouch for the most part and have found their DA and OI servers for Omron to be terrible at communications on large IO installations. Their IO servers essentially send 1 packet per bit or word every x msecs over the network according to a wireshark capture instead of blocks of word ranges. I was told FINSGateway / Sysmac Gateway could be installed on a machine and map via datalink( or the sorts) PLC memory to  psedo PLC memory on the windows computer; that the local computer mimics a PLC. The third party application can then read the local memory many times faster than going across the network to get it packet by packet. I can't seem to find a simple 'DDE' type interface with FINSgateway whether trying to use it locally or to a remote PLC. Usually a Topic name and an Item / Tagname....  I have used these DDE interfaces with other brand PLC controllers and their local driver, but can't find squat with the Omron Driver.  Usually you specify in the HMI a tagname and it is pointed to a 'TOPIC' and 'ITEM' that relates to an address in the PLC. Anyone have any type of info on this? I see posts in forums about doing this, but can't find any specifics. Again, I would think this would be basic beginner stuff, but can't seem to find any info on FINS/SYSMAC gateway  and how to make a third party app talk to it. It's been around for many years so I find this odd. Thanks for your time..  
  7. I am beginning my first project with the newer NX platform and am a little confused by the description in the manual vs what is actually in the sysmac setup.  The manual makes it sound like you can adjust the range settings for the card, but I don't see any where to do it in the setup.  I also don't know what the Index and sub-index columns mean, so I am wondering if this is a back door to access the range settings? 
  8. Hey was just curious if anyone has come across the error message for Sysmac Studio posted. I have uploaded an image. Essentially what happened was I was using sysmac studio, went for lunch and it wouldn't open when I got back. I uninstalled v1.23, ran the remover (1901) and reinstalled it. Still could not open without the error. I uninstalled and tried installing V1.13 (oldest one I have) and again am getting the error. Any help would be much appreciated. Thanks, DJ  
  9. Hi, Now I am using Sysmac Studio - NA HMI. I am facing the problem of Data edit tool here I am unable to give Indirect address. Like this address HM15_Recipe_hmi(Index_No).SetPoint_1 But If I give direct Address its working HM15_Recipe_hmi(8).SetPoint_1   I Hope someone give the solution.    
  10. Hello everyone, Working in Automation for the first time as a Co-op student so i'm fairly new to PLC's and the Automation field in general. I've recently been tasked with converting a RSlogix 5 program from an old PLC 5 project into a Studio5000 project. I referenced the manual (I'll attach link below), and had no issues using the RSlogix Project Migrator tool that I downloaded off the Rockwell website. My problem is that once I convert the program, my I/O tags that were originally sequenced in octets(0-7, 10-17, 20-27, ...) from the RSlogix 5 program, are switched into a sequential scheme in Studio5000 that just increments them in order (1, 2, 3, 4, ...). I hope this make sense, but basically the first seven tags match between the projects, but then I:010 in rslogix 5 is equivalent to I[8] in 5000, I:011 is I[9], and so on and so forth. Has anyone had this issue before and found a way to have Studio5000 keep the original octet scheme? I don't see this normally being an issue, but the customer has specifically asked that the I/O tag names be kept the same as the original program. Thanks for any help. - Ben   Converting PLC-5 reference manual link: https://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm085_-en-p.pdf
  11. Newbie - Help. on Omron Sysmac S6

    Hello- I am looking for some existing code to reference to try to troubleshoot an old machine.  It has a Omron Sysmac S6 console and I've been able to get the individual inputs and outputs to activate via the console, but the code that is in the machine seems to not be correct.  I suspect someone got in there and overwrote a bunch of the initial lines of the program.  Again, I can control the machine manually through using the console, but want to now automate it.  I've done the program checks and have a whole host of errors, including double coil errors, a missing IL error and circuit errors.   Ideally, I'd like to see what the code looks like to "start" the machine with a button (input 9) as an example and also see how that input can keep one output "ON" or running constantly (output 27) while then activating several outputs in sequential order, individually for a set period of time or until they activate a certain sensor (as an example input 6).   I've mapped out and am attaching what I believe the process flow to be.   I am also attaching the code as I pulled it off the machine.  Again, I don't believe the code to be correct.  Thank you for reading this. Any help would be greatly appreciated.
  12. There appear to be bugs with the EditVariable method that are not documented anywhere.  Firstly code below will not work and at same time Sysmac will not report this as an error where the variable to be edited is declared inside a subroutine. The program will compile fine but keypad will not appear when the sub is executed. However, if the variable is declared in the Global Variables table, the keypad will appear and the variable can be edited. I have also tried declaring the variable as Public out side of the subroutine and keypad still fails to appear. Sub EditValue     Dim Index As UShort     EditVariable("Index") End Sub Second issue is that EditVariable will not work if the variable to be edited is an array using variable as the index into the array. For example EditVariable("myArray(Index)") will not work whereas EditVariable("myArray(1)") will work. The above issue also appears when using a DataEdit object and trying to use an array with a variable as the index as the variable of the data edit object. Stupid thing about this is that MinimumValue and MaximumValue fields in the same DataEdit object will take an array with a variable as the index. Has anyone found a way around these problems?
  13. Hello, Does anyone have a pdf version of the user manual? Thanks...
  14. Hey, I am fairly new to the NA screen so I didn't get time to research much but for some bizarre reason, if my alarm message is long instead of going to the next line it just continues. Is there a specific way of creating a multiline alarm. Any suggestion or if you have inside for a crash course on NA screen would be helpful. Thanks
  15. Sysmac HMI

    I am fresh out of school and new to automation programming. My employer has asked me to come up with a way to show through the HMI the position of an encoder. Are there any HMI tools that do this in sysmac? Again I have limited experience.    Thanks
  16. Hello:   I need to link  a lot of variables, pointing to CIO address, like "AT" field, but is a large volume of tags to create, so, I have a chance to assign a memory location to a variable in ST like:  my_tag := %100;  (trying to assign tag address to CIO 100) ? If not, there is a method to import tags from a Excel ?   Thanks.    
  17. Hello:   Im new on this foroum, and Im glad to become a member, and new on the Sysmac studio too . I have the following ST program line: My_array[0]:= y[0];   Where My_array, is a array of bool, and y array too. After load and all, on monitoring return a "!" Sign, and trying to change value retuns "Failed to write variable, check if variable or memory area are alloed to write". I tried to move both arrays from global to local, and change adressing in "AT" field, witout changes. Any help will be wellcome. Thanks in advance Dante  
  18. C-mode hostlink library for NJ/NX1P or CP1L

    Anyone knows if there is a C-mode hostlink library for NJ/NX ? Also, a C-mode hostlink library for CP1L could be helpful, to translate such a library to work with NX1P is probaly less work whan writing a new library.  Maybe Omron France has developed such a library? - they seem very active..   Background: Looking into writing a programmatic c-mode hostlink master for NX1P12, this is for connecting the handheld NSH5 HMI to the NX1P12 via RS232C using a CIF01. I have the hardware set up, and an machine built, expected some compatibility efforts by Omron.... but the NSH5 seems to talk C-mode hostlink, and the CIF01 only seems to support the FINS version hostlink.   On the NJ you can of course add an SCU module, thus not need a library.  But working with NX1 ( due to limited space available ), you are dependet on available CIF-modules which do not support C-mode hostlink.  
  19. How to watch the value in decimal directly in the ladder page ?  Default Hexadecimal The only way I can do it is in Watch Tab and I/O map per example Thank you
  20. i am new in indusoft web studio. i am facing a problem about communication of indusoft with plc.   i am communicating with plc through fx2n-422-bd card.   can some one guide me the steps of communication.  he/she will be a life saver.. as i am  in a deep trouble
  21. Hi. I am new to Allen Bradley PLCs and bumped into the following issue, that I cannot find any solution to. When trying to add a module to the I/O configuration I get the attached error, error code 80131940. This prevents me from adding any hardware configurations in Logix Designer. I have tried to reinstall Logix Designer and uninstall all AOPs. I am running V30.00.00 on a Windows 7 Enterprise SP1 OS. Your feedback is very much appreciated.
  22. How to set Homing parameter slot with _sHOMING_REF data. Please suggest me to setting MC_HomeWithParameter instruction or show example for using MC_HomeWithParameter instruction. Thank a lot
  23. Hi, is it possible to communicate between the Sysmac studio simulator and the CX-Programmer simulator? I want to test the exchange of data between a NX1P2 and a CJ2H, but I don't have the controllers with me. Thanks and have a great day!
  24. Torque Control

    Hi, For my system I use the functions Mc_MoveAbsolte and Mc_TorqueControl. my problem is when i use absolute function after torque control for zero point. the servo turns the torque point control. For example: Target 1: 200 mm target 2: 150 mm Target 3: 240 mm ( Start point of torque) Taget 4: 330  mm (end of process) Target 5: 0 mm After "end of process" the servo turns  to "start point of torque" Can you help me please    
  25. My apologies for being a newbie on this, but could someone save me on this... I have a Viper 650 and an eMB-60R controller which I want to control by ePLC connection using an NJ501-1300 PLC unit, SYSMAC Studio with EIP Adept Library for Robot... All are starting up well, and I connect all components to a switch hub...  But following the ePLC guidelines, the IP Address showing on the controller is 172.16.132.111 I change the IPV4 IP Address on the PC settings to 172.16.132.10 and the subnet to 255.255.0.0 but the Adept IP Address Setting Tool on SYSMAC doesn't detect the Robot IP Address, also i tried ipconfig on command prompt which shows a different IP Address IPV4 169.254.197.75 and subnet of 255.255.0.0, I changed the previous setting on the PC setting to 169.254.197.10 with the same subnet. But still PC doesn't recognize. I tried both configurations if ACE Software can detect it but the same ACE can not detect it also... Appreciate any thoughts on what's wrong in my configurations. Thank you.