the tool coordinate system of a 6 DOF robot
- chuchengbing
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 0
20 Jun 2016 12:30 #76313
by chuchengbing
Replied by chuchengbing on topic the tool coordinate system of a 6 DOF robot
Hello andypugh:
Sorry for disturbing you again,yes,you are right, I use the function EC_READ_S32 to read the value of 0x6064. I find that, when the value is 1 in decimal and the value from 6064 is just 0x1 in hex, the value is 0 in decimal and the value from 6064 is 0x0 in hex, when it changed to -1, the value from 6064 is FFFF while is not FFFFFFFF which FFFF in 32bit is 65535 and FFFFFFFF in 32bit is just -1, when the value is changing to -2 , the value from 6064 is just be correct and is FFFFFFFE;
I don't know this reason. I find that I have some problems to read the source code!!
Sorry for disturbing you again and again , I am really new to this.
Sorry for disturbing you again,yes,you are right, I use the function EC_READ_S32 to read the value of 0x6064. I find that, when the value is 1 in decimal and the value from 6064 is just 0x1 in hex, the value is 0 in decimal and the value from 6064 is 0x0 in hex, when it changed to -1, the value from 6064 is FFFF while is not FFFFFFFF which FFFF in 32bit is 65535 and FFFFFFFF in 32bit is just -1, when the value is changing to -2 , the value from 6064 is just be correct and is FFFFFFFE;
I don't know this reason. I find that I have some problems to read the source code!!
Sorry for disturbing you again and again , I am really new to this.
Please Log in or Create an account to join the conversation.
20 Jun 2016 13:06 #76316
by andypugh
Replied by andypugh on topic the tool coordinate system of a 6 DOF robot
That is very strange. It sounds like a problem at the driver end,
though perhaps it is a problem in the serial protocol.
Is the output for -1 actually 0000FFFF or is it actually a shortened sequence?
though perhaps it is a problem in the serial protocol.
Is the output for -1 actually 0000FFFF or is it actually a shortened sequence?
Please Log in or Create an account to join the conversation.
- chuchengbing
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 0
20 Jun 2016 14:22 - 20 Jun 2016 14:25 #76318
by chuchengbing
Replied by chuchengbing on topic the tool coordinate system of a 6 DOF robot
Thanks.
I will give you my hal file and I send a private mail to you and it is great that you will check it.
BTW, FFFF in 16 bit is -1..
I will give you my hal file and I send a private mail to you and it is great that you will check it.
BTW, FFFF in 16 bit is -1..
Last edit: 20 Jun 2016 14:25 by chuchengbing.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds