b_carlton
MrPLC Member-
Content count
1207 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by b_carlton
-
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.
-
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.
-
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?
-
Gender Neutral Electrical Connector
b_carlton replied to BobLfoot's topic in General Topics - The Lounge
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. -
Unclear on OTE OTU instructions used together
b_carlton replied to bwhinch's topic in Allen Bradley / Rockwell Automation
Seeing just these two rungs the first seems to be irrelevant -
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.
-
Creating an Array in Compactlogix_17JUN19
b_carlton replied to cland73's topic in Allen Bradley / Rockwell Automation
In short you can create an array of any defined type including UDTs. -
Hi Experts, the pulses counted in my flow meter are not the same with what it counts in my PLC.
b_carlton replied to Nyame Ephraim's topic in Allen Bradley / Rockwell Automation
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. -
Hi Experts, the pulses counted in my flow meter are not the same with what it counts in my PLC.
b_carlton replied to Nyame Ephraim's topic in Allen Bradley / Rockwell Automation
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. -
Hi, my HSC counts accumulated pulses but destination register does not count
b_carlton replied to Nyame Ephraim's topic in Allen Bradley / Rockwell Automation
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. -
Hi, my HSC counts accumulated pulses but destination register does not count
b_carlton replied to Nyame Ephraim's topic in Allen Bradley / Rockwell Automation
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. -
Hi, my HSC counts accumulated pulses but destination register does not count
b_carlton replied to Nyame Ephraim's topic in Allen Bradley / Rockwell Automation
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. -
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.
-
RSLogix 500 RSS file size difference when backing up?
b_carlton replied to bwhinch's topic in Allen Bradley / Rockwell Automation
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. -
Micrologix 1400 ASCII String Compare Not Working!
b_carlton replied to Rob Nelson's topic in Allen Bradley / Rockwell Automation
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. -
Micrologix 1400 ASCII String Compare Not Working!
b_carlton replied to Rob Nelson's topic in Allen Bradley / Rockwell Automation
That particular rung is still in edit. Note the e's on the left. -
I dont know how to express a value (a position on direct mode on a Drive)
b_carlton replied to reanimator01's topic in General Topics - The Lounge
He's using hexadecimal. The '0x' prefix also indicates this. -
How to move an Array ? (CompactLogix)
b_carlton replied to Nickr6's topic in Allen Bradley / Rockwell Automation
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. -
indirect addressing of individual bits of a tag of datatype dint using PLC ladder
b_carlton replied to noorloai's topic in Allen Bradley / Rockwell Automation
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. -
Why no greater than (>) contact in DirectSoft?
b_carlton replied to Div_by_zero's topic in Automation Direct
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. -
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.
-
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.
-
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.
-
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.
-
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.