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

Pages: [1]
1
Technical support / Danish chars
« on: September 06, 2004, 12:35:42 PM »
Hi

I need to send the danish character "?" ascii 248 to a modem.

In the view variables window it displays ? but the modem doesnt send it.

Is it the modem or the plc ??

Regards
Anders

2
Technical support / COM 1 pin layout.
« on: June 13, 2004, 01:05:33 PM »
Hi.

Where do i find the pin layout for COM 1 on the T100MD ??

Regards
Anders

3
Technical support / Re:Arguments to custom functions
« on: April 28, 2004, 10:31:56 PM »
Thanks

Another question... Is it possible to monitor a custom function ??

Anders

4
Technical support / Arguments to custom functions
« on: April 28, 2004, 11:50:49 AM »
Hi.

Is it possible to use arguments and returnvalues from custom functions ??

Regards
Anders

5
Technical support / Cant connect to COM3 (RS485)
« on: April 20, 2004, 11:20:45 AM »
Hi.
 
Im using a T100MD to communicate with a modem.
 
I have some problems and need to online-monitor the program while the modem is connected.
 
I want to monitor via com3 (rs485) and have connected a rs232/485 converter to the PC

I have set the baudrate in the plc -> setbaud 3,$H04 and tls server can connect to com1 using the same settings.
 
This is the converter:
http://www.esis.com.au/Converters/IC-485S_Converter.htm
 
And this is the manual:
http://www.gramjuhl.dk/ic485si.pdf
 
 
 
My questions:
 
Do I need a terminating resitor, my cable is about 1 meter long.?
Witch pins shall i use on the converter ?
How shall i posistion the DIP switches ?
 
 
I hope that you can help even though it is not a converter you sell :-)
 
Regards from Denmark
Anders Kj?r

6
Technical support / Re:Instr function
« on: April 19, 2004, 01:12:16 AM »
I've made my ovn instr cust function.

l = len(a$)
x$ = "start"
a = 0
for i = 1 to l

   for j = 1 to 15
      b$ = mid$(a$,i,j +1)
      b$ = strlwr$(b$)

      if strcmp(b$,x$) = 0 then
         a = 1
   
      else
         
      endif

   next
next


Hope someone else also can use it.

Regards
Anders

7
Technical support / Instr function
« on: April 18, 2004, 11:37:59 AM »
Hi.

I receive a string from a modem.

The format is:
xxxx,yyy,,pnoneno, xyxyxy, text
or
xxxx,yyy,,pnoneno, xyxyxyxyxy, text

I need to obtain the caracters after the last ","

In VB i would do it like:

a = xxxx,yyy,,pnoneno, xyxyxyxyxy, text
b = right(a,len(a) - instrrev(a,","))

How do i do it with the MD 100 ??

Regards
Anders

Pages: [1]