controlsdude

MrPLC Member
  • Content count

    69
  • Joined

  • Last visited

Community Reputation

3 Neutral

About controlsdude

  • Rank
    Sparky

Contact Methods

  • Website URL http://

Profile Information

  • Country United States

Recent Profile Visitors

1753 profile views
  1. set your plc ethernet card to the gateway address of 200.200.200.3 the router, banner device, and ur contrologix need to have same gate way address and same mask. since you dont I am sure that contrologix just broadcasts its message out till it finds you. Routers do not like this so they kill those packets usually and wool lah you have a comm error. I believe this is called a router that does not have IGMP snooping.
  2. Strange Ethernet/IP "blips"

    I had a problem where when data got to a certain traffice level, the cisco switch would shut the port down momentarily. This was caused by Voice over IP settings on the Cisco switch. Their is nothing wrong physically with the network, just the amount of traffic. Did you have your Cisco firmware upgraded?
  3. Barcode is on a box right? You get data sometime on the box from the scanner. Now you have data waiting in the data area. Sometimes you say you have a lag. There is no mention of you using a photo eye to attach that barcode to a package of some sort. What I usually do is at the trailing edge of the package is whatever is in that buffer location is attached to that box. On trailing edge send the data to host. LocationA that has the barcode SINT LocationA always has some data showing in this area of memory. Buffer locationB used to copy from the original location above to this location when you receive data or change in seq number from the scanner. LocationB will be cleared of data after transmission of data. Move the data on trailing edge of the box (have to have a photo eye mounted next to the scanner receive point or the tracked location from the scanner) from locationB to locationC where you transmit this to a host system. Now clear the data at locationB LocationC will have data sent to the host. Now you can use a timer or count encoder pulses if your tracking to see where on the box you recieve the data from the scanner. This would be an expression of NEQ LocationB 0, start timer, then on trailing edge of box move this data into a file that will show the timer acculation value. If the locationB has never changed from a cleared state you did not received data on the box or too late. This is a No data from scanner You can also use this same situation to use an add instruction to see how many sequence numbers you recieve on the same box. If you receive more than one sequence number on the box increment a count. Also trap for no reads and multicodes also just by knowing what the barcode scanner sends back for no reads, usually ???, and Multicode, maybe "MULTI" up to you.
  4. barcode reader

    If you have ethernet, controlnet or devicenet available use the AB Point IO modules with either RS232 or RS422 modules. Easy to set up and program. Cost is 1/4 of the GSC module from Prosoft. Only limitation is it is only 128bytes max on data coming back at a time. not sure what the devicent head module pn? Allen Bradley 1734-ANCR controlnet Allen Bradley 1734-AENT ethernet Allen Bradley 1734-232ASC, 1734-485ASC Of course the great thing about it is its an ab product, so you get support from them if you got suport already.
  5. Copying UDT Data In CLX

    CPS is used if you do not want the data to change outside of that copy statement. Since comms run Async to the program this might be a good idea. My self I have not had too many problems with this as long as you buffer your data when it gets sent over the network. The buffering of data is move the data of the UDT structure into another structure once and then transmit this data. I believe this is what your describing above. Your not just using the tag that has data changing to use this also as a produce tag. Again test the use of CPS versus COP to see if the data is changing and also see if the data is stable in the other processor
  6. Copying UDT Data In CLX

    COP source dest 1 Size is 1. Might not think that but it is, I think this is your question. No matter what is in that UDT if they have the same structure, and you just wan to copy from that UDT to the other UDT, copy size is 1. Just to be sure just put toggle some the data inside the SOURCE and execute the COP instruction and see it show up in the DEST.
  7. Other thing that bothers me is your selection of IP address 192.168.x.x If you ever have taken a switch out of the box it always defaults to this address range. If anyone puts a default IP device on this network, my guess is that you would have problems.
  8. Open TCP/IP Communication

    Thats a mixed bag and probably not doable with the hardware described above. AB 20-Comm-E speaks Allen Bradley Ethernet/IP S7 CP443-1 does speak a lot of different ethernet but Ethernet/IP is not one of them. I think you need either a gateway product between the two devices from Prosoft http://www.prosoft-technology.com/content/view/full/3238 or Route the 20-Comm-E card messsage to a AB processor and use an 1756-EWEB etherent card talk to the S7 CP443-1. Is that CP-443-1 the advanced ethernet card? If it is then you can do this route.
  9. I/O Monitor in Logix5000

    Graphical trending tools are there under RSLogix5000. I have used them repeatly. Its in the controller tree under the folder "Trends" I agree the data monitor tool was sweet under RSLogix500, but they brought it back as an add on. It should be part of the tools that you can install from the installation disk. Look for the Tool directory should be on the install disks for RsLogix5000. Its up to you if you want to install these tools as an option.
  10. Aliasing in RSlogix 5000 ( L62)

    1st Enter the UDT_Structure1 under the User defined tags 2nd Enter MyAlias as the tag name under Controller tags if you want it to be global or program tag under a task if you want it to be local. Use "UDT_Structure1" as the data type. Again you can only alias IO if a digital IO point as a Alias BOOL data type. Maybe someone knows some other way to use but I do not know what that is represented in a structure. Does this answer your question? see example below as seen in controller tags expanded out. MyAlias <normal> UDT_Structure1 Standard MyAlias.structure DINT Standard Decimal MyAlias.structure.0 BOOL Standard Decimal MyAlias.structure.1 BOOL Standard Decimal MyAlias.structure.2 BOOL Standard Decimal MyAlias.structure.3 BOOL Standard Decimal MyAlias.structure.4 BOOL Standard Decimal MyAlias.structure.5 BOOL Standard Decimal MyAlias.structure.6 BOOL Standard Decimal MyAlias.structure.7 BOOL Standard Decimal MyAlias.structure.8 BOOL Standard Decimal MyAlias.structure.9 BOOL Standard Decimal MyAlias.structure.10 BOOL Standard Decimal MyAlias.structure.11 BOOL Standard Decimal MyAlias.structure.12 BOOL Standard Decimal MyAlias.structure.13 BOOL Standard Decimal MyAlias.structure.14 BOOL Standard Decimal MyAlias.structure.15 BOOL Standard Decimal MyAlias.structure.16 BOOL Standard Decimal MyAlias.structure.17 BOOL Standard Decimal MyAlias.structure.18 BOOL Standard Decimal MyAlias.structure.19 BOOL Standard Decimal MyAlias.structure.20 BOOL Standard Decimal MyAlias.structure.21 BOOL Standard Decimal MyAlias.structure.22 BOOL Standard Decimal MyAlias.structure.23 BOOL Standard Decimal MyAlias.structure.24 BOOL Standard Decimal MyAlias.structure.25 BOOL Standard Decimal MyAlias.structure.26 BOOL Standard Decimal MyAlias.structure.27 BOOL Standard Decimal MyAlias.structure.28 BOOL Standard Decimal MyAlias.structure.29 BOOL Standard Decimal MyAlias.structure.30 BOOL Standard Decimal MyAlias.structure.31 BOOL Standard Decimal
  11. Contronet and Devicenet Tools

    Knowing the limits of ControlNet is a problem I see alot of from many users. What are the limits on controlnet? Here are some below when I run a schedule on controlnet what do I look for in the config? Some of the parameters are debatable, but its a target and people throw darts. I have a scanning procedure too, but these are things to look for not a procedure. Prescan Setup of ControlNet 1 Just INFO! What is the peak scheduled usage  in ControlNet? What is the range of usage percent which can be considered as "correct" for a ControlNet network? The range that is considered correct is 0-100%. As a rule of thumb, if peak is > 80%, network traffic is considered heavy but should not pose any problems for the scheduled communications. Unscheduled communications will suffer as there may not be sufficient bandwidth available to accommodate more than one unscheduled node from transmitting per NUI.  At least 1 unscheduled node is allowed to transmit per NUI. 2 Analog Cards set to 40mSec with the ControlNet Rack Card set to 20mSec 3 Example settings: If NUT = 5mSec, then ControlNet Head Card set to 10mSec all other cards are 20mSec RPI 4 Example settings: If NUT = 3mSec, then ControlNet Head Card set to 6mSec all other cards are 12mSec RPI 5 ON the (1756-CNB THIS DOES NOT WORK ON THIS CARD BUT MUST WORK ON OTHER TYPES OF CARDS) General tab with the Comm Format = Rack Optimization, set the Chassis Size = the amount of cards configured underneath the CNB card 6 If the Network BandWidth is exceeded by 100%, then give the CNET SQUIRREL more NUTs between RPI setting 7 Try to configure all CNB and IO modules in rack optimize mode, this ensures that all the IO is sent back in one packet. 8 If using Diagnostic modules or card setup for INPUT data these add to the connections but these have to have a separate RPI setting than the CNB 9 Configure all CNB modules with the correct RPI where sampling will give you 2x the program scan. 10 Remote Racks with Input modules: Do you need the COS (change of state) to be checked? This being checked creates unscheduled packets and goes against the Unscheduled Bytes Per Second parameter. UNCHECK always if not using COS!!! 11 At this point all remote ControlNet 1756-CNB set to Comm Format=Rack Optimize, individual Diagnostic cards, individual cards set to Comm Format=Input should have an RPI setting configured in the module properties before running the ControlNet Offline configuration. 12 Also the entire ControlNet configuration should match either the IO list or the electrical prints. 17 Results should show the following maximum percentages Unscheduled Bytes Per Sec: No less than 100k, should be around 400k Ave Scheduled Band: <80% Peak Scheduled Band: <80% Connection Memory Usage: ?% Peak Scheduled Usage: <85% <<< double click on CNB then look at the CNB in local rack on ControlNet Tab Double click on Sorter Processor, go to Device Usages, make a note of how many Connections = ? 18 General Facts on hardware used or there maximum connections Remember total connections for the processor can not exceed 250 connections. Debate on connections versus system overhead timeslice needs to be looked at closer if connections are closer to the maximum. As the connections reach the maximum the processor might have CIP connection faults depending on how many uncached connections are communicating on the processor. Remember that the PLC can only have 3 uncached connections 1756-CNB connections can not exceed 64 connections 1756-CN2 connections can not exceed 128 connections Double check results by using the Logic5000 Task Monitor Tool by downloading the plc processor and check the connections.
  12. Aliasing in RSlogix 5000 ( L62)

    yes, thats the idea behind alias Only problem I have had with it is alias physical IO to a UDT structure, wont let you do that. But what your doing should be fine.
  13. thats what i do is wait 10 seconds after 1st scan. even qualify the 24vdc with a seperate input to the plc to say I have 24vdc and wait for a specified time then set the run bit on the devicenet card. Obviously after power up the last thing people want to do is get everything back to running after a power hit or failure. These timeouts will have long past.
  14. Wrong Revision For Communications

    If your using functions in the L61 that relate to version 17 in the L61 that you need to communicate using your L55 then you will have problems. Otherwise, you won't have problems. How would you know if your using version 17 functions? If you notice on that spreadsheet, the ethernet devices are all set to version 16 and above so I think your ok. There is no version 17 ethernet card (enbt, en2t, etc....) except for these two >>>> 1756-EN2T Ser A rev 2.005 and 1756-EN2F 2.005. Make sure there not these two and you should be ok. If they are you would either change the Ethernet card or downgrade the ethernet card to earlier version. Of course this means you need access to the other processor source code. L55 only go to version 16, you stuck on that revision level. Look here tells u about revision levels http://www.rockwellautomation.com/support/firmware.html Then select Control Hardware* — RSLogix 5000, ControlLogix I/O, Flex I/O, NetLinx Comm Cards, PowerFlex and Stratix Switches Sign in to the website shows u this which is a spreadsheet showing firmware to software revisions required for the card above. http://support.rockwellautomation.com/ControlFlash/
  15. BCD - that keeps coming up see attached file from pdf When you say bit 15 needs a 1, are you talking about the decimal bit 15? I was just looking at the manual and that bit is not used. If you talking about bit 15 octal that is part of reserved part of the word 5 maybe decimal bit 14 in word 5? manuals sometimes are confusing to me. btstatuswords.bmp