Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ken

Pages: [1] 2
1
Technical support / PID Tuning
« on: March 08, 2002, 01:47:10 PM »
Does anyone know of a good literature reference on the web or otherwise for tuning PID.
Thanks,
Ken
 ::)

2
Technical support / lowest value produced by pulsefrequency
« on: March 14, 2002, 01:36:03 PM »
What is the lowest possible value that can be generated by pulsefrequency.  If it is one, and a person needs slower signal representation, I assume you would have to use a highspeed counter?

Thanks,
Ken :-/

3
Technical support / Pulsewidth and Pulseperiod
« on: March 15, 2002, 07:51:13 AM »
What is the difference between pulsewidth and pulseperiod.  I think that pulsewidth measures how much time lapses from one signal to the next but what does pulseperiod measure?
Thanks,
Ken

4
Technical support / Autocad block drawings
« on: April 03, 2002, 01:38:08 PM »
Hello,
Does anyone have autocad drawings of the T100MD1616 and the EXP 4040?  I do not want detailed drawings, just some block drawings showing mount locations board size and overall component thickness, etc.  I am designing an enclosure and would like the drawings to help expedite this task.

Thanks,
Ken
 :-/

5
Technical support / Re: no floating point challenge
« on: April 30, 2002, 12:45:49 PM »
I understand the math to convert but am a little confused on what you said about the way pulsewidth works.  In order to clarify it a little I have some questions.  Pulsewidth is based soley upon ON time with no regard for off time?  Secondly, does it matter if the gap between the teeth is greater than the tooth width?

Thanks,
Ken

6
Technical support / Floating Point Math available soon?
« on: June 26, 2002, 11:04:40 AM »
Rumor has it that floating point math will be available for the MD series soon.  Is it something that will be built into a newer version of TRI logic?  Will there be any additional cost to make those of us who have older equipment / software?  Just curious.

Thanks,

Ken Talley

7
Technical support / need to slow input or recognition speed on 100md+
« on: September 27, 2002, 11:25:24 AM »
I am using the following custom function once upon startup to set some values.  My problem is that I want to increment the values one at a time or at least slow it down so that I can reach a specific integer.  The inputs are switches, and the plc is scanning so fast that I cant increment as slow as required.

Thanks in advance,
Ken


DM [50] = 1


SETLCD 0,1,CHR$(1)
SETLCD 1,1,"GPM CALIBRATE"

@10 REFRESH
IF TESTIO (SelectUp) = 1
DM[111] = DM[111] + 1
ENDIF
IF TESTIO (SelectDn) = 1
DM[111] = DM[111] - 1
ENDIF
SETLCD 2,1,STR$(DM[111],4)
IF TESTIO (Select) = 1
DM[50] = DM[50] + 1

ENDIF

IF DM[50] = 1
GOTO @10
ENDIF


SETLCD 0,1,CHR$(1)
SETLCD 1,1,"FPM CALIBRATE"

@20 REFRESH
IF TESTIO (SelectUp) = 1
DM[110] = DM[110] + 1
ENDIF
IF TESTIO (SelectDn) = 1
DM[110] = DM[110] - 1
ENDIF
SETLCD 2,1,STR$(DM[110],4)
REFRESH
IF TESTIO (Select) = 1
DM[50] = DM[50] + 1
ENDIF



IF DM[50] = 2
GOTO @20
ENDIF


@30 REFRESH
IF TESTIO (Selectup) = 1
TOGGLEIO FPM300
ENDIF
IF TESTIO (FPM300) = 1
DM [106] = 300
SETLCD 2,1,"FPM300"
ELSE
SETLCD 2,1,"AUTO  "
ENDIF
REFRESH
IF TESTIO (Select) = 1
DM[50] = DM[50] + 1
ENDIF

IF DM[50] = 3
GOTO @30
ENDIF

8
Technical support / power on when no supply power
« on: September 30, 2002, 11:42:47 AM »
My situation is this.  When there is no power to the plc but I do have loads connected to terminals 1-8 which are of course hot the plc acts irratic yet does clear up when power is connected to the plc.  My concern is that it closes the ciruit under a no power situation as the loads mentioned are powered independently.  Is this normal?

Thanks,
Ken

9
Technical support / Loss of network connection and trilogi freezing
« on: October 29, 2002, 08:38:31 AM »
Hello,

I have been working on a project now for roughly a year using two 100md+'s in a master slave configuration.  When online monitoring or transferring a new program to the master plc I will frequently, (once every 7-10 times when transferring, and everytime when online monitoring if left long enough) encounter "loss of network connection" or the trilogi software will freeze.  I am connected to the master plc via the supplied DB9 cable.  My laptop is running Windows 2000.  Additionally it seems that sometimes the PLC has not recieved the last program update sent unless it is sent twice?  I sometimes must send new code to the plc 20 time a day debugging the program.  What am I doing wrong?

Thanks,
Ken

10
Technical support / Re: Robot control
« on: December 05, 2002, 07:07:55 AM »
Below is the code that I actually used for my application.  DM[102] is the setpoint or desired gallons per minute.  D is the actual gallons per minute.  819 scales the value.  I had to divide by 100 to scale result down.  V is the actual DAC value which is sent out to a slave.  The if statement is so that I do not develope an error when I am asking for no flow.


IF DM[102] > 0
E = (DM[102]-D)*819
A = PIDcompute(1,E)/100
V = A + 204800
ENDIF

Hope this helps.

Ken Talley

11
Technical support / Re: READING A COUNTER
« on: January 10, 2003, 11:14:17 AM »
One problem that I see is that you are telling your LCD to do two things in the same place.  Example:  setlcd 1,10,"   " and then 3 lines down you say setlcd 1,1,str$DM(103).  If these are in the same custom function then the only thing that will display is the last command
The other thing that I see as a problem is that you are using I$ as your register for 3 different DM's.  By doing that you make it very hard to find your problem because you are unable to tell which command line is developing the value of I$.
Your use of RETURN would produce a termination and no update to display of connection was lost to slave.  Is that what you are trying to do?  I may be wrong....  

12
Technical support / current or voltage sensing relay circuit
« on: January 13, 2003, 07:11:23 AM »
Hello everyone,

Has anbody ever had to assemble a current or voltage sensing relay.  My situation in which I require it is as such.  I have a master slave configuration wired together using a four conductor cable.  Two of the wires are for RS 485 communication and the other two are power from the vicinity of the slave feeding the master.  The current is currently switched on the hot side of the master PLC.  In other words +12VDC from the area of the slave enter the comm/power cable and connect to a SPST switch then to the PLC and the ground or 0VDC is fed back to the vicinity of the slave via 1 of the remaining 3 conductors in the cable.  What I need to do is sense this current and drive a relay that powers the slave.  I hope this makes sense, if anyone can help me out it would be greatly appreciated.  

Thanks,
Ken Talley

13
Technical support / Re: DAC
« on: February 18, 2003, 01:53:35 PM »
Did you try trimming the circuit with the pot located upper left of the processor?

14
Technical support / Re: Ramps for analog out
« on: February 26, 2003, 08:41:00 AM »
Depending upon how many increments you want in your ramp over a one second period would be of importance.  Say you wanted to ramp from 0 to 100% of whatever the value you want is you would first scale your output by 100 or 1000 as to work around the floating point issue.  Then lets say you want to increment in tenths of a second, then all you would do is set a clock pulse of 0.1 s and add 10% of the desired value until you reach the high value.  In order to avoid a runaway situation use an if then statement to check if current value = high value and if so then dont run the ramp up sequence.  Hope this makes sense.  If you need some more clarification let me know.


15
Technical support / Re: Non-Voltile Mem and the T100MD
« on: February 28, 2003, 06:22:17 AM »
Dan,

I am pretty sure that unless you periodically write to the EEProm the only way the values will be saved is with the Mx-RTC.


Pages: [1] 2