b_carlton
MrPLC Member-
Content count
1207 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by b_carlton
-
Which programming package are you using?
-
Search for the base timer name without the '.TT'
-
SLC500 - resetting the time
b_carlton replied to richard clark's topic in Allen Bradley / Rockwell Automation
Disconnect the Panelview fromthe PLC. Reset the time to that currently in the PC as described in the first post. Return the PLC to RUN. Wait a while See if the time in the PLC registers change. This should isolate if the Panelview is causing a problem or is simply displaying the result of a change caused by something else. -
HSC VALUE MOVE AND RESET
b_carlton replied to Joseph 0028's topic in Allen Bradley / Rockwell Automation
The file (#3) you have set in HSC:0.PFN is typically called when an interrupt condition (hitting High Preset, Low Preset for example) occurs. Try moving this code into ladder 2 and see if it executes as you wish. -
Type the following including spaces Line 1\0aLine 2 After pressing ENTER you should see Line 1^JLine2 So the backslash is the lead in to the hex value of the character.
-
Studio 5000 (Controllogix) Studio 5000 reading analogue input low and high engineering values
b_carlton replied to mattster's topic in Allen Bradley / Rockwell Automation
The copy of multiple items only works if the items are adjacent to each other in both the source and destination. Check the card documentation as RSLogix 5000 table doesn't always follow the actual sequence from memory. You probably will have to transfer them separately. -
1769-HSC Updated Low and High Limits not changing outputs
b_carlton replied to Rob N.'s topic in Allen Bradley / Rockwell Automation
Generally any change to the Configuration at runtime requires: Write the new value to the Configuration area Suspend counting (.CTRxEN =0) Send a 'Module Reconfig' message to the module Wait for the message to complete Re-enable counting (.CTRxEN = 1) (I don't have the code available to me so I can't send it to you) -
Rslogix 5000 school project help
b_carlton replied to elowan's topic in Allen Bradley / Rockwell Automation
Just a guess but naming a routine "Main Routine" doesn't necessarily make it the primary routine called. Check the settings for the section above (I believe 'task' - I don't have Rslogix 5000 available). -
# and [ ] with COPY commands?
b_carlton replied to JZerb's topic in Allen Bradley / Rockwell Automation
If it is like the SLC then it is the actual index value used by the system during the execution of the 'file type' instruction. With a length of 10 I would expect it to be left at '9' (assuming no other instructions which have the '#' character were executed between this instruction and the end of the scan.) -
DL06 and ECOM100 Networking Using TCP/IP
b_carlton replied to brianroush's topic in Automation Direct
I thought I saw a question if the ECOM100 supported Modbus TCP but I can't find it. It does, both as server and client. The ECOM manual has data and examples in chapter 5. -
Assuming Output - Y0 Rung 1 - Input NO to PD C0 Rung 2 - top parallel branch - NO C0 NC Y0 - bottom parallel branch NC C0 NO Y0 - rest of rung OUT Y0 Let me know if you need a diagram
-
Reading Controllogix DINT in FactoryTalk View Studio
b_carlton replied to mattster's topic in Allen Bradley / Rockwell Automation
Add '.x' to the end of your tag - for example N24[160].0 - to read the bit. Obviously 'x' could be 0 -31 since you are reading a DINT. -
Trying to understand FIFO
b_carlton replied to I_rock_well's topic in Allen Bradley / Rockwell Automation
I just checked into the Ladder Logic implementation of FFL on a Logix 5000 unit. It follows the same method . To keep MyArray[0] as the last loaded information (and target for the next load) you will have to roll your own. You SHOULD have seen for sequential FFL - use different data for each to differentiate - (with no FFU) the data going to MyArray[0] then MyArray[1] then MyArray[2] etc. This would continue until the array is full (.DN bit in the control turns ON). At that point you have to perform at least one FFU before being able to do another FFL. -
Trying to understand FIFO
b_carlton replied to I_rock_well's topic in Allen Bradley / Rockwell Automation
You did not mention which CPU you are using. Looking at the Reference Manual for the Micrologix 1100 FFL instruction I can see that the newest entered data is at one address less than the current 'position' (it points to the next available storage address.) From your description of the operation as you view it it doesn't sound like you are using this CPU as (in the ML1100) the newest value is being stored in incrementally higher addresses. Please state your CPU. -
Write TEXT in SLC 500 and display in HMI
b_carlton replied to Cailong Bao's topic in Allen Bradley / Rockwell Automation
N15 would be a file which can hold many integers, not text. A typical reference would be N15:0. A String (ST) file could hold text. The COPy command can copy multiple predefined strings (ST) into a single location for viewing by the HMI. But, depending on the HMI (please state which type) it might be easier to just move a unique number into the selected N15 location. The HMI could read this unique number and use it to select text pre-defined in the HMI program. -
ST14.1 (as well as ST15.1) are incorrect addresses specifications. Let's see if we can clear this up. ST14 is a file which can hold up to 255 strings. ST14:0 would be the first string in this file. ST14:1 would be the second string in this file. Each string has two sections. First is an integer (16 bits) which holds a count of the number of characters in the string. It has a name of LEN (length). For ST14:0 the length section is addressable as ST14:0.LEN Most external devices which read a string require that this count is correct. It is maintained by the ASCII instructions. It is also updated if characters are placed in the string from the Data File view. Following the length section is a space for up to 82 characters. It has a name of DATA. It is an array 41 long. It is addressed as ST:14.DATA[index] with the index being 0 to 40.These are 41 integers each holding 2 characters. This can sometimes get confusing as the 2 characters within a single 16 bit integer can sometimes be out of the order as expected by your remote device. if you double click on the string file the Data File view window will open. You can manually place characters in a string by clicking just after the LEN heading under the under the 'String Text' area. After entering the character(s) you wish press ENTER and the LEN will be updated. To view this better (since you can't change the radix of viewing in the Data File) create a rung with a MOV command of some value (it doesn't matter what, we won't be executing it) with a destination of ST14:0.DATA[0]. This will address the first integer (or 2 characters) of this string. On accepting the rung you should see shown under the ST14:0.DATA[0] the contents of this first integer. Using Data File window I placed an 'A' in the string. In the MOV command I see A\00 under the address. This indicates that the first integer has an 'A' and a null (\00) in it. It only has one character. If you use the Data File to place 'AB' in the string you see AB under the address. Now let's place 'ABCD' into the string - remember to press ENTER. The length changes to 4. But in the instruction you still only see AB as it is only showing the first integer. If you change the destination of the MOV command to ST14:0.DATA[1] and accept the rung you will see the contents change to CD. The MOV command - used by itself - can update the contents of the DATA area but DOES NOT automatically update the count (LEN). If a given string will be updated with various characters at runtime (using a MOV command) then you must maintain the count. If a given string will always have the same number of characters then don't worry. But it is not recommended to use the MOV command to update the characters. Investigate the COPY command to copy a complete string into another. Also check out the various ASCII commands.
-
In all likelihood your level of RSLogix 5000 does not support FBD. Ladder logic is supported (as far as I know) in all levels. In many cases the other languages are available as an add-on purchase or they are supported in in the highest level versions.
-
Try $24 for the ascii code for the dollar sign.
-
I would suggest following the instructions in the window. Have the file ready for email when you call tech support.
-
This is called indirect addressing. It is available in most Allen Bradley PLCs. Please state precisely which PLC model you are using. Also please supply (as an attachment) an example of the basic logic you want to replicate using different tags.
-
How to compare 2 identical scanned values in Micrologix 1400 PLC
b_carlton replied to asjeetabhi8816's topic in Allen Bradley / Rockwell Automation
It sound like your program is continously copying ST12:1 to ST12:20 so that when you 'reset the scan' ST12:1 is cleard and the cleared string is copied. If you can create a PDF printout of your program or at least this particular section we could look at it. (I only have the 'free' software and it can't operate with a Micrologix 1400 program.) -
How to compare 2 identical scanned values in Micrologix 1400 PLC
b_carlton replied to asjeetabhi8816's topic in Allen Bradley / Rockwell Automation
You can use COP (Copy File) to copy one string to another. Later, as mentioned, you can use the ASR command to compare strings. -
Allen Bradley RSLogix 'starter' and RSLinx 'lite'- FREE
b_carlton replied to geniusintraining's topic in Allen Bradley / Rockwell Automation
Yes, the 'someone' is your local Allen Bradley distributor. Have wallet ready. -
How to compare 2 identical scanned values in Micrologix 1400 PLC
b_carlton replied to asjeetabhi8816's topic in Allen Bradley / Rockwell Automation
If by 'scanned values' you mean strings then use the ASR command. -
Allen Bradley RSLogix 'starter' and RSLinx 'lite'- FREE
b_carlton replied to geniusintraining's topic in Allen Bradley / Rockwell Automation
If you cannot find the 'Actiation Certificate' in your printed information which came with the package then get in touch with the Allen Bradly distributor from which you purchased the software.