AndrewG

MrPLC Member
  • Content count

    133
  • Joined

  • Last visited

Posts posted by AndrewG


  1. I've never had this exact problem. But I did use CCW with a Micrologix PLC for the first time a couple months ago, and my experience was not so great (CCW kept crashing). Only thing I can suggest, since you say you are modifying an existing program, is make sure you have the latest copy of the program and upload from the PLC to make sure you have the latest and greatest. Maybe the tags were changed in the PLC but never saved in the program. Sorry I can't think of anything else. Hope this helps. 


  2. 17 hours ago, vanquangtk said:

    I read the manual "FactoryTalk View Site Edition User's Guide", and I see the only way to switch screen is creating a switching button in HMI screen. But that is not exactly what I want.

    This is the only way I have ever done it. You need to create a switching button on the HMI. But you can add Animation to the button to make it visible/invisible based on a tag value in the PLC. You can use this to make it impossible to switch screens, unless a certain condition is met in the PLC. I'm not aware of any way to switch screens just by using an instruction in the PLC. Hope this helps.

    1 person likes this

  3. I guess the first thing to find out is, what kind of application is your customer using/what software did he use to build his application? My understanding is, you will need an OPC server to allow communication between the Micrologix and your customer's application. Rockwell's RSLinx is one example of an OPC server. I would start by asking your customer for more details about his software application and then figure out how to make it communicate with the Micrologix.


  4. It's been a couple years since I've run into this issue. The easiest thing to try is stopping, then restarting the datalogs. I think the commands for these are DataLogOn and DataLogOff if I remember correctly. I also remember having to delete the datalogs and create new ones because they got corrupt. Sorry I can't remember any more details. Hope this helps.


  5. The first thing you should do is get as much info as possible on the Comtrol unit. Comtrol has to provide you info on how to set up this unit. Based on my experience in the past, there may be software configuration that you have to do on the Comtrol before you can use it. Comtrol may have their own software that you can download and use to set up the unit.

    In the past I've used a Moxa unit to convert from Modbus to Ethernet/IP and I had to download software from Moxa to set up the Moxa unit. The Moxa unit that I used had a detailed user manual that even gave examples of how to use their unit to communicate with an Allen-Bradley PLC. 

     


  6. 17 minutes ago, PaulKim1003 said:

    Thanks for the reply.

    Does that mean i can not use NPN sensor if i have a sinking PLC input moduel??

     

    I don't know. I have only seen NPN sensors a few times in my experience, and every time I replaced them with PNP sensors to make them easier to use. (In my case the sensors were inexpensive to replace)


  7. I would first find out if there are certain setups/situations that will be the most common. It's possible that there are 100's of different possible setups, but only 10 will actually be used. Create some buttons, labeled "Recipe 1", "Recipe 2" etc that load the most common setups when you press them.


  8. Working on my first Siemens project. It's supposed to be a S7 PLC with a TP-1200 HMI (Comfort panel). What software is used to program these? Can I use TIA Portal for both the PLC and HMI programming? Or do I need Win CC for the HMI? Also, what is SIMATIC Step 7 software, is this obsolete? Thanks in advance.


  9. Working on my first Siemens project. Called tech support and they sent me a link to a software download. But, I need to register on the Siemens website for this. For some reason I can not register! I've tried using Internet Explorer, Firefox and Google Chrome. I put in all my info and then the website either freezes up, or it says the "nickname" I chose was already in use. I've tried at least 10 different "nicknames". Some of them were just random combinations of letters. I don't see how this is possible. Anyone else have this problem?


  10. Looks like you already tried a few things I would suggest. I used to use RSView32 a lot, a few years ago. It worked fine on Windows XP, but when used with Windows 7 I had all kinds of issues with the VBA code. I called Rockwell many times and the best advice I got was to go through the VBA code carefully and rewrite it if needed. Delete part of the VBA code, run the project, see if the error goes away. If it does, then you know what part of the VBA code caused the problem. If not, then continue to delete more of the VBA code until you can get the project to run without an error. Obviously make sure you have a good backup of the project first. Hope this helps.

    Edit: also try to uninstall any recent Windows 7 updates and see if this helps


  11. You're using a Micrologix so I'm assuming you're using RSLogix500. The Instruction Help for MSG lists the error codes and their meaning. I just looked, looks like there are about 50 different error codes with different meanings so maybe this can help you narrow it down. Try to be online with the PLC at startup so you can catch the exact error code when this issue happens.

     


  12. This link may help:

    You may want to try to delete the Harmony files too: go to either

    C:\Program Files\Rockwell Software\RSCommon  

    C:\Program Files (x86)\Rockwell Software\RSCommon

    depending on if you have a 64 bit or 32 bit PC.

    Delete Harmony.hrc and Harmony.rsh

    (See Tech Note 769010 in the Rockwell Knowledgebase for more info on Harmony files)


  13. I just googled it, then searched on the Rockwell website and did not find any Sercos to Ethernet/IP conversion guides. Rockwell has a "Application Technique" here:

    http://literature.rockwellautomation.com/idc/groups/literature/documents/at/motion-at006_-en-p.pdf

    Not sure if it will help you though.

    1 week is not a lot of time. Maybe the programming can be finished in 1 week but testing will probably take longer.