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

Pages: [1] 2
1
Open Discussion / Re: Modbus propertie/settings
« on: August 07, 2018, 03:40:03 AM »
Good morning Archie,

That did the trick.   thank you for your fast reply.

Greets

Martinus

2
Open Discussion / Modbus propertie/settings
« on: August 06, 2018, 09:49:49 AM »
Hi to you al,

Maybe it's a stupid question but i searched the forum for it and i can seem to find it.

I'm using the modbus rtu connection. this is al working just fine in combination with my Schneider servo drive :-) .

Is it possible to make/use dropdown textbox so we can do de settings/properties when the aplication is running.
and not that is starting up right away.

So baudrate, commport, speed......

Hope you understand my question

greets
Martinus

3
Hello Archie,

Thanks for your answer.

I wil give it a try asap.

Wil let you know how it go's


greets

Martinus

4
Hello to everybody,

I have a lot working now and....its possible to let the servo drive do positionings and reference as wel as speed and jog profiles.

Now i'm trying to build some own function ( with a class) ...... with normal functions there is no problems.
But what i would like to have is the possibility to use the modbusRTU from my own class.vb

How would i go about this.

Many thanks for your answer you guys

greets

martinus


5
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 24, 2014, 10:20:17 AM »
Ok,

Did some further testing with a clean solution.

When i put my servo drive in  setting 1 then i can make sense of it

0: HighWord-LowWord
1: LowWord-HighWord

The speed wich i'm reading is oke but the position i have to divide by 8 to get the correct answer.

tonight i wl do some more testing

Greets

Martinus

6
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 24, 2014, 09:40:27 AM »
Hi archie,

The position is a int32 and speed is int16

greets

Martinus

7
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 24, 2014, 07:30:27 AM »
Hello Archie,

There is no error while reading the large negative value's :-) thats a good thing.
unfortunally there isd a unwanted side affect.

With the previous version of advancedHMI i could read the actual position from my servo drive and display it.
With the latest version i can read the actual position but the value i get back is not right.

This is the same with the speed, the value is a 8 numbered value wich i can't covert or recalculate to the right speed.

I wil do some more testing to see if i can put my finger on the problem

Martinus

8
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 20, 2014, 08:17:23 AM »
Hello archie,

Good to hear that you found a problem...or not good :-)

Do you have a idea when the next versin wil be  released?

Thanks

Martinus

9
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 17, 2014, 01:07:28 PM »
Did you use an upper case "L"?

The address should be L47696

Hi Archie,

yes i used a capital L


10
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 17, 2014, 08:14:41 AM »
Hi Archie,

I have tried but no luck.

I have used a blank advancedhmi solution, made the changes in the code
put in a modbusrtu with a basiclabel with plcvalue l47696

The parameter which i'm reading
_n_act (actual speed of motor)

INT32       CANopen 606C:0h
INT16       Modbus 7696
R/-

greets

Martinus

11
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 16, 2014, 05:23:51 AM »
Hello archie,

I wil try as soon as i have time, now its sunday time for the birthday party of my son

greets

Martinus

12
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 15, 2014, 09:07:14 AM »
Hello Archie,

Sorry for the troubles but unfortunate this code is nor working either.

Al the read value turn to zero "0"


Is there anything i could do to help


greets

martinus

13
Support Questions / Re: Problem reading negative value modbusrtu?
« on: November 15, 2014, 07:53:53 AM »
With it stopped at this line can you hover the cursor over "rawdata" to see what the values are.

Hi Archie,

I have tested the code but then al retreived values are zero "0" nothing works then anymore.


As for the raw data value;
-      rawData   Count = 4   
      (0)   255   Byte
                (1)   255   Byte
                (2)   255   Byte
                (4)   255   Byte

Hope this helps out

Greets

Martinus


14
Support Questions / Problem reading negative value modbusrtu?
« on: November 14, 2014, 12:18:47 PM »
Hello,

I think i found a problem when i'm trying to read a negative value.

When my servodrive is running clockwise the value is positive and there is problem
But when my servodrive is running counter clockwise i get a error.

For error see attachment

How can i solve this?

Greets

Martinus

15
Support Questions / Re: Writing value with modbusrtu function code 16
« on: November 09, 2014, 05:35:38 AM »
Hi Archie,

Thanks for the reply :-)

Made a small change to your code to get it to work
Code: [Select]
dataPacket.Add(x(3))
                    dataPacket.Add(x(2))
                    dataPacket.Add(x(1))
                    dataPacket.Add(x(0))

Now it works

Thanks

Martinus

Pages: [1] 2