3 - 46
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 speed block No. 1 of the servo amplifier of station 2 to "100".
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)
The answer code at instruction code execution is set to D2.
Reads remote input (RX20 to RX5F)
of buffer memory to M200 to M263.
Writes speed data (H8D01) of point table
No. 1 to RW
W6
, and speed data (K100) to
RW
W7
.
Turns on instruction code execution
demand (RY29).
Reads RW
R6
to D2 when instruction
code execution completion (RX29) turns on.
Turns off instruction code execution
demand (RY29).
In position
Read setting
Writes M100 to M163 to remote output
(RY20 to RY5F) of buffer memory.
Содержание MELSERVO MR-J3-xT
Страница 22: ...8 MEMO ...
Страница 156: ...4 46 4 SIGNALS AND WIRING MEMO ...
Страница 276: ...7 26 7 MR Configurator MEMO ...
Страница 324: ...10 16 10 SPECIAL ADJUSTMENT FUNCTIONS MEMO ...
Страница 418: ...14 66 14 OPTIONS AND AUXILIARY EQUIPMENT MEMO ...