83 files

Micrologix 1000 DDE Demo
By Chris Elston
This is a demo of a simple temperature sensing demo that utilizes a Micrologix 1000 PLC and an Analog Devices Inc. AD590 temperature transducer. This demo should help with the understanding of analog inputs on the Micrologix PLC.
8299 downloads
Updated

Dialing a Cell Phone with a Micrologix 1500 using a Modem Attached
By Chris Elston
This wasn’t a normal “job” per say but more like helping our machinist staff from babysitting the Japax Wire EDM machine. For those of you that don’t know a wire EDM can take a long time to make cuts in a part sometimes. There was a part that we made t
4391 downloads
Updated

TRUNCATE IEEE754 FLOAT
By TConnolly
Sometimes is necessary to truncate (remove the fraction) or round a floating point number that is outside the range of 32678 to +32767  making it impossible to use a MOV to an integer to make the conversion.
This is a program I worte that shows how to perform a truncation directly on the floating point number by copyng the 32 bit pattern of the float and then determining which bits of the mantissa to keep and clearing all the rest. It includes three subroutines two of which show two different methods of truncating the float and a third which rounds the float to the nearest whole float.
An understanding of the IEEE754 float format is helpful in understanding how this program works but its not necessary to use it.
1666 downloads
Updated

Solve system whit GaussJordan
This AddOn Instruction Solve the equations System
whit GaussJordan Reduction
In the matrix A [ i , j ] put the System of NEquation.
In the vector b put the solutions
§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§
Example 1: Linear System 3 equation (X,Y,Z)
3 X + 2 Y  Z = 10
 X + Y + Z = 2
2 X  Y + 2 Z = 6
 3   2   1   10 
X  1  + Y  1  + Z  1  =  2 
 2   1   2   6 
Matrix A :=
Matrix[1,1]= 3 ; Matrix[1,2]= 2 ; Matrix[1,3]= 1
Matrix[2,1]= 1 ; Matrix[2,2]= 1 ; Matrix[2,3]= 2
Matrix[3,1]= 2 ; Matrix[3,2]= 1 ; Matrix[3,3]= 6
Vector b:=
Vector[1] =10 ; Vector[2] = 2 ; Vector[3] = 6 ;
Solution :=
Solution [1] := 1.0 ; Solution [2] := 2.0 ; Solution [3] := 3.0 ;
X = 1 ; Y = 2 ; Z = 3
§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§
Example 2: Linear System 5 equation for resolve Polynomial 4th grade
exampl. Polynomial whit 5 points:
P0(1,1) ;
P1( 1, 3) ;
P2( 5, 3.5) ;
P3( 6, 4.5) ;
P4( 7, 7) ;
Write in the Matrix A [ i, j ]
Matrix A :=
Matrix[1,1]= (1)^4 ; Matrix[1,2]= (1)^3 ; Matrix[1,3]= (1)^2 ; Matrix[1,4]= (1) ; Matrix[1,5]=1;
Matrix[2,1]= (1)^4 ; Matrix[2,2]= (1)^3 ; Matrix[2,3]= (1)^2 ; Matrix[2,4]= (1) ; Matrix[2,5]=1;
Matrix[3,1]= (5)^4 ; Matrix[3,2]= (5)^3 ; Matrix[3,3]= (5)^2 ; Matrix[3,4]= (5) ; Matrix[3,5]=1;
Matrix[4,1]= (6)^4 ; Matrix[4,2]= (6)^3 ; Matrix[4,3]= (6)^2 ; Matrix[4,4]= (6) ; Matrix[4,5]=1;
Matrix[5,1]= (7)^4 ; Matrix[5,2]= (7)^3 ; Matrix[5,3]= (7)^2 ; Matrix[5,4]= (7) ; Matrix[5,5]=1;
Write in the Vector [ ]
Vector b:=
Vector[1] = 1 ; Vector[2] = 3 ; Vector[3] = 3.5 ; Vector[4] = 4.5 ; Vector[5] = 7
Solutions :=
Solution [1] := 3.27380234e003 ; Solution [2] := 0.03363105;
Solution [3] := 0.56577414 ; Solution [4] := 1.966369 ;
Solution [5] := 1.5625005
§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§
Example 3: Linear System 6 equation for resolve Polynomial 5th grade
example. Mototion Interpolation whit Polynomial
whit 2 Points :
P0 (Time0, Position 0) Start point whit (Velocity 0, Acceleration 0)
P1 (Time1, Position 1) End point whit (Velocity 1, Acceleration 1)
Write in the Matrix A [ i, j ]
Matrix A :=
X0 = time0 ; X1 = time1
Row1 X0 ^5 + X0 ^4 + X0 ^3 + X0 ^2 + X0 + 1 (Position P0)
Row2 5 * X0 ^4 + 4 * X0 ^3 + 3 * X0 ^2 + 2 * X0 + 1 + 0 (Velocity P0)
Row3 20 * X0 ^3 + 12 * X0 ^2 + 6 * X0 + 2 + 0 + 0 (Acceleration P0)
Row4 X1 ^5 + X1 ^4 + X1 ^3 + X1 ^2 + X1 + 1 (Position P1)
Row5 5 * X1 ^4 + 4 * X1 ^3 + 3 * X1 ^2 + 2 * X1 + 1 + 0 (Velocity P1)
Row6 20 * X1 ^3 + 12 * X1 ^2 + 6 * X1 + 2 + 0 + 0 (Acceleration P1)
Vector b:=
Vector[1] = Position P0 ; Vector[2] = Velocity P0 ; Vector[3] = Acceleration P0 ;
Vector[4] = Position P1 ; Vector[5] = Velocity P1 ; Vector[6] = Acceleration P1 ;
Interpolation Polynomial Position :=
Position := s1* t^5 + s2* t^4 +s3* t^3 + s4* t^2 + s5* t + s6;
2082 downloads
Submitted

Complex numbers for AllenBradley
to apply the mathematics of complex numbers,<BR closure_uid_n926ba="1383" Pc="null">also on plc.<BR closure_uid_n926ba="1384" Pc="null">I send you some AddOn Instructions for dealing with complex numbers
this for RsLogix5000 and Siemens S7
1415 downloads
Updated

RND LINEAR CONGRUENTIAL GENERATOR Casual Numbers
A Linear Congruential Generator (LCG)
Represents one of the oldest and bestknown pseudorandom number generator algorithms.
1352 downloads
Updated

Real to Fraction
AddOn Instruction Float to Fraction FTF
this AddOn convert a real to Fraction.
Add Documentation inside the file.
Good work.
1727 downloads
Updated

Micrologix basic blocks
By chantecler
This is a small compilation of basic multivibrators, timers, counters and a couple more digital circuits for very beginners.
2056 downloads
Updated

Indirect Addressing  Pallet Tracking Brick Yard 500
By Chris Elston
UPDATED! This is a classic example of how to use indirect addressing to your advantage. (Instead of bar code readers). I used Baumer Electric 6 prox pack (see part number in BOM) to read metal studs on a pallet that are spec\'d in such a way
5339 downloads
Updated

Toggle Bit
By Chris Elston
Want to have a bit that are low in 0.5 seconds ond high in 0.5 seconds and this in only two rungs. This is for verison 10 of RsLogix 5000 but if you don't have that version here it is. Make one timer named Timer Make one bit named Toggle. RUNG 0 
2745 downloads
Updated

Updated

Toggle Bit
By Chris Elston
Want to have a bit that are low in 0.5 seconds ond high in 0.5 seconds and this in only two rungs. This is for verison 10 of RsLogix 5000 but if you don't have that version here it is. Make one timer named Timer Make one bit named Toggle. RUNG 0 
2631 downloads
Updated

Save
By Chris Elston
Saving x number of Timers or Data in four rungs. Example uses 12 Timers saved in N7. Then Move values from the N7's to the T4 Preset. The N7 values being moved into the T4 Preset can be different from were the T4 values were moved into. Not valid for
1380 downloads
Updated

Save Version 2.0
By Chris Elston
Same as the Save below but with Comments on all Rungs. Save Timer Program using Indirect Addressing in 4 Rungs.
1807 downloads
Updated

FFL AND FFU
By Chris Elston
THIS EXAMPLE FFL AND FFU COULD BE USED TO REGISTER SOME EVENTS IN INTEGER FILE. IN MY PROGRAM SHOWS ME ON TOUCH SCREEN WHAT TIME DAY AND MONTH WAS MOVEMENT ON MY DRIVEWAY .IN THIS CASE CAN STORE UP TO 38 MOVEMENTS. THROUGH VIEW PANEL RSView32 OR OTHERS
3273 downloads
Updated

ONE BUTTON MOMENTARY
By Chris Elston
RSS FILE SHOWS EXAMPLE RUNG HOW TO CONTROL TWO MOMENTARY OUTPUTS BY ONE MOMENTARY INPUT. PRESS PUSH BUTTON OR ENERGIZE MOMENTARY BIT FROM TOUCH SCREEN RSView32 OR PANEL VIEW TO MOMENTARY ENERGIZE OUTPUT #1 THEN PRESS AGAIN TO MOMENTARY ENERGIZE OUTPUT
3518 downloads
Updated

HOME CONTROL BY PLC
By Chris Elston
THIS PROGRAM IS RUNING IN MY HOME. I HAVE SLC5/04 24K Mem OS400 AND TOUCH SCREEN TOTAL CONTROL 10 1/2" COLOR. IT CONTROLS SPRINKLERS POOL PUMP LIGHTS WINDOWS BLINDS DOOR LOCKS......
13474 downloads
Updated

New Sequencer w/Bit Shift for Tracking
By Chris Elston
I decided to go off in the deep end and try some new logic using a dedicated bit files for each of my automation "heads" which I preset the bit conditions for each sequence. Then using a counter and Mask Move statements I shuttled the sequence
4143 downloads
Updated

RAMP Function Example Logic
By Chris Elston
This is a sample clipped from a bigger program. This example uses a RAMP function to control an analog card 05V signal to a MicroMo DC controller. What the RAMP function does in this example is very useful to control an ACCEL or DEACCEL value to your an
5662 downloads
Updated

Photoeye Make and Break Logic
By Chris Elston
Zip file contains RSS file and PDF file for those that do not have RS Logix 5.x version. Shows an example how to write logic to verify that your photoeye sensor saw the part and the part did move away from the sensor. Useful to verify problems such as s
4780 downloads
Updated

Basic One Button Toggle 1.0
By Chris Elston
Zip file contains RSS file and PDF file for those that do not have RS Logix 4.x version. This shows a simple example of how to use one button or one input from a panel view to toggle an output "on" maintained and then press the button again to
6794 downloads
Updated

3 Phase Motor Startup Logic
By Chris Elston
Zip file contains RSS file and PDF file for those that do not have RS Logix 4.x version. Ever have a bunch of 3 phase motors and wanted to start them up one at a time so you don't dim the lights in the building? Check this sample out. Also shows some
20035 downloads
Updated

DayofWeek Calculation for SLC 1.0
By Chris Elston
This program was written for an SLC5/03 processor. It was designed to display date time and dayofweek to a Panelview 550. It uses the 5/03's internal clock for the time and date and then calculates the dayofweek. Newer revisions of the 5/03 ca
2587 downloads
Updated

PicknPlace Sequencer
By Chris Elston
This sample program will operate a pick and place machine in manual or auto and includes forward and reverse stepping. Feel free to coment as Feedback=Learning
6113 downloads
Updated

Complete Index Table  PDF Version
By Chris Elston
Same as "Complete Index Table" Only this is the PDF version for those people that do not have RS LOGIX 4.10 or any RS Logix version at all. "The PLC shows examples of bit shift to track parts on the index table."
8837 downloads
Updated