Recent Posts

Pages: [1] 2 3 ... 10
Technical support / Re: PID control of two contradictory PWM signals
« Last post by garysdickinson on March 01, 2024, 08:23:11 AM »

I am glad you found something useful.

I have used several of the T100MD PLCs.  I had one run for 15 years with out a glitch.

If you have questions on algorithms and such just ask. I am happy to share.

Gary d
Technical support / Re: PID control of two contradictory PWM signals
« Last post by Hminx on February 27, 2024, 11:49:17 PM »
Hi Gary
Thanks for that, what you suggest makes perfect sense and should do the trick.
i will try that as soon as my replacement FMD1616 turns up as yesterday when I turn the machine on the PLC refused to respond for a while
then powered up the first four outputs plus RTC, pause, and error LEDs   lit up, plus it would no longer communicate  :(   Unlike the old T100MD
series these aren't easy to plug in a replacement chip and get it back into service maybe a marketing strategy  ;)
 Cheers Pete
Technical support / Re: Can't connect to TLServer with FileZilla
« Last post by MadalinG on February 25, 2024, 04:54:47 AM »
Hello Gary,

Thank you. It worked just fine
The .pdf file was perfect.
Technical support / Re: Can't connect to TLServer with FileZilla
« Last post by garysdickinson on February 24, 2024, 03:56:22 PM »
Getting FileZila to communicate with the TRI PLCs is a little tricky.  FTP is a protocol that dates back to 1971 before TCP/IP or the internet existed. The FTP support built in the the TRI Nano10 PLCs is very limited in what it can support.  You must configure FileZila very carefully to get it to work.

The two big issues is that the FMD PLC can only support a single FTP connection at a time. The FMD PLCs only work with text ASCII text files. The TRI PLCs do not use meaningful time stamps on the files.

OK. Your question talks about the "TLServer". The Nano10 has a builtin Ethernet support and builtin FTP support and does not require the TLServer application to function. If you are actually running TLServer on your PC you will fail.

If your Nano10 and PC are connected via Ethernet to a common network on the same sub net  then you should be good to go.

I have attached a .pdf to this reply that is screen shots of the current version running on a Windows 10 PC and communicating with a FMD series PLC. The Nano10 and the FMD PLCs behave identically when it comes to FTP.

Best of luck,

Gary Dickinson
Technical support / Can't connect to TLServer with FileZilla
« Last post by MadalinG on February 24, 2024, 12:37:30 PM »
Hello Guys,

I'm trying to connect via FileZilla to the TLServer in order to modify the webpage interface for Nano10.
I followed the steps from user manual but i get the following message

Status:   Waiting to retry...
Status:   Connecting to
Error:   Connection timed out after 20 seconds of inactivity
Error:   Could not connect to server
Status:   Disconnected from server
Status:   Connecting to
Status:   Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:   Could not connect to server

I tried with as in the user manual and also the ip addres from TLServer, but no result
I tried with windows firewall turned off as well from i searched from internet.

I am very new to PLCs and i follow all the documentation found on your website but now i'm really stuck here for a few days.
Technical support / Re: PID control of two contradictory PWM signals
« Last post by garysdickinson on February 23, 2024, 01:13:40 PM »
The programming of the FMD PWM ouputs to meet your needs is not very difficult.

I've attached a .pdf file that shows the programming for 1 of the 2 PWM outputs that your application may need.

The programming for the 2nd PWM output is the same but uses the slope/incercept values for the other channel.

You still have to solve a host of other things.

Gary Dickinson
Technical support / Re: PID control of two contradictory PWM signals
« Last post by Hminx on February 22, 2024, 12:25:55 AM »
  Thanks for the feed back, I thought that this may be the case but was hoping for an easier work around, but such is life  :)
FYI the two PWM  signals is quite common on heavy automotive diesels, from the foot throttle to the engine ECU .   Normally we would use the auxiliary external throttle input for engine speed control, but this is not an option in this case.
Technical support / Re: PID control of two contradictory PWM signals
« Last post by support on February 20, 2024, 09:37:00 PM »
The PLC can provide the PWM signal using the SETPWM command. That should be the easy part and I don't think you have any trouble with that.

We have no knowledge of how a system you described would work. What device is currently providing the two PWM signals you mentioned to the engine.

If you fixed one PWM signal and vary the second signal you might be able to plot out a curve of speed vs PWM2. You can then increment the PWM1 duty cycle and repeat the above. In the end you may have a series of charts that could give you a better idea of how the engine speed changes with respect to each PWM signal.

Once you get a better idea of how the speed vary with respect to the PWM duty cycle of each signal you may be able to work out an algorithm for controlling the engine.
Technical support / PID control of two contradictory PWM signals
« Last post by Hminx on February 19, 2024, 01:08:18 AM »
Hi all

Been a few years since last used trilogi stuff but have a few up coming projects that I plan to use FMD1616-10s. The issue I'm stuck on is
how to control the  speed of an engine powering a large vacuum pump, the input signal uses two PWM signals acting together

   1.        Idle - full throttle           81 - 27 %  PWM     @ 5v  200 Hz
   2.        Idle - full throttle           17 - 73 %  PWM     @ 5v  200 Hz

The  vacuum pump is direct driven at engine speed, 1400 rpm and in this case, the speed signal at this speed is 23 Hz, and scoping the throttle signals while operating the throttle manually indicates signal 1 at about 53% and signal 2 at about 46%.  Ssooo.... what I need to do is work out some method of PID control over two control signals that move in opposite directions.

I would be quite willing to have a crack at sorting out a single channel control but the two opposing signal thing is a bit beyond me so any help would be greatly appreciated

Cheers Pete

Oh by the way, I assure you I'm not a student asking some one to do an assignment I should be doing myself  ;)

Technical support / Re: Difficulty Troubleshooting Break Points
« Last post by support on December 21, 2023, 09:57:07 AM »
Did you set a breakpoint at the location you indicated in the comment? Or do you mean that you have encountered a runtime error that point to this location?

If you have intentionally set a breakpoint at your statement DM[12]=6399 then what are you trying to examine? You can view the value in the variable DM[11] executed in the prior statement to ensure that it has been assigned the correct value. I see that you wanted to assign it 32808, however, since all DM[] are 16-bit signed integers the numbers that it can contain range from -32768 to 32767. It won't be able to contain the value 32808.  It will instead overflow and becomes number -32728.

You can examine the value in DM[11] by hovering your mouse over it and it will display its value as shown in the picture below. Or you can use "On-line Monitoring" -> View Variable screen and scroll to the second screen where all the DMs are displayed to examine the value of DM[11].

If you have unintentionally set a break point there (it will be highlighted by a blue box around the statement) then you can remove the break point by clicking on the "Set Brk Pt" button to toggle it off as shown in the picture below. If you have uploaded the breakpoint to the PLC while doing online monitoring the PLC will stop execution at this statement and pause for your further action.

Alternatively you can also remove all break points from the "Edit-> Clear All Breakpoints" menu.

Pages: [1] 2 3 ... 10