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 - corley

Pages: [1]
1
Technical support / Re:Compiler error ?
« on: March 10, 2004, 07:23:21 AM »
I have seen a strange thing.. at least it seems strange to me being a native VB/QBasic programmer.. but I've noticed the you cannot include the THEN syntax in the IF THEN statement when using integer values. For example.. I have to use the following:

IF A<B
   [...code]
ENDIF

however if using strings I use this:

IF STRCMP(A$, "SOME_STRING")=0 THEN
    [...code]
ENDIF

If I try to include 'THEN' after integer constants or variables I get a syntax error. Maybe you can work with that and see.


This is different when using
When compiling a special function with lots of nested IF THEN ELSEs, I get "Unknown keyword" error that shows up a variable. I delete most of the function, it compiles, I paste the code back, it compiles, then I go to transfer the program to the PLC and it bombs on the compile with "unknown keyword". Any suggestions ?

2
Technical support / Re:Trilogi under Linux
« on: March 10, 2004, 07:06:37 AM »
oh ya i see. I missed the point there.  ;)

I certainly agree that PHP would serve as a great HMI for interacting with a TriPLC application but the original poster was trying to run Trilogi under Linux.  Implementing everything Trilogi does (compilation, debugging, monitoring, emulation) would be impractical (if not impossible) to do in PHP.



3
Technical support / Re:Serial to Ethernet
« on: March 08, 2004, 09:43:52 PM »
Thats great news. I also would love to see an ethernet port built in with it's own tcp-ip stack.. maybe even a built in ftp server, mail server and webserver. Would require slightly more memory but 8 megs should be pretty sufficient to do all this and sitll have plenty of user room available. :)

PLC with onboard Ethernet will be developed in future but will not be ready any time soon. We are adding an Ethernet adapter to the current M-series to facilitate them to be connected to the TCP/IP network without the need to depend on the PC.  The experience and user feedback gained from the Ethernet server will be useful for designing the next generation of PLCs with built-in Ethernet.

4
Technical support / Re:DTMF control
« on: March 08, 2004, 09:38:25 PM »
I have used another product made by key telemetering. Their alarm product can do what you mentioned. It also interfaces quite nicely with Trilogi stuff.. according to Brent (key) who's posted in this forum.  You may give them a call.. I bet he can help you out.

I'd like to control  my PLC using DTMF tones from my mobile phone to a land line near the PLC . Do you or any other users have any tips as to how this could be done.

5
Technical support / Re:program memory
« on: March 08, 2004, 09:34:24 PM »
Would this upgrade also give more string and/or data variables to work with?

There is an optional EEPROM module M2018P which expand programmer memory of up to 8190 words. That is the maximum  program memory the M-series PLC can have. M2018P main purpose is to add data memory (7700 words) to the PLC for data acquisition purpose. Contact sales@tri-plc.com for purchase details.

6
Technical support / Re:Trilogi under Linux
« on: March 08, 2004, 09:32:26 PM »
Although I would agree with you to see the source code opened..

No one said anyting about replacing java. It has it's place.. but as far as interfacing, and providing user i/o, data collection, enterprise data sharing etc.. php works quite nicely.

PHP is for website development.  I can't imagine how it could be used to replace Java in an application as complex as Trilogi.

How about opening the source code, Triangle?   8)

After all, your bread and butter is the hardware.  And your customers would be provided with an opportunity to try to get in running in Linux (or wherever else they wanted).

7
Technical support / Re:Using the PLC to control a bus...
« on: March 08, 2004, 09:23:53 PM »
This is exactly the type of thing I am doing ;) Ya.. I love the plc it's got some nice features. I think it will do just about anything you need.

Well I'll give you my opinion I purchased a T100MD888 to teach myself more about PLC's. I found this PLC to be just a VERY powerful for the price. The best part for me is the Custom Function very very powerful. I plan on my PLC controlling my Air-conditioning system Via room sensors and my hot water boiler Via outdoor air reset. In short the Ladder + Basic make this a very POWERFULL PLC. Thats just my opinion

8
Technical support / Re:Compatible RTD temp probes
« on: March 08, 2004, 09:21:16 PM »
I'm assuming by voltage divider you mean equation right?

Do you know if this sensor would output the full range of 0 to 5vdc? I've tried an ic type sensor before, unfortunately for me the range was 243 to 373 only. With a resistor in the circuit to convert it to 2.43 to 3.73 vdc the range was not good enough to get closer than 6-10 degrees. Also the reaction time was horrible.  I'd like to see your notes and also hear your findings on how accurate this setup was for you. The mit website, I had actually seen this too. I think they say it's accurate withing +/- 3?C which is probably ok if the reaction time isn't too slow. What did you find with that part?

Thanks alot for your help!

http://web.mit.edu/rec/www/workshop/lm335.html   This website provided some good info including a wiring diagram. The only thing you need is a voltage divider. I need to find my notes on this but i believe the equation to read the Analog input was......
                                     
  Temp=(ADC(1)-2236)*(500)/4096     for 12bit
 
The Analog inputs are 10 bit normalized to 12 bit ....The 10 bit formula would be........................

 Temp=(ADC(1)-559)*(500)/1024      for 10bit

The LM335 puts out 10mv/DEG. K   (273 Deg K) =( 0 Deg C) =( 2.73v )=(2236 converter count @ 12 bit)...... You may have to tinker with this but i believe this is how i did it. Keep in mind that the LM335 outputs Deg.Kelvin They also make a LM35 that outputs Deg.C @10mv. Ive yet to pick one up. Plus the 5 Volts from the PLC is perfect for these IC sensors.


9
Technical support / Re:Compatible RTD temp probes
« on: March 05, 2004, 11:35:43 PM »
Thanks for the reply.. I've not played with that one yet.. but I found some information today on the web about it.. Although I still wasn't sure if it would work. Were you able to directly connect this sensor without any signal conditioning, etc.?

Have you looked into an IC sensor. I have played around with the LM335 and had some good results.

10
Technical support / Re:Compatible RTD temp probes
« on: March 05, 2004, 11:34:07 PM »
Thanks alot Orlando.. I think this would be ok solution... although I'd love to see a standard sensor without a transmitor work directly with this plc.  I'm going to play around and create an opAmp and see how it turns out too.

Please check out our analog modules. We have a board ETRTD which accepts 4 RTD Pt1000. It provides 0-5VDC analog output voltages which can be directly connect to the AD port of the T100.
More info in www.lt-automation.com


11
General Discussions / Re:I know this is possible but...
« on: March 05, 2004, 09:41:38 AM »
hi, can you be a little more clear about your project? What's it going to do? What are you trying to control.. is it ph levels in a tank such as chemical treatment or something like you say you have done in the past?

12
General Discussions / Re:HELP!!!
« on: March 05, 2004, 09:39:01 AM »
well.. if you can't replace the pushbutton with a 3-pos toggle then I would suggest writting some code to count the number of presses.. sorta a morse code for the PLC to know what to do. Of course this can be a pain do to scan times, etc... missing scans or pushes so you would need some kinda feedback such as an LED to let you know that the plc has indeed counted the 'push' of the button.

1 push = auto
2 pushes = on
3 pushes = off

simple

13
Technical support / Re:Recommend a Scada package
« on: March 05, 2004, 09:18:20 AM »
I think if you know anything at all about VB then you should try it for your need. There are tons of low cost controls that you can get for it that will provide for some nice control interface. Our company is almost complete on a control to provide access to the M series controllers via VB.

Can you recommend a simple/inexpensive scada/software package that would allow animated graphics to be created of the plant controlled by one of your PLC's with control buttons, and possibly viewed/controlled remotely by clients on the company network.

14
Technical support / Re:Trilogi under Linux
« on: March 05, 2004, 07:37:31 AM »
We are doing quite a bit of development using php under Linux. Have you checked that? PHP is an excellent development environment and you should be able to do almost everything you need with it.

-Cor

Has anyone out there been able to get Trilogi to work (properly) under Linux? ?I am running RedHat Linux 9 on my home computer and would like to be able to use Trilogi without having to reboot into Windows 98. ?This is a java based program, so shouldn't it be able to run on different platforms? ?I was able to get the program running, but when I try to edit a label, the window it opens goes crazy like it is constantly trying to resize itself. ?If anyone can help me with this, it would be greatly appreciated. ? ???

15
Technical support / Compatible RTD temp probes
« on: March 01, 2004, 09:38:57 AM »
I'm needing some help finding an RTD, ICTD, thermocouple or whatever that works well with the TMD-100. I've tried using a 10k thermistor but the voltage return range was only 2.48 to 3.78 vdc. This is not a good enough range to provide me with an accurate temperature reading. It appears to use these types of sensors that I would need a transmittor or amplifier. I don't want to spend that much money tho. Has anyone here found a temperature probe that works well that doesn't require these things to work?

Pages: [1]