Mitsubishi Electric MELSERVO-J3 Series Instruction Manual page 111

Hide thumbs Also See for MELSERVO-J3 Series:
Table of Contents

Advertisement

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.
8200h
Set data
H0002
The parameter No.12 is changed to "100" as follows.
Code No.
H820C
Set data
K100
Write the data to the parameter No.PC12 by turning on X20.
The respond code at instruction code execution is set to D2.
Write command
Description
Parameter group selection
Description
Set data (hexadecimal)
Description
Parameter No.PC12 write (hexadecimal)
Description
Set data (decimal)
3 - 50
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.
Turns off instruction code execution demand
(RY29).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents