App. - 14
APPENDIX
(2) Writing the parameter
The following shows a program example when two stations are occupied.
Change parameter No.PC12 (JOG speed) of the servo amplifier of station 2 to "100".
The parameter group PC is specified as follows.
Code No.
Description
8200h Parameter
group
selection
Set data
Description
H0002
Set data (hexadecimal)
The parameter No.12 is changed to "100" as follows.
Code No.
Description
H820C
Parameter No.PC12 write (hexadecimal)
Set data
Description
K100
Set data (decimal)
Write the data to the parameter No.PC12 by turning on X20.
The respond code at instruction code execution is set to D2.
Reads remote input (RX20 to RX5F) of buffer
memory to M200 to M263.
Writes M100 to M163 to remote output (RY20 to
RY5F) of buffer memory.
Write command
Writes parameter group No. write (H8200) to
RWw6 and parameter group PC (H0002) to
RWw7.
Turns on instruction code execution demand
(RY29).
Turns off instruction code execution demand
(RY29) when instruction code execution
completion (RX29) turns on.
Writes parameter No.PC12 write (H820C) to
RWw6 and data (K100) to RWw7.
Turns on instruction code execution demand
(RY29).
Reads RWw6 to D2 when instruction code
execution completion (RX29) turns on.
Turns on instruction code execution demand
(RY29).
Содержание Melservo-J3 Series MR-J3-B
Страница 19: ...10 MEMO ...
Страница 55: ...1 36 1 FUNCTIONS AND CONFIGURATION MEMO ...
Страница 61: ...2 6 2 INSTALLATION MEMO ...
Страница 179: ...4 58 4 SIGNALS AND WIRING MEMO ...
Страница 241: ...5 62 5 OPERATION MEMO ...
Страница 357: ...10 16 10 SPECIAL ADJUSTMENT FUNCTIONS MEMO ...
Страница 385: ...11 28 11 TROUBLESHOOTING MEMO ...
Страница 397: ...12 12 12 OUTLINE DRAWINGS MEMO ...
Страница 755: ...17 70 17 SPEED CONTROL OPERATION MEMO ...
Страница 793: ...App 38 APPENDIX MEMO ...
Страница 799: ...MEMO ...