Yaskawa NS300 User Manual
Page 15

Subject: Technical Note
Product: NS300/NS500
Doc#: eng.MCD.05.106
Title: NS300/500 Master Ladder Example
May 9, 2007
Page 15
of 16
Working registers and selecting the proper data to place in output bytes 2-3
Loading the proper data into output bytes 2-3 requires the use of an accumulator. For motion commands, output
bytes 2-3 are bit settings, but for set/read commands, output bytes 2-3 combine to become a word type register.
If the command is a set/read command and, more specifically, a parameter read or parameter write command,
the parameter value from MW00014 is loaded to the accumulator once the MOD_R response bit from the
NS300/500 is acknowledged. If the command is any other set/read command, the accumulator is loaded with
zero. Motion command bits are set in a working register, DW00016, and then loaded to the accumulator for
motion commands.
Line 48
Line 47
Line 46
Motion command bits set in
NS_Bytes_2_3_Working
DW00016
Parameter number for Set/
Read commands loaded to
MW00014
Accumulator
loaded with zero
Set/Read
command?
Accumulator loaded with
NS_Bytes_2_3_Working
Parameter
Read/Write?
No change to
accumulator
(still zero)
Accumulator
loaded with
parameter number
Accumulator loaded into
NS300_BytesOut_2_3
No
Yes
No
Yes
MOD_R
active?
Fig 12. Output Bytes 2-3 Data Selection Process