EasyManua.ls Logo

DMM DYN4 Series - Page 63

DMM DYN4 Series
82 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
63
DMM Technology Corp.
DYN4 AC Servo Drive Instruction Manual
REV. ZM7-A10A
CT1
■ EXAMPLE 4
Condition:
Make 3th axis motor move -120(steps) from right now position, ID = 3.
Method:
-120 = 0x88 = 0xff88 < -63,Two byte data.
0xff88 = 0x1111 1111 1000 1000:
Lower 7bits = 000 1000 = 0x08 Higher 7bits = 0111 1111 = 0x7f
Use function Go_Relative_Pos(=0x03), Packet Length = 5.
B4 = 0x03;
B3 = 0x80 +(PacketLength-4)*32 + Go_Relative_Pos = 0x80 +0x04 =0xa3.
B2 = 0x80 + 0x7f = 0xff
B1 = 0x80 + 0x08 = 0x88
S = B4 + B3 + B2 + B1 = 0x03 + 0xa3 + 0xff + 0x88 = 0x22d
B0 = 0x80 + Mod(S , 128) = 0x80 + 0x2d = 0xad
■ EXAMPLE 5
Condition:
Make 2th axis motor turn at 60rpm, ID = 2.
Method:
Speed is 60, One Byte data is enough, 60 = 0x3c. Packet Length = 4.
B3 = 0x02;
B2 = 0x80 +(PacketLength-4)*32 + Turn_ConstSpeed = 0x80 + 0x0a = 0x8a
B1 = 0x80 + 0x3c = 0xbc
S = B3 + B2 + B1 = 0x02 + 0x8a + 0xbc
B0 = 0x80 + Mod(S , 128) = 0xc8
■ EXAMPLE 6
Condition:
Make 2th axis motor turn at -60rpm, ID = 2. Speed is -60 = 0xc4 = 0x1100 0100 > -63, One byte data 7bits =
0x0100 0100 = 0x44. Packet Length = 4.
Method:
B3 = 0x02;
B2 = 0x80 +(PacketLength-4)*32 + Turn_ConstSpeed = 0x80+0x40+0x0a = 0x8a
B1 = 0x80 + 0x44 = 0xc4
S = B3 + B2 + B1 = 0x02 + 0x8a + 0xc4 = 0x150
B0 = 0x80 + Mod(S , 128) = 0x80 + 0x50 = 0xd0
7.7 Application Examples

Table of Contents