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

Pages: [1] 2
1
Technical support / Re:Data Logger
« on: June 08, 2011, 02:57:45 PM »
I recently did a simular project. I connected the PLC RS232 connection to a "dog catcher" made by brigantine electronics.

This device works well, if you send the data using a Print #1 "String of data in CSV format".

The device saves what you send to it in a txt file on a usb flash stick. you can rename the txt file to .csv and then open the sorted logged data in excel.

website is : www.brig-elec.com

Cheers.

2
Technical support / Re:Serial Communication
« on: June 08, 2011, 02:48:05 PM »
Thanks.

The problem I was having was that the rx pin was pin # 3 on the datalogger I purchased. Since both the datalogger and the PLC were female ended RS232, a standard cable did not make this adjustment.

Cheers.

3
Technical support / Serial Communication
« on: June 08, 2011, 08:16:30 AM »
Hello.

I am trying to communicate with a datalogger vis RS232. The datalogger does not follow any standard protocols, but simply writes whatever is sent to it into a txt file.

According to the datalogge instructions, it requires the following format:
-Baud Rate 9600
- 8 bits
- no stop bits
- 1 parity bit
- disable flow control (if necessary)

What PLC commands can I use to customize this communication format.

Cheers.

4
Technical support / Problem with sequencer
« on: May 03, 2011, 02:10:59 PM »
Hello.

I have a question about my latter logic. My program is made so that when it starts I can press F2 (on key pad) to enter sequence 2. Then every consequitive answer should increment the latter logic. The problem I have is that when I enter the sequence 2 latter logic, if I press key 1 (on key pad) the program sends me to Seq2:31 in my program.

Seq2:0 only has a setLCD command in it.

Any thoughts.

Cheers

5
Technical support / ADC negative polarity
« on: January 26, 2011, 01:56:17 PM »
Hello.

I have a voltage input from -10V to 10V on my F1616 PLC. I only care about reading 0 to 10V. Can I just connect the input to the ADC directly, or do i need to eliminate the negative voltage via diode prior to connection to the ADC. I am concerned that the negative polarity might damage the ADC.

Please advice.

Thanks. :)

6
Technical support / TLserver using ethernet vs RS232
« on: April 14, 2010, 01:21:35 PM »
Hello Again.

Today I connected one of my computers to the PLC using ethernet. I succesfully uploaded the program using ethernet to the PLC with this computer.

I then moved the program to the "site computer" and connected it up using ethernet. When I tried to upload the program to the PLC, I got a whole bunch of warnings about my program. The warnings varied from "File is corupted" to "<custom function named> is already energized".

I then connected the "site computer" using RS232 and tried to download the same program. It was successful (no warnings).

Any ideas why I have such inconsistant preformance?

Thank you.

7
Technical support / problem with excel link 2.0
« on: April 13, 2010, 02:44:37 PM »
I am using excel link to log values that are measured in my PLC.

I have got excel link to work succesfully when loggin data into an excel spreadsheet named "Book1.xls" and stored in the "my documents" folder.

When I try to change the name of the excel spreadsheet, or simply change the folder where the excel spreadsheet being used is saved. I get an error message in my microsoft excel workbook when I run excel link 2.0

The error message states that it can not find "newname.xls". I get this message even if i have already opened the "newname.xls" prior to pressing the run button is excel link.

Is this a common problem? Am I doing something wrong? Does excel link work with the latest version of microsoft excel?

8
Technical support / Does Online Monitoring slow down the program
« on: February 11, 2010, 07:49:09 AM »
Hi.

I am trying to make a moving average filter that averages the first and last 60 samples of code. I am trying to sample 30  different thermocouples every second from my datalogger using RS485 at 9600 baud rate.

my program basically runs a for loop every second. THe for loop wraps 30 times saving the result of different addresses of the data logger each time it wraps.

I have viewed this using the online monitoring and have found it to take up to 5 seconds for the for loop to complete its 30 reps.

Is it acting slow because I am in online monitoring mode? Or is the PLC just not fast enough to perform this task? Or do you think  it is the 9600 baud rate that is the weakest link?


Thank you.



9
Technical support / communicating via ethernet port
« on: February 09, 2010, 08:42:16 AM »
Hi.

U an trying ot interface my PLC to a new(not same one as previous threads) data logger that uses an ethernet port. I have some questions regarding how to do this.

First, if im using the ethernet port will I still be using either ASCI or RTU modbus protocol? If so, can I still use the getmodbus function? If so, what is the comm port # for the Ethernet port on the F1616 PLC?

Thanks a bunch.

10
Hello.

I have been trying to set a trip related relay using a custom function that is run every half a second.

The code is as follows:

If C> P ' trip condition
SetBIT Relay[2],15 ' trip relay
ENDIF

in latter logic I have the relay set to latch and activate a Master reset function.

However, it seems that the relay contact never closes outside the custom function.

Can you tell me what I am doing wrong?

Thank you and best regards.

11
Technical support / Re:10s CLock
« on: January 28, 2010, 11:44:41 AM »
thanks, that solved it

12
Technical support / 10s CLock
« on: January 28, 2010, 09:12:23 AM »
Is their a way to have a clock contact for 10s instead of 1 s or 1 minute? :D

13
Technical support / Excel Link
« on: January 26, 2010, 12:38:20 PM »
Does anyone know how I can log a history of data inported from my PLC to excel. I was thinking about creating a macro that inputs a row everytime that the top is full, but I want to know if excel link has any built in functionality that would allow me to log the information without erasing the previous entry.

14
Technical support / Program Question
« on: January 26, 2010, 09:28:52 AM »
Will the program execute more than one custom function at  a time. I want to incriment a clock every second. But at the same time in anouther custom function I have a while loop to wait for enter to be pressed. Does this stop my clock counter?

-||------------------------------------------Incriment clock every 0.1s

-||------------------------------------------wait in while loop until enter is pressed then print message.

15
Technical support / Re:RS 485 Modbus programming
« on: January 22, 2010, 10:38:50 AM »
For anyone following this thread.

I have found out why I was unable to get the input registers of the data logger (39007) even though I was sucessfully communicating (according to the indicator lights).

I needed to use the setsystem command so that I could set the default modbus command to function 4. This allows me to use the zero biase address off 30000 instead of 40000.

The command was entered on first scan is Setsytem 6,4

Well, off to the next problem.

Pages: [1] 2