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.


Topics - secs

Pages: [1]
1
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

2
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

3
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?

4
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?

5
Technical support / Digimesh - 2 questions
« on: March 18, 2013, 02:03:13 AM »
Hi guys.

I am looking at using some xbee pro type units. the ones that do the DIGIMESH stuff.

I want to to use one module via the rs232 port on the 2424 and then simply the others without pc's connected. I need to be able to read and write to the remote I/O's etc to turn on and off remote appliances.

I have reviewed the documentation for both the 2424 and the mesh units and can't see that there will be a problem. IS there any samples out there?


6
Technical support / problem with email F2424
« on: January 14, 2012, 01:18:46 AM »
Hi all.
I managed to get the email sending to work at some stage but it has been out of action for a while now. I need or would like to get it up again. My code is basicaly a copy of the exaple

' This function sends out an email to the address specified in the tag
' The SMTP server must be defined correctly using the Ethernet Configuration Tool
' provided by i-TRiLOGI version (6.3x or higher) software.
' ==============================================================

SETLCD 0,0,CHR$(1)  ' clear LCD screen

PRINT #4 "<EMAIL alarm@secs.net.au>" ' replace with your destination email
PRINT #4 "SENDER: plc1@secs.net.au"   ' should be a valid server address
PRINT #4 "SUBJECT: Your power has failed"
PRINT #4 "</>"      ' end the email.

Call rdComm4

SETLCD 1,1,"Email Response Code:" +STR$(date[3]) + ":" + STR$(date[2]) + " - " + STR$(TIME[1]) + ":" + STR$(TIME[2]) + ":" + STR$(TIME[3])
SETLCD 2,1, A$
SETLCD 3,1, STR$(date[3]) + ":" + STR$(date[2]) + " - " + STR$(TIME[1]) + ":" + STR$(TIME[2]) + ":" + STR$(TIME[3])
S = status(3) ' Status(3) = 1 if successful, 0 if failed.


and the rdcomm

' This function read a CR-terminated string received from COMM1 and
' the returned string is stored in A$.
'===================================================================

FOR I = 1 to 10000
   A$ = INPUT$(4)
   IF LEN(A$) <> 0 RETURN: ENDIF
NEXT


but no matter what, I get an error saying
err:04-not connected

Now I can see the log file of the mail server and it shows the system trying to connect and it doesnt say its not allowed or anything. I need some ideas guys to try.
Peter

7
Technical support / Interupt and simulation
« on: January 11, 2011, 04:54:23 AM »
Hi.

I can program in various fileds. I use delphi for windows and used to use a Pascal based language for my pic stuff. But I am new to this type. I can read ladder logic but never sought of had to program any. Electrician by trade

So yes I am a newbie.

I am just playing with a simple interup counter. I did a 1st scan type ladder that calls cust func 1 where I did a INTRDEF 10,10,1 and a SETLCD 1,1,"TEST" just so when I run it as a simulate, I could see that its executing the code. It is.

In cust func 10 I did a simple A = A + 1

Now what I was expecting was when clicking on input 12 (intr pin 10) I would see A inrement but it doesnt. Neither do I get success using the provided sample program.

Currently I dont have the F2424 hooked up and I am just using the simulation. What am I missing?

It seems so simple but I have no idea


Pages: [1]