Mitsubishi Electronics MR-J3 Car Amplifier User Manual


 
App. - 20
A
PPENDI
X
(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).