3 - 50
3. CC-LINK COMMUNICATION FUNCTIONS
(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.
Checks data link status of station No.2.
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.
Write command
Turns off 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 ...