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

Pages: [1] 2 3
1
Technical support / Re:Almost dead TMD100
« on: April 23, 2008, 11:11:50 PM »
Thanks I'll try that

2
Technical support / Re:Almost dead TMD100
« on: April 23, 2008, 02:06:48 PM »
Well this has puzzled me for sometime, but now I can replicate the problem. The PLCs seem ok.
I have 24V 1000ma Powersupply connected to the PLC AND a Fargo telecom Modem (http://www.fargotelecom.com/Products/Fargo/Maestro_100.pdf)
The power consumption of the modem is 310 mA at 5 V ( don't know how much at 24V)
IF I Connect the PLC + Modem to the power supply and then connect to the main 220V Then everything is fine
But

IF I first connect to the 220V wall socket and then to the Modem and PLC ( at the same time)  then the PLC won't power up

But all I have to do is remove the mains cord and replace it again then everything powers up .

Any Ideas what I am missing?

3
Technical support / Re:Flow control in modem
« on: April 23, 2008, 01:52:26 PM »
Well I decided on a "go between."

Within the custfunction I make a pause for 400 ms after every 50 records.

This has been working flawlessly for some weeks now.

Thanks for the advice

4
Technical support / Re:Flow control in modem
« on: March 19, 2008, 02:35:26 AM »
Thanks good idea, but would I then risk the modem hanging up before  I have dumped the whole contenst of the DM Variable?

5
Technical support / Flow control in modem
« on: March 18, 2008, 06:50:22 AM »
Hi There,

I have 5  pcs T100MD888 connected to Fargo Telecom Mobile modems and one Windows server also connected to a Fargo Telecom Mobile modem. All modems are running at 9600 Baud
Once per day or when the DM[] variable reaches a threshold, each plc Modem dials the server modem and dumps the DM[]  ( in a padded format) and reads the RTC.

I use the Trilogi server version 2.0 and  the standard dial modem function supplied by Trilogi.

When sending  the data to the modem it is converted  ? on the fly? to text with zeros being padded and some hyphens and commas are added  as date and field delimiters and a CR for every 10 values in the DM.
Each Record is 10 positions in the DM as follows:
DM[1] = Date, DM[2] = Month, DM[3] = Year, DM[4] = Hour, DM[5] = Minute, DM[6] = Second, DM[7] = Value, DM[8] = ID, DM[9] = Value, DM[10] = Spare,

i.e if the DM Variable looks like this
18 3 2008 9 14 26 1 139 0
18 3 2008 9  9 26 2 139 0
18 3 2008 9  9 26 3 139 0
18 3 2008 9  9 26 1 139 0

it will be sent as records like this

18-03-2008,09:14:26,1,139,0 [CR]
18-03-2008,09:09:26,2,139,0 [CR]
18-03-2008,09:09:26,3,139,0 [CR]
18-03-2008,09:09:26,1,139,0 [CR]

This works and has been working fine for more that 12 months, as long as the DM[] is not filled beyond DM[1500]
If there is more data then some data is lost , not much just a comma or a few characters, but of course enough to corrupt data., and messing up the import rutine on the server
Until now I have solved it by sending data as soon as the DM[] variable reaches 1400 positions.
But now I will be installing at a site where the DM[] will fill up completely 2-3 times a day. So I have to solve the problem., because dialing up 5-10 times per day is to expensive, and the PLC is blocked during the process

I now guess the corruption is due to a buffer overflow I therefore introduced a 400 ms pause  for every 50 records being sent, by adding the following in my ?send and format data? procedure

If Y MOD 500= 1 then
Delay 400
End if

This actually works ( have tried  filling up the DM[] to positions 3840 10 times and transferring data), but prolongs the transfer time by 3 seconds in which the PLC is inactive

But I am worried about using the Delay function, would it be better to make at For Next loop to create a pause in the flow or is there another way of reducing the speed of dataflow?

/PeterH


6
Technical support / Almost dead TMD100
« on: November 01, 2007, 08:39:10 AM »
Hi there one of my PLC's has "almost" died. When I connect the power , the green power led next to J1 only lights up partly.  It is sort of half dimmed or blinking. Any idea waht that means. I replaced the PLC and got the system going again but is the board dead?

/Peter

7
Technical support / Re:T100MD+ as a timer
« on: June 06, 2007, 05:40:04 AM »
Great Thanks,

wil try that out next week

/Peter

8
Technical support / T100MD+ as a timer
« on: June 05, 2007, 01:36:11 PM »
I have an input activated by a PIR sensor,and I would like to know how long the sensor "goes high" when sensing movement. Is there a way where I can measure the amount of time that an input is activated? I am only talking milliseconds - so reading the RTC is not an option

/Peter

9
Technical support / Re:I need 3-5 Volt
« on: April 12, 2007, 10:04:28 AM »
Great Thanks,  "<100uA" is what the manual states, so I'll try

10
Technical support / I need 3-5 Volt
« on: April 12, 2007, 08:49:58 AM »
Hi There,

I am using some T100MD888 units as simple  polling devices, with only 3 input and 3 outputs active and a 24 V power supply. Now I would like to connect 2-3  PIR sensors ( from www.parallax.com) - a neat little unit that requires 3.3 to 5 volt  for operation and draws < 100uA

I can se that there is a 5 volt output on the Analog connector  (which I am not using. Can I use as supply for my PIR sensor?

/Peter

11
Technical support / Re:how to RESET
« on: January 16, 2007, 01:12:40 PM »

Make a circuit (rung) with an input and a time special bit to prevent contact chatter.
Hi Cdenk,

Thanks for the info. I was just going write a normal diff function until you wrote the above. What do you mean by a time special bit? I hadn't thought of  noise interfering.

Best regards
Peter

12
Technical support / Re:how to RESET
« on: January 10, 2007, 10:30:32 AM »
Thanks , but that is not quite what I meant.  I was looking for a way by the means of the hardware to make a reset. i.e a jumper or dipswitch combination.

/Peter

13
Technical support / how to RESET
« on: January 10, 2007, 05:53:39 AM »
I have blown two RTCs on two different T100MD last week and had to change the RTCs. After changing the RTC and connecting to power - output 6 has been activated and I have had to RESET the unit. I have dones this by downloading the  programme again and clicking  YES to Reset.
But is it possible to RESET the unit without a pc?
Maybe I missed something in the manual

Best Regards

Peter

14
Technical support / Re:Trnsmission errors
« on: January 03, 2007, 11:31:27 PM »
Ok Thanks for the reply,

I will have to live with the errors for the time being. I may, however,  try sending smaller files, because i Don't think it happens with less than 100 records.

/Peter

15
Technical support / Re:Trnsmission errors
« on: January 03, 2007, 05:45:40 AM »
I got a new bunch of transmission errors today.....

This makes me think:

Is there any error control between the PLC and TLServer. i.e is there a for example a CRC control of the flow when I issue a Print#1 " Appendxxx.txt" and send data to TL Server, or is data just sent out in the blue air and then presumed OK if I receive an <OK> after the Print#1"/" command?

Best regards

Peter

Pages: [1] 2 3