3 - 49
3. CC-LINK COMMUNICATION FUNCTIONS
3.7.5 Writing the data
This section explains the programs for writing various data to the servo amplifier.
(1) Writing the servo motor speed data of point table
Change the servo motor speed data in the point table No.1 of the servo amplifier of station 2 to "100".
The following shows a program example for writing data to the servo amplifier when two stations are
occupied. Writing in this procedure is disabled for the servo amplifier when one station is occupied.
Code No.
Description
H8D01
Write of servo motor speed data of point table No.1
(hexadecimal)
Set data
Description
K100
Servo motor speed data of point table No.1
(decimal)
Write the data to the servo motor speed data of point table No.1 by turning on X20.
The respond code at instruction code execution is set to D2.
Turns on instruction code execution demand
(RY29).
Reads respond code (RWr6) to D2 when
instruction code execution completion (RX29)
turns on.
Checks data link status of station No.2.
Writes speed data (H8D01) of point table No.1
to RWw6, and speed data (K100) to RWw7.
Write
command
In position
Turns off instruction code execution demand
(RY29).
Summary of Contents for Melservo-J3 Series MR-J3-B
Page 19: ...10 MEMO ...
Page 55: ...1 36 1 FUNCTIONS AND CONFIGURATION MEMO ...
Page 61: ...2 6 2 INSTALLATION MEMO ...
Page 179: ...4 58 4 SIGNALS AND WIRING MEMO ...
Page 241: ...5 62 5 OPERATION MEMO ...
Page 357: ...10 16 10 SPECIAL ADJUSTMENT FUNCTIONS MEMO ...
Page 385: ...11 28 11 TROUBLESHOOTING MEMO ...
Page 397: ...12 12 12 OUTLINE DRAWINGS MEMO ...
Page 755: ...17 70 17 SPEED CONTROL OPERATION MEMO ...
Page 793: ...App 38 APPENDIX MEMO ...
Page 799: ...MEMO ...