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 - Lorne Van Dusen

Pages: 1 2 [3] 4 5 ... 7
31
Technical support / Simulation of Clock
« on: March 06, 2018, 08:03:02 AM »
I am developing a program using multiple on and off times and would like to know if there is a way to test it on the simulator without having a PLC connected.
I have tried to do things like TIME[1] = DM[1] then putting the value in DM[1] but that doesn't work.
Cant find how to adjust clock on the simulator.

32
Technical support / Auto Negotiate IP
« on: February 26, 2018, 10:56:00 AM »
This is just a general question in regards to PLC scan time as I figured it would be a question that might necessarily get asked by someone.
If you set the IP address to 0.0.0.0 to allow a router to assign a IP address to the PLC and a router is not connected or for some reason is powered off does it affect the scan time of the PLC as I would assume that the PLC is constantly queering the router for a IP address?

33
Opinions & Feedback / Fantasic Tech Support
« on: February 22, 2018, 12:33:01 PM »
I figured it was about time I posted my thoughts on your products
First I must admit I have been telling everyone I know that programs PLC's that between this forum an your direct technical support it is fantastic
The FX series PLC as well as the SmartTile are a awesome product that are capable of doing just about anything someone can think of.
The ladder logic is a little cumbersome if you have a lot of OR's and AND's and sometimes you have to delete some things in order t add some things then put back what you deleted. But it all works out in the end and you can make a very complicated ladder segment.
The TBasic is a awesome tool but could do with some better documentation and sample programs.
However even if you do have issues with the TBasic just post the question in the forum and you will receive very professional help from either another member or from TriPLC themselves. There are a lot of System functions that you can use once you actually learn how they work.
On another note I have used the Smart Tile PLC on various boards now that we designed our own I/O on and I must tell you it makes your product far superior to any standard off the shelf PLC and if you have enough volume you can produce the results at a much lower cost than any off the shelf PLC  plus you now have the I/O that you actually needed not the I/O arrangement that some major company chose to give you.
Keep up the development on this wonderful product as well as the documentation. And definitely keep this forum up and running.

Lorne

34
Technical support / Re:SAVE_EEP
« on: February 22, 2018, 12:00:47 PM »
Thanks for the reply
I must have been having one of those brain freeze days
as I should have figured that out because I have used the same type of circuit before.

Lorne

35
Technical support / SAVE_EEP
« on: February 20, 2018, 02:20:32 PM »
I am still a little confused about the correct way to do a SAVE_EEP on consecutive DM's
If I want to do a SAVE_EEP for DM[700] through DM[704]

Do I use SAVE_EEP [DM700] + 3

Then on first scan what is the proper method to move the value back into DM[700] to DM[704]

36
Technical support / Re:Servo Motor and SC
« on: January 23, 2018, 06:43:57 AM »
Gary thanks for your reply
However I have decided to use a stepper motor instead.
The FX series PLC'S have an excellent setup for controlling a stepper motor.
 

37
Technical support / SETSYSTEM 16
« on: January 16, 2018, 01:53:37 PM »
I have a question about the use of SETSYSTEM 16
I am only using inputs 1 to 32 and outputs 1 to 32 as actual I/O
I am however using outputs 34 to 128 as internal relays that the Master PLC reads with HOSTLINK commands

If is use SETSYSTEM 16,4 will it effect outputs 34 to 128 in any way

38
Technical support / Servo Motor and SC
« on: January 10, 2018, 09:31:20 AM »
I have been asked if there is anyway to control the position of a Servo motor based on the HSC value
I need to use a 180 degree servo motor and ave it at one end when the encoder value is zero and at the other end say wen the encoder value is 4000.
Does anyone know if this scenario this even possible to do with a FX series PLC?

39
Technical support / Re:Tic Tac Toe game for PLC
« on: December 14, 2017, 08:24:21 AM »
Gary that is the most impressive program I have ever seen in all my many years of programming PLC.s
I have viewed some of you documentation and I must admit it really shows how experienced and professional you are keep up your excellent work as I am a firm believer in always keep the mind occupied with new things so your mind does not start to deteriorate to the point you no longer have interest in anything.  
I never imagined anyone ever making a actual game using a PLC.
Many years ago when computers were fairly new to most of the public I played around and made some simple games using basic and one of them was a simple game that was designed for kids. It was similar to a hangman game except that for each question the kids got wrong a little stick man would walk towards a cliff and if you got too many questions wrong the little stick man would fall off the cliff. I was amazed though that I had given t the school that my kids went to at that time the teachers all loved it and they used it for many years after.
Now you have given me something to do over the Christmas holidays as like you if I have too much time off I get board

Lorne Van Dusen

40
Technical support / Forcing an IP address
« on: November 27, 2017, 01:54:08 PM »
I have a question about forcing an IP address into the PLC without having to re boot the PLC
I understand the concept of setting the IP address to 0.0.0.0 to allow the PLC to accept an IP address from the router.
This all works fine so the print #4 command actually places the IP address into H$ example 192.168.0.133 and also sets a relay IP_READY
 
However if the router is not present I want the PLC to accept the address as 192.168.1.15:9080
So inside the program I am using a timer that will turn on after 2 minutes if the IP address does not change from 0.0.0.0
it calls a function that first loads  checks to see if H$ is empty
Then I use DM[800] = 192 DM[801] = 168 DM[802] = 1 DM[803]= 15 AND DM[804] = 908
Then I load that into H$ so far everything works out OK
However even in the manual it says that you need to reboot the PLC
So my actual question is how is it that the router can change the IP address without having to reboot but the program can't. Is there any command I can use that would emulate the signal that the router would send to the PLC to change the IP address?

41
Technical support / Re:Dip Switch 2
« on: November 16, 2017, 01:25:16 PM »
I would very much like to bring this question to your design team but how do I proceed from here?
Do I send them an email if so what is the correct email address? or do they read these posts?

42
Technical support / Re:INTRDEF
« on: November 16, 2017, 01:18:20 PM »
Gary
Just to let you know that with the problem I was having with the interrupt actually turned out to be a power supply problem.
We use a low cost switching power supply to feed all the switches etc that go to the inputs of the PLC.
I monitored the power supply and found out when relays on the controller were changing state either on or off I would get a very short spike coming from the power supply. And when I used the input as an Interrupt the PLC actually reacted to the extremely fast spike.
I then changed the program and did bth the rising edge detection as well a the falling edge detection in Ladder and it solved all my issues.
It seemed that the extra scan time involved in the Ladder program prevented the microprocessor from seeing the fast spike in the line.

However I do have a question that hopefully you can answer is there any way to find out the scan time of the PLC. Most PLC manufacturer have a value that you can look at that actually tells you how long the scan time is.

lorne  

43
Technical support / Re:INTRDEF
« on: November 06, 2017, 06:19:26 AM »
As always Gary thanks for your well descriptive reply.
I am glad I decided to ask that question as I wasn't sure if I could do both with the same input.
Luckily I have input 4 clear to use.
That means I can tie both inputs 3 & 4 together and use input 3 for the rising edge and input 4 for the falling edge.
I am also pleased to hear that we can use the symbolic name in place as the number because you are 100% correct in your statement. Sometimes after finishing up a program I like t go around and clean things up like get rid of stuff I no longer need and yes many times move or shift things up to fill blank spaces where I had deleted unwanted functions.

44
Technical support / INTRDEF
« on: November 03, 2017, 02:04:13 PM »
I know that this may sound like a dumb question but I would just like some clarification
During the First Scan
If I want to call Interrupt #3 on the Rising Edge of Input 3 I would use INTRDEF 3,3,1
Can I then use INTRDEF 3,18,0 to call interrupt #18 on the falling edge of input 3

45
Technical support / Re:Device ID
« on: November 01, 2017, 06:51:46 AM »
Gary it will be a sad day for everyone that's reads this forum when you stop posting and helping people.
Over the last year I have read a lot of posts and it appears that even though you yourself have asked a few questions, it seems that you answer more questions for people that just about anyone else connected with TriPLC.
I wish you many more years of being able to answer us newbee's

Pages: 1 2 [3] 4 5 ... 7