b_carlton

MrPLC Member
  • Content count

    1207
  • Joined

  • Last visited

Everything posted by b_carlton

  1. Too SLOW?

    Mainly make sure the reset of the timer is last because resetting it resets the done bit. And of course the move of the counter's accumulator has to come before it is reset.
  2. Too SLOW?

    Your rungs should be Use done bit to perform the move Use done bit to reset the counter Use done bit to reset the timer. This order works in my simulator.  
  3. Do-More Designer

    For help on time storage in the DoMore systems go to 'help' and search for DMD0221 - Date and Time Overview.   As a side note to Host - will the 2038 time bug be handled when that time comes? I see it was discussed on the Host site in 2010 (I was part of the discussion) but I haven't heard of any resolution. Let everything break in a little over 18 years?
  4. Gender Neutral Electrical Connector

    In all seriousness I like the terms Initiator/Responder for communications. I think the relationship is much more clear that way. Though I don't know how I could encourage others in that use.
  5. Seeing just these two rungs the first seems to be irrelevant
  6. Micrologix 1100 1762 L16BBB

    You will get an error code until a program with the card listed in the ok list is downloaded. Be sure to follow all configuration directions.
  7. In short you can create an array of any defined type including UDTs.
  8. He didn't mention an HMI. I believe he is reading liters directly on the flowmeter display and comparing that to the count recorded in the PLC.
  9. Can you provide the complete part number of the E+H Promag unit. Also a diagram of its output wiring to the AB 1400 would be helpful.
  10. Ken - Nyame Ephraim has been in touch with me via email. After many exchanges I came to the conclusion that he believed the Program File Number (PFN) in the HSC setup indicated the ladder in which all HSC related instructions must be placed. My last email to him was this morning and I haven't heard anything else. From all his descriptions to me I believe this may be the case. I guess I'll just wait to see if my guess was confirmed.
  11. If the HSC accumulates then the battery is not the problem. The hookups for counting would not affect the transfer of the accumulator's values in the MOV commands. If you print your program to a PDF and post it (or send a PM to me for my email) I can look at it. Meanwhile check the other items I proposed. And just for the heck of it, make sure the PLC is in 'Run'. Since the HSC is a hardware device within the CPU I can't remember if it can accumulate in other modes.
  12. I assume you see values in the accumulators while running. Are these rungs in subroutines? Are the subroutines being called? Are the contacts before the MOV instructions true? Are there any other instructions which write to the destinations? If you are testing by forcing the outputs their associated contacts won't follow the forced state.
  13. Discrete Input Module Issue on DL06 PLC

    When you swapped the modules did you swap the wiring block? If not then it is most likely the module. If you did then inspect your wiring, especially the commons. It sounds like commons - signals swapped.
  14. Purely a guess, the original file had a lot of temp files (the RSS is actually a full directory structure - open it with 7zip). On uploading it cleans out the temp files.
  15. Various possibilities: in a subroutine which isn't called, string not changed/zeroed between scans (otherwise the one shot won't trigger if scan is the same), one shot address used elsewhere.
  16. That particular rung is still in edit. Note the e's on the left.
  17. He's using hexadecimal. The '0x' prefix also indicates this.
  18. Create a UDT of all the items in the recipe. Then create an array of that UDT type. Then the copy can be used to move entire recipes as a unit.
  19. Use  DINTDataType.[Index_Value]  Note the '.' between the DINT and the opening bracket Remember to confirm that Index_Value is 0 - 31 to prevent a runtime error. The syntax of DINT[ index] with no period is used if the DINT tag was an array to select the particular array member. And DINT[array_index].[Index_Value] could be used to access a particular bit from one member of an array.
  20. Why no greater than (>) contact in DirectSoft?

    I worked with some microprocessors. A comparison between numbers were often performed by subtracting them and utilizing result flags. For example if we subtracted A from B and then saw that the negative result flag was set I could say that A > B, if it wasn't set then A ≤ B. A zero flag would indicate equality but the state of < would take more operations. I'm just guessing but I think it is similar to this. Many times you can achieve the other comparisons by swapping the arguments but many times a constant can't be on the left hand side. If needed load the constant into a V register.
  21. Analog Output on DirectSoft 6

    I know there are multiple methods of 'remote i/o' in the 405 line. Check if there are any limitations on types of modules in remote racks for the method you are using.
  22. Analog Output on DirectSoft 6

    The manual has multiple examples. The first sequencing example (page 14-18) will probably be the best. Once it is written then you just have to send new analog values to the V registers reserved. The one channel example just permanently selects just the one channel. Just refer to the Y addresses assigned to each of the output modules. You will have two copies of the sequencing code, one for each module, each with it's own V storage addresses, C bits and the Y addresses.
  23. Delay program run

    We had two levels of customization on a machine mainly because of the screen type attached. We detected one or the other based on, much as you have, whether or not the more expensive one reported it's first screen.
  24. Delay program run

    To absolutely prevent anything from running use a physical timer relay. Have it switch power to the DL05. A little cheaper would be to implement a timer in the program enabled at startup. Use it's done bit to condition all other logic.
  25. Analog Output on DirectSoft 6

    It would be easier if you would specify which cpu and analog module. While the manual details the channel scanning you can probably ignore it. Most of the CPUs have the ability to use the parameters set up as shown in the 'special V memory locations' section. Once these are set up the system performs the channel scanning in  the background. The first location is set up to hold the operation details of the module. The second holds the address of the first of multiple V memory locations. You send a value to a specific channel by writing to the specific location. If you need more help please provide the cpu and module information.