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

Pages: [1]
1
Technical support / Re:storing dm[] values
« on: July 26, 2009, 05:02:52 AM »
Hi

I have tested the program and this is just what needed.
When you have the knowledge and the insight everything seems so easy!


Many thanks to the moderator for the help to figger this out.


Kizor

2
Technical support / storing dm[] values
« on: June 21, 2009, 02:03:50 AM »
Hi


I have a program running to messuring the time a input is closed
I use therefore 3 dm[]'s and a 1 sec  clock pulse

dm[3]=dm[3]+1          ' count seconds
if dm[3]=60 then
dm[3]=0
dm[2]=dm[2]+1           'count minutes
endif
if dm[2]=60 then
dm[2]=0
dm[1]=dm[1]+1            ' count hours
endif

that works fine but what i want to reach is to store the time every day to 3 other dm[]'s so that i become

if date[3]=1  then store the time to dm[1],dm[2],dm[3]

if date[3]=2  then store the time to dm[4],dm[5],dm[6]

if date[3]=3  then store the time to dm[7],dm[8],dm[9]

and so on .....

Is there a possibility to do this ?
I have tried, but my knowledge is to little to figger this out
I appreciate each tip or aid highly

Thanks in advance
KIZOR

3
Technical support / Re:BLANCO EMAIL send with Xserver
« on: June 02, 2009, 09:19:16 AM »
Hi

I think the problem is solved.

I take an other email account for send (To) and every thing works again.
Altough before it have always works with the same email adres use for (To) and (From)

ps:

First I have tried with my gmail account but even this doesn't work.

Anyway many thanks for the reply's,it help me really to solved the malfunction

KIZOR

4
Technical support / Re:BLANCO EMAIL send with Xserver
« on: May 31, 2009, 06:14:50 AM »
Hi


I have hook up the plc comm port to hyperterminal
When I send a EMAIL out then I reveived on the Hyperterminal screen:

</>agepoort open  30/05/2009 om 14:31:42

normally agepoort shoot be garagepoort with date and time of the event
 It seems that the end of the email sign comes before the mail is send out or must this be so.

ps

When I look to properties of a received email and go to details  then I could see that the data is send out (see screenshot xxx.xxx is to cover email adress and ip)

Return-Path: <xxx.xxx@telenet>
Delivered-To: xxx.xxx@telenet.be
Received: (qmail 32713 invoked from network); 31 May 2009 10:24:35 -0000
Received: from gerard.telenet-ops.be ([195.130.132.48])
          (envelope-sender <xxx.xxx@telenet.be>)
          by myron.telenet-ops.be (qmail-ldap-1.03) with SMTP
          for <xxx.xxx@telenet.be>; 31 May 2009 10:24:35 -0000
Received: from xxx.xxx ([xx.xxx.xx.xxx])
   by gerard.telenet-ops.be with bizsmtp
   id yAQb1b0054PARfV0HAQbDn; Sun, 31 May 2009 12:24:35 +0200
From:  xxx.xxx@telenet.be
To: xxx.xxx@telenet.be
Subject: garagepoort open
X-Priority: 3
Garagepoort open op 31/5/2009      om      12:24:28
X-Spam-Level: 0/5
X-FS-Classification-spam:  0
X-FS-Diagnostics: database-version=2009-05-06 tests=WHITELISTED,FS_CLASS_SPAM_0

any suggestion?

Thanks in advance
KIZOR


5
Technical support / BLANCO EMAIL send with Xserver
« on: May 30, 2009, 05:54:32 AM »
Hi

I use Xserver to send Email and that works fine till  yesterday.

Now I still received the email's but only

  From
  T0
  Subject

What I mean is that I didn't received  the data in the mail
all I get is a blanco mail.

What could I do to make it work again?


Thanks in advance
Kizor


6
Technical support / Re:SEND EMAIL WITH XSERVER
« on: April 18, 2009, 01:03:18 PM »
Hi

Yes I use a (dCusF ) like I use for other custom functions to send out a Email.
It is only there where I use a time to send a mail that I always receive 2 mails in stead of one
Could it be that the time between closed and open (r1) is to short or to long?

Greats
Kizor

7
Technical support / SEND EMAIL WITH XSERVER
« on: April 18, 2009, 07:27:45 AM »
HI

I have ceveral custom functions to send out a EMAIL with Xserver and that works great

Only one  custom function to send out a mail at a certain time doesn't work properly
 I always receive 2 email's in stead of 1

(if time[1]=23 and time[2]=59 and time[3]=58 then setio r1 else clrio r1 endif.)

So when r1 is closed the Email is send out but I always receive 2 emails

What could be the reason of this and how could I avoid this
Maybe there is a better way to send out a mail at a certain time.

Thanks in advance
Kizor

8
Technical support / Re:auto 485
« on: January 13, 2009, 01:43:35 PM »
HI

Still not working

I have done a test with the auto 485 connecting to hyperterminal

Now I see that my command doesn't come right true when I trigger custom function
print #3 "at+cmgs=xxxxxx"+chr$(13)+"sms text"+chr$(26)

On hyperterminal I only see  smstext(+sign for chr$(26))
Could't it be  I must become a litle delay after chr$(13)

What  is the best way  to become this delay and  if posible in the same custom function
Any other suggestion is even welcome


Thanks in advance

Kizor



9
Technical support / Re:auto 485
« on: January 12, 2009, 09:10:03 AM »
Hi

Thanks for the quick reply's.

What I want know ,when I branche a auto-485 converter to comm3 , is the rs232  port on the converter configured as DCE or as DTE.


Thanks in advance

Kizor




10
Technical support / Re:auto 485
« on: January 11, 2009, 02:20:09 PM »
Hi


One other question

The rs232 port become on the auto 485 converter is this

configured as DTE or as DCE


Thanks in advance

Kizor

11
Technical support / Re:auto 485
« on: January 11, 2009, 11:55:59 AM »
Hi

Now I remember
I think I set dip switch SW1-4 during power-on to set the baud rate  of comm#1 to 9600 bit-per-second

How can I set baud rate of comm#3 to
 8,1,n   9600bit-per-second

Can I use setbaud 3,00000100 or must I use setbaud 3,?H03
What is the right sign just before H03 because the custom function doesn't recognice ?

Thanks in advance

Kizor

12
Technical support / auto 485
« on: January 11, 2009, 07:15:09 AM »
Hi

For quite a time I used the plc comm#1 port to sent out sms messages trought a gsm modem.
The connection between the plc comm#1 and the gsm rs232 port is made by a cross over cable.

Now I will use  comm#3  instead of comm#1 to send out sms

I rewrite the program so that the (sms command) is now send out to  comm#3

I use a auto-485 converter branched with the rs232 port of the gsm modem but it seems not to work to sent out a sms.

Is there someone who knows what I did wrong or any other reason why it doesn't work.

Thanks in advance

Kizor


13
Technical support / interrupt input
« on: December 21, 2008, 02:24:32 AM »
Hi

In My progam I have a counter running that count the power consumption.Therefore I use input #5  and  a counter count's the pulses,when that counter reach his preset value it switch on a other counter en so on so that i become a counter with 7 digits(99999,99)
That works fine but because I loose some counts I try to use the interrupt input
Now input #5  turn on CusFn#1 ( intrdef 3,10,1)
In CusFn#10 I place  ctrpv[9] = ctrpv[9]+1
(counter[9] count's the pulses)

The interrupt input seems to work but the counter doesn't switch over on the preset value but  still count's on.
I have try everything but I can't figger out what I have to place in CusFn#10 so that (counter[9]) switch over on his preset value

Is there someone who can help to figger this out

Thanks in advance
    Kizor

14
Technical support / Re:split print# command in different lines
« on: August 19, 2008, 04:16:37 AM »
Yes I have tray this  and it seem to work in simulation but it d'doesnt work when transfer to plc .

 To send out a sms,I may only use once the print# command because everything must send out in one go.

Is it possible to send it out so I become a sms with text in 4 lines


Thanks in advance

15
Technical support / split print# command in different lines
« on: August 17, 2008, 12:38:39 PM »
hi

Ihave a custom function that trigger a print#1 command to send out a sms with the date and time of a event via a gsm modem.

example:
PRINT #1 "at+cmgs=phonenumber" "event"+str$(date[3])+"/"+str$(date[2])+"/"+str$(date[1])+"      at    "+STR$(TIME[1])+":"+STR$(TIME[2])+":"+STR$(time[3])

Is it possible to sent this out in 4 lines instead of 1 so that I become a sms as following

event
date
at
time

thanks in advance

Pages: [1]