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 - martin.degrave

Pages: [1]
1
Technical support / Encoder
« on: April 25, 2013, 03:57:56 AM »
Hi,

I am using a HSC to read the value of a quadrature encoder.

I would like to reset the value HSC[1] when I set DM.

Can you help me?

Many thanks

Martin

2
Technical support / Re:Modbus RTU communication
« on: February 22, 2013, 02:09:50 AM »
Thank you for your response

I just added the SETSYSTEM 6,6 and that works

3
Technical support / Modbus RTU communication
« on: February 21, 2013, 08:19:47 AM »
Hi,

I am using a TRI-PLC FMD88-10 and I am trying to communicate with a drive (optidrive E2). I use the RS485 serial port with the RTU protocol.
The drive parameters are : address : 1, baud rate : 38400 and time out : 100ms.

So, I wrote this :

' WRITE PARAMETERS TO THE DRIVE
WRITEMODBUS 13,1,0,DM[5] 'Command word
WRITEMODBUS 13,1,1,DM[6] 'Speed reference


' READ PARAMETERS FROM THE DRIVE
DM[1] = READMODBUS(13,1,5)'Status word
DM[2] = READMODBUS(13,1,6)'Motor real speed
DM[3] = READMODBUS(13,1,7)'Motor current
DM[4] = READMODBUS(13,1,23)'Drive temperature


I can read all the values but I can't write anything.

Do you see any mistakes?

Many thanks

Martin Degrave

Pages: [1]