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

Pages: [1] 2 3
1
Technical support / Re:Trilogi under Linux?
« on: July 21, 2008, 02:17:07 AM »
Finally got around to trying Trilogi using wine.  (whine)

It seems to be working, with a few bugs.

I had to copy msvbvm.dll in the .wine windows/system32 directory - free download through web search.

I haven't actually connected it to a PLC to see if it will communicate, but have faith that it will work.  Minor tweaking required I'm sure.

Also, I have to have TLServer running.  The (local) file commands do not work.  The TLServer file commands are working fine.

Fedora 9 - Sulphur with Wine -1.0

If anyone gets more, please post or send me a message

Thanks,
Sean

2
Technical support / Re:Trilogi under Linux?
« on: February 29, 2008, 10:18:10 PM »
Did you install Trilogi using wine?  I plan on trying to use Fedora-Moonshine to run trilogi but haven't had the time to try it yet.  I'm interested in your results and will post mine here too.

Sean

3
Technical support / Re:Cut and paste
« on: July 27, 2007, 01:22:21 AM »
Rename the file.  Just a suggestion.

4
Technical support / Re:8 VOLT PWM SIGNAL
« on: May 08, 2007, 07:38:51 AM »
Another alternative is to use a high speed switching transistor.

8volt signal through a 500KOhm resistor into the base.  Collector tied into the PLC input. The emitter tied into ground.

Works like a charm.

5
Technical support / Re:serial communication problem
« on: April 13, 2007, 08:09:38 PM »
I was having a smiliar problem with my Maple systems OIT.  I found that setting the comm port to the specific protocol, that the problem went away.

Setprotocol 1, 1 in my case.  Hope this helps.

Dogface

6
Technical support / Re:convert decimal to binary
« on: March 22, 2007, 11:11:36 PM »
sorry made a mistake there:


a$=""
y=128 'using 128 you can convert any decimal number < 256 to binary
for z=1 to 8
if x-y>-1 then a$=a$+"1":x=x-y
else a$=a$+"0"
endif
y=y/2
next

7
Technical support / Re:convert decimal to binary
« on: March 22, 2007, 11:08:56 PM »
That was fun!

try this:
'x=number to convert to binary
'a$=binary number in string format

'To convert a decimal number to binary, first subtract the largest possible power of two.
'Keep subtracting the next largest possible power from the remainder, marking 1s in each column
'where this is possible and 0s where it is not.

'add statements for each power of two until you have covered the maximum size number you need to convert

a$=""
y=128 'using 128 you can convert any whole decimal number < 256 to binary
for z=1 to 8
if x>-1 then a$=a$+"1":x=x-y
else a$=a$+"0"
endif
y=y/2
next

Hope this helps
Dogface

8
Technical support / Re:pulsefrequency
« on: March 01, 2007, 01:28:16 AM »
I finally found time to re-evaluate this issue.  Turns out that the cable between the PLC and the NPN Prox Sensor (approx. 40') was/is picking up noise caused by my Frequency Drive.  A simple 1 microfarad capacitor, between the signal and ground, located at a terminal strip near the PLC has proven to be sufficient filter.

Thanks for the help.

Dogface

9
Technical support / Modbus RTU
« on: February 14, 2007, 04:39:28 AM »
This may be a rookie question.....
I have a Frequency Inverter that I'm trying to control using Modbus RTU.  The Control Functions of the drive use function 06.  I may be wrong, but it looks as if I can only use Writemodbus for functions 03/04?  Setsystem 6,6?

I'm lost without Writemodbus.

Thanks,
Dogface

10
Technical support / Re:pulsefrequency
« on: January 19, 2007, 11:41:28 PM »
Thanks for the help.  It turns out that the distance from the sensor to the PLC is the problem.  Or more correctly, either the impedance or capacitance of the wire between the sensor and the plc is not correct.  
I've set it up so that the sensor triggers a relay which activates the input.  I'll just have to change the relay every 4 months or so.

Thanks again,
Sean

11
Technical support / Re:pulsefrequency
« on: January 17, 2007, 06:37:03 AM »
Right you are!  The input is registering many pulses when the circuit closes.
I know that this is Tech Support for the PLC and not really meant as a forum for Electronics 101, but if someone could tell me what I've done wrong.....

Thanks,
Sean

12
Technical support / pulsefrequency
« on: January 15, 2007, 05:59:40 AM »
I think I'm missing something.  I'm trying to display the speed of a slow moving drum using pulsefrequency but am getting very strange results.  By strange, I mean unuseable.
T100MD24
pmon 1 in 1st scan.
npn proximity sensor connected to input 3.

The sensor is picking up the teeth on a gear which has 39 teeth and ranges from 1 to 15 RPM.

The results I get from pulse frequency go from 500 to 1600...I would be expecting something closer to 1 at slow speed and as high as 585 at maximum speed.

Any ideas?  Pulse width and Pulse period are equally unstable.

Thanks,
Sean

13
Technical support / Re:PID parameters
« on: December 13, 2006, 08:38:37 PM »
Check this out.

http://www.learncontrol.com/pid/

There is a tutorial on PID controls which is very in depth and a short version if you are already versed in PID functions.

Happy coding!

Dogface

14
Opinions & Feedback / Love my PLC's
« on: November 26, 2006, 09:51:24 PM »
Great PLC's!  A rookie like me .... well, even I can program them!  Thanks for a super product with some of the best support I've ever seen!

Nice new look, feel, and responsiveness on the website too!

Thanks,
Sean

15
Technical support / Re:Increment / Decrement a variable
« on: October 28, 2006, 11:38:41 PM »
I think I see the problem.  Try initiating the variable A=72 one time at the beginning of the program in a separate custom function.  Make sure that the custom function that makes the adjustment is a differentiated function, and you should have no problem.  Right now A is reset to 72 every time your function is called.

Hope this helps.
Dogface

Pages: [1] 2 3