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 - Joel Moore

Pages: 1 2 3 [4] 5 6 ... 9
46
Technical support / Is NETCMD$ "atomic"?
« on: April 13, 2006, 04:40:05 AM »
If I call NETCMD$ on the same port from multiple locations in my program, will this cause problems?  Does one NETCMD$ call block others from accessing the port and force them to wait until the first one receives a response or times out?

47
Technical support / Re:R/W DM
« on: April 11, 2006, 07:21:19 AM »
Heh.  Yeah, after investigating further I noticed host mode was just a superset of the Omron commands.  Very clever.  :)

48
Opinions & Feedback / Re:How to modify my profile
« on: April 08, 2006, 01:18:51 AM »
I'm guessing it's because you're posting with the default account "Guest".   You have to have an account before you can modify your profile.

49
Opinions & Feedback / Re:Product suggestion
« on: April 07, 2006, 08:32:45 PM »
We've been considering for a while designing our own piggyback board to make connecting IO easier.  Triangle was kind enough to provide us with the drill pattern for their PLC however we haven't been able to find a PCB female connector that will mate with the IO pins.

We'd still like to do something, though.  We'll probably just make a short loop of wires between the two boards but that's not as nice as being able to plug them together.

50
Technical support / Re:R/W DM
« on: April 07, 2006, 12:53:48 AM »
What timing!  I came here to ask this very question.   I've never even looked in the Omron section of the manual.

I still have one question, though.  Can these be mixed with native host commands?  The wording the manual makes it seem like you can but I just wanted to be sure before I implement these.

51
Technical support / Re:Compile/Download bug
« on: November 11, 2005, 01:38:30 PM »
I seem to be having a similar problem (although I never tried to use a custom function as a contact).

I made a number of changes to my program that mostly involved a lot of rearranging and renaming of my custom functions (I'm going to be turning the code over to other developers so I didn't want to present them with a confusing mess).  Now the program won't upload to the PLC yet if I just compile it I don't get any errors so I have no way of knowing what the problem is.

Here's a capture of what's being sent and received on the serial port when I try to transfer the program:

#05
#05
IR#0D
IR01*#0D
@01IR5A*#0D
@01IR015B*#0D
@01$v??????13*#0D
@01$vPS10*#0D
@01LT59*#0D
@01LT025602560512006400646016025617405D*#0D
@01VM5A*#0D
@01VMT100MD+r4962*#0D

Maybe that will make sense to someone there.

Here's a link to the project in case you can determine a cause from looking at it:

http://www.prodevinc.com/downloads/FlexPLC1.zip

52
Technical support / Re:Stepper jogging
« on: October 27, 2005, 11:19:44 PM »
Not having used it yet but doesn't SETSPEED configure acceleration for you?  By experimenting, you should be able to arrive at a reliable acceleration for your setup.
I don't have a problem with acceleration -- it deceleration.  Specifically when interrupting a jog.

I've done some initial experimenting with Dan's suggestion and so far it seems promising.  In the custom function where I normally STEPSTOP the motor when jogging I now check to see if my speed exceeds some threshold.  If so I proceed to issue STEPSPEED's that cut the speed down by 10% every 20ms until I'm below the threshold at which point I issue a STEPSTOP.

Initial tests have been encouraging.  At speeds above some configurable threshold I can come smoothly to a stop with a little overtravel.  Below the threshold I am still able to stop on a dime by issuing an immediate STEPSTOP.

53
Technical support / Re:Stepper jogging
« on: October 21, 2005, 05:44:49 AM »
This is an interesting idea.  I've occasionally had problems changing step speeds while the axis is running (motor stalls) but maybe if I'm careful this could work.

Another issue to consider is overtravel.  Depending on how fast I can step down the speeds to simulate deceleration there could be some significant overtravel (significant is a relative term here).

54
Technical support / Stepper jogging
« on: October 19, 2005, 04:57:15 AM »
I've implemented a jog feature in our 888 program by sending large values to STEPMOVE and issuing a STEPSTOP when the jogging is done.  However we recently uncovered a problem with this technique that somehow escaped our notice before.  If the speeds are too high suddenly stopping the motor with STEPSTOP results in the motor skipping a number of steps (due to momentum) which knocks the position off.

One solution is to limit jog speeds but this is very unsatisfactory since the speeds would be too slow to be useful in our application.

So consider this post an enhancement request for future versions of the Triplc firmware.  I'd like to either see some jog functions added (maybe even simplifying the use of an analog input for speed control) or at the least add a deceleration parameter to the STEPSTOP command where obviously a decel of "0" would make it work as it does now.

55
Technical support / Re:Multiple webservers?
« on: October 19, 2005, 04:44:39 AM »
Thanks.  I never thought of copying the server.

And in my case it is much more convenient to have two servers running.  The PC has an available COM port and it makes sense to use that rather than adding an $50 RS485 converter (at least at this point).  I only use TLServer for development (since Trilogi requires it) so it's no big deal using it in a non-standard way.

56
Technical support / Multiple webservers?
« on: October 10, 2005, 11:35:42 AM »
I was surprised to find out that I can't run a second instance of TLServer so I can connect to two PLCs simultaneously.  What is the reason for preventing this?  If it's a TCP port issue couldn't it just take the next available port (9081)?

It won't matter in my application as I don't use TLServer normally but during development it's handy.

57
Technical support / Oscilloscope probe
« on: September 09, 2005, 12:39:16 PM »
Does anyone have any ideas for interfacing a 50 ohm oscilloscope probe with a Triplc's analog inputs?  Maybe there's a signal conditioner or something that can be used?

edit: I didn't know if this should be in the General forum.  I figured here since it could be of interest to other Triplc users.

58
Technical support / I2C
« on: September 06, 2005, 11:15:32 AM »
I've only started looking into I2C this past weekend so I'm not even sure if this question makes sense but is there a simple way to interface with I2C devices using the 888 PLC?

I've seen adapters for communicating with I2C devices using RS232, USB, and parallel ports and some seem pretty simple.  Isn't there a way to use the I/O on an 888 to do the same?

And if there isn't, maybe that's something your PLCs could offer in the future?  An I2C header somewhere on the board?

59
Technical support / Re:Lead Free?
« on: September 06, 2005, 11:00:35 AM »
That may allow you to skate by if you want to sell your products in Europe but those of us who make other products from yours (we OEMs) will not be covered by the same exemptions (I don't think).

Maybe I'm confused about how RoHS works.

60
Technical support / Re:PWM CONTROLLING
« on: September 06, 2005, 10:57:53 AM »
The n parameter of the setPWM function represents the channel number, not the output number.  It should be set to 1 or 2, which correspond to outputs 7 and 8 respectively.  It documentation is a little confusing on this matter (mentioning that n should be a number between 1 and 8).

I don't understand what you were saying in the second half of your post but you shouldn't be doing anything with output 7 elsewhere in the ladder if you intend on using it as a PWM output.

Pages: 1 2 3 [4] 5 6 ... 9