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

Pages: [1] 2
1
Technical support / Re:Nano and F2424 seperated by network
« on: August 08, 2016, 05:38:00 PM »
Yep thats the help I need. I do realise that I have to make the connection first.

So other than the 32 instead of 100 does my command structure look ok?

2
Technical support / Re:Nano and F2424 seperated by network
« on: August 08, 2016, 04:52:19 AM »
Ok I have got the F2424 connecting to the nano10 using netcommands but I am thinking Modbus will be a lot easier so will try the modbus connection tomorow.

The f2424 is the one hanging off the 4g network.

The nano is at the main office.

All I need to do for now is get the f2424 to connect to the nano, pass/write dm1 to dm100 to the nano and read dm101 to itself all in the same positions.  So the F2424 will mirror the values in Dm1-100 to the nano and mirror the Nano 101-200 back into itself.

I know its a basic command but can someone give me an idea?

I think I need to use

to write f2424 dm 1-100 over to the nano
WRITEMB2 4,1,41001,DM[1],100

and to read the nano 101-201 back to the f242
READMB2 4,1,41101,DM[101],100

Regards, Peter

3
Technical support / Re:Nano and F2424 seperated by network
« on: August 04, 2016, 10:11:45 AM »
Ok I have been playing with the Ethernet examples. I can see its possible to do it either by Modbus or by NETCMD$

So a couple of questions.

Which would be the more stable method?

Secondly, if I only want to pass data say every 20 seconds, would it be better to retain the connection and if so how do I detect a disconnect

or

Connect, pass the data and disconnect each time?

Peter

4
Technical support / Re:Nano and F2424 seperated by network
« on: August 02, 2016, 09:29:59 PM »
Thanks for that.

I was having issues with finding a reference to using the f2424 as a modbus client. However in rereading the manual I found the net command stuff. From that I found the Ethernet examples and am playing with that.

I write software in Delphi/pascal and previously wrote some software that connected via tcp to the 24 using modbus. I just havent played with it the other way around.

I have set up the nano in the office and am waiting for a convenient time to go back to the workshop and see if I can get it to connect.

5
Technical support / Nano and F2424 seperated by network
« on: August 01, 2016, 09:56:08 PM »
We have a F2434 operating at a remote location and it hangs off a 4G network. At our office we have a nano 10. I need to monitor 2 inputs from the f2424 on the nano.

There is no issue with the f2424 getting out but the other way around is is an issue.

I was thinking about making the 2424 a Modbus client and have it connect to the nano via tcp but couldnt find how to make that happen.

Is there an example somewhere or can someone suggest a different approach?

Peter

6
Technical support / Re:Calculate days between dates
« on: April 28, 2016, 07:24:43 AM »
Thanks Gary. That will do it :-)
Peter

7
Technical support / Calculate days between dates
« on: April 27, 2016, 09:53:42 AM »
Hi all.

I need to store say todays date in eeprom and then each day the pcl is fired up calculate the number of days between the stored date and the current one. Any suggestions?

I am using a F2424 at the moment soon to be replaced with a Fx2424

8
Technical support / Re:Generacting a random event or number
« on: March 15, 2016, 12:26:41 AM »
Yep works well.

I am actually working on a mechanical bull and the customer is excited. Thanks to you Garry :-)

9
Technical support / Re:Generacting a random event or number
« on: March 14, 2016, 02:50:52 PM »
Many thanks Garry. I will give it a try.

10
Technical support / Generacting a random event or number
« on: March 13, 2016, 07:39:55 PM »
Hi all.

I have a need to change a function randomly and am trying to work out a way of doing this. As an example, I need to change the direction of a motor running. SO it runs one direction for a while then stops and changes rotation. Any suggestions?

11
Technical support / Re:Number of hours - Suggestions anyone?
« on: September 17, 2013, 01:56:52 PM »
Many thanks. I write code in Delphi and it does it for me but this is great. I will give it a go and let you know how I go...

12
Technical support / Re:Number of hours - Suggestions anyone?
« on: September 16, 2013, 10:19:47 PM »
You are correct in that saving the date in eprom will work but I am more interested in the calculation? If the last reset is on 25th of feb 2013 and now its 17th of sep 2013 12pm, how many hours has expired inbetween?

13
Technical support / Number of hours - Suggestions anyone?
« on: September 16, 2013, 04:47:44 AM »
Hi all. I have a f2424 coupled with a KEP HMI panel. I need to calculate the number of hours between events including if power goes off.

I have been simply increment a value every min. However if the PLC goes off line for any amount of time, this method fails. IWhat I am trying to do is calculate the number of hours between pump cylces. That is the pump starts now, pumps out a sump and turns off. 3 weeks later, the pump cycles again. I need to know the number of hours between these events.

Suggestions anyone?

14
Technical support / Re:RS485 communication
« on: August 19, 2013, 04:55:16 PM »
Many thanks. It just seemed to easy.

15
Technical support / Re:RS485 communication
« on: August 19, 2013, 02:10:38 PM »
Thanks.

So can I ask, does the rs232 type connection work just as good in a situation where the plc is within 6" of the hmi panel? It seems a lot easier to just use a cable I have laying around.

Also, what setup is needed on the f2424 to allow the hmi panel to work? What I mean is I can plug the hmi on but the plc needs to know there is data being read and written via that port. I realise you have to set up board rates etc but there must be something else to be set so it knows data is to come in and out..

I have previously used the 2424 with my own written software using modbus to read and write and it works flawlessly. But the hmi part is new to me. I am currently doing the graphics etc with the HMI and have that part working but how do I tell 2424 that it will have a hmi panel hooked up?

Pages: [1] 2