JVL MAC050 User Manual page 407

Integrated servo motors
Hide thumbs Also See for MAC050:
Table of Contents

Advertisement

6.11
MacTalk communication
6.11.2
Writing to a register
Controller sends
<Write><Address><RegNum><Len><Data><End>
Block description
Block Name
<Write>
<Address>
<RegNum>
<Len>
<Data>
<End>
<Accept>
(1) Protected means that these data must be sent twice, first non-inverted and then inverted.
Example 1:
Writing 600 (258h) to register 5 (16 bit) to the MAC motor with address 8.
Transmit:
Response:
Example 2:
Write 230,000 (38270h) to register 3 (32 bit) to the MAC motor with address 7.
Transmit:
Response:
JVL A/S - User Manual - Integrated Servo Motors MAC050 - 4500
Protected
Example
(1)
No
52h,52h,52h
Yes
07h,F8h (Address 7)
Yes
05h,FAh (RegNum 5)
Yes
02h,FDh (Len = 2)
E8h,17h, 03h,FCh
Yes
(Data = 1000)
No
AAh, AAh
No
11h, 11h,11h
52h, 52h, 52h - 08h, F7h - 05h, FAh - 02h, FDh - 58h, A7h, 02h, FDh -
AAh, AAh
11h, 11h, 11h
52h, 52h, 52h - 07h, F8h - 03h, FCh - 04h, FBh -70h, 8Fh, 82h, 7Dh, 03h,
FCh, 00h, FFh - AAh, AAh
11h, 11h, 11h
Only MAC050 to 141
MAC motor response
<Accept>
Description
Write command
The address of the MAC motor
The register number to write to
The number of data bytes
The data to write to the register
Command termination
Accept from MAC motor
403

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents