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

Pages: 1 [2]
16
Technical support / TBasic Formatting
« on: May 04, 2004, 12:05:53 PM »
I wrote a bunch of custom functions using the tab key to indent the code so the program was easy to follow.

Kind of like this....

  if testio(no_weld) and testio(no_pick) then
        setlcd 1,1,"WELD & PICK BYPASSED"
        else
                if testio(no_weld) then
                setlcd 1,1,"  WELDER BYPASSED  "
                else
                        if testio(no_pick) then
                        setlcd 1,1,"  PICKER BYPASSED  "
                        else
                                setlcd 1,1,"   RING WELD-BOT   "

                        endif
                endif
        endif

It looked great on the screen, but the printout only displayed square boxes for each tab. This made it even harder to follow on the printout.

So I had to replace all of my tabs with spaces so the printout could be followed by those lesser experienced can tell me how to program...lol :)

So is it me or is it the software?

WinXP printing to a HP Laserjet 8000 via lan.

17
Technical support / Re:convert hsc value to a decimal value on hmi
« on: May 04, 2004, 11:41:20 AM »
Maybe you would want to try something overly complicated like I did below.... lol :)

setlcd 4,1,"     "+mid$(str$(gettimersv(4)),1,len(str$(gettimersv(4)))-1)+"."+mid$(str$(gettimersv(4)),len(str$(gettimersv(4))),1)+" seconds    "

It will automatically adjust and display the value as a decimal number.

In my case, one decimal point.

In my example above replace the GETTIMERSV(4) after the STR$ in each of the LEN portions with your calculation for flow or however your set your varibale F.

Looking quickly at your code, you display the variable then add a decimal and then add the 100's.

Will it not be displaying the number twice in a sense? What if the interger variable = 148, would it not display 148.8 or something along those lines?

Anybody, any comments?

18
Technical support / Re:Arguments to custom functions
« on: May 04, 2004, 11:23:13 AM »
It would be nice to have the old TRACE feature.

Remember those old BASIC days....lol

19
Frequently Asked Questions / Re:RS232 to USB port adaptor
« on: May 04, 2004, 11:21:24 AM »
I use this older converter,

http://support.dlink.com/products/view.asp?productid=DSB%2DS25

on my WinXP Pro Laptop.

Did not have any problems when talking to the ...888+ PLC.

At first I forgot to change the TLSERVER com port setup, since this converter comes up as COM 8 under windows, and not as a more common COM 2. Once I changed the setup, no problem.

20
Technical support / Can the Manuals be Downloaded?
« on: April 20, 2004, 08:09:51 PM »
I am currently on the road near Omaha and the 2 manuals are sitting in my suitcase. Another engineer back at the office in Chicago needs to use them to modify some code.

Do you have the manuals available in .pdf or other format for download so he can get them ASAP? (Oh maybe they are on the install disk, just thought of this)

Do you wonder why are they in my suitcase? It is because this is the coolest PLC around!!!! When in Connecticut I was writing software and uploading from the hotel to the new machine in Chicago.

I was wireless using the laptop during lunch in Detroit testing and monitoring. So the manuals sit in my suitcas for reference! ha ha

21
Technical support / Re:I/O numbering question
« on: March 20, 2004, 01:41:42 PM »
Thanks

22
Technical support / Re:Serial to Ethernet
« on: March 19, 2004, 10:37:31 PM »
Speaking of Lantronix checkout their X-PORT product.

If you you do not want to do the minimal glue electronics, order 2 development boards (The boards are well done, compact, and very friendly). You can have point to point serial over ethernet using two boards with them simply setup in serial modem mode. One on the PLC taking serial and passing directly to ethernet (IP based), the other board converting the ethernet back to serial at the other end either on your PC or another PLC.

Or use one board on the PLC and use an utility they give for free that converts your ethernet traffic from the xport to serial type traffic on the PC end to look like it is actually coming in on a com port (virtual port). Great for com port based software like tlserver.

I have not tried it, but I believe it should work!

The X-PORT also has three discrete IO lines, which you could tie to the PLC IO. Since the X-PORT can send email, imagine just flipping an output on the PLC to send an alarm via email.

The X-PORT also has many other features, which might enable you to built a mini web based scada front end for your PLC.



Tim,
If you are looking for an Ethernet to serial converter look into:

http://www.lantronix.com/index.html

Their UDS-10 device server is around $75 and I have used it very successfully with TL server and the T100MD series PLC's

23
Technical support / I/O numbering question
« on: March 19, 2004, 10:16:38 PM »
I finally have a job where I can use one of your plcs. Been wanting to use one for more then an year now.

Anyway I have the MD888 plc and a 16r expander.

I thought the IO on the expander would start at number 9, but it starts at 17. I would expect that if I used the MD16 product.

Am I missing a jumper or something to make my IO numbering follow the MD888, or am I stuck with a hole from 9-16?

I am also going to add the HMI to the end of the expansion board, what numbers can I expect for those buttons?

24
Opinions & Feedback / Re:Product suggestion
« on: March 19, 2004, 10:07:00 PM »
I have been trying to use one of these plc's in a project for more then a year. Well I finally had a customer who agreed to let me try one. So this is my first experience with your product, and I have to agree with Joel. Those connectors real suck big time.

Not only getting them off is hard, but putting them back on securely on a board sitting on standoffs worries me. I heard some major creaking noises coming from that board while putting them back on. I have a feeling that this could easily lead to a cracked board.

My designs are always a full panel where all I/O are brought to terminal blocks whether used or not, just incase of future changes. I am glad I did it with this job. If I had to remove those connectors more then a couple of times, I feel I would have a broken PLC on my hands.

I also noticed that you cannot tighten the screws too much or the connectors distort horribly.

JC

One thing that I don't like about the T100MD888+ I've been working with this week is the style of connector used for the I/O. ?The main problem is that they are very difficult to pull off -- especially once the board is mounted inside a cabinet and there's no place to fit a screwdriver to pry up the connector.

I seriously worry that I'm going to damage the board -- either the header pins or else a nearby component.

I suppose Phoenix connectors are pricey options but there has to be something better than what's on there now that is still somewhat affordable.

Anyway, just a thought.

Pages: 1 [2]