Register summary – Yaskawa NS300 User Manual
Page 4

Subject: Technical Note
Product: NS300/NS500
Doc#: EM.MCD.05.106
Title: NS300/500 Master Ladder Example
Doc#: Copyright Yaskawa Electric America
©2004
May 9, 2007
Page 4 of 16
Register Summary
The chart below shows the assignment of the global and I/O registers used in the example program. Local
registers are used throughout the program, but are not listed in this chart. This chart contains the registers
accessed directly by the user.
Table 2. Example Master Ladder Register Addressing
Input
Function
Input Bit
Bit
Symbol
Functionality
Input 0
IB00000
MB00000
PLC_ESTP
N.C. E-stop
Input 1
IB00001
MB00001
PLC_SVON
Enables Servo
Input 2
Alarm Reset
IB00002
MB00002
PLC_ALARM_RESET
Clears NSxxx Alarm
Input 3
Start
IB00003
MB00003
PLC_COMMAND_START Starts motion command
Input 4
Direction
IB00004
MB00004
PLC_DIR
Selects forward/reverse
Input 5
Inc/Abs
IB00005
MB00005
PLC_ABS_INC
Incremental or absolute
Input 6
Hold
IB00006
MB00006
PLC_HOLD
Pauses motion command
Input 7
Cancel
IB00007
MB00007
PLC_CANCEL
Cancels motion command
Register
Setting
MW00002
0
MW00003
1
ML00004
2
PLC_STEP_NUMBER
ML00006
3
PLC_STATION_NUMBER
ML00008
4
PLC_POINT_TABLE_ROW
ML00010
5
PLC_TARGET_POSITION
ML00012
6
PLC_PARAMETER_NUMBER
MW00014
7
PLC_PARAMETER_DATA
ML00016
8
PLC_CURRENT_POSITION_SET
ML00018
9
10
Read Parameter
11
Write Parameter
12
Set Current Position
13
Set Zero Point
14
Read Alarm
15
Reset Module
PLC_COMMAND_SELECT
PLC_RESPONSE_CODE
PLC Command Bits
Bits to be controlled by PLC program
MP940D Local I/O Inputs
User inputs to simulate PLC signals
Symbol
/E-Stop
Servo On
PLC Command Registers
Command data loaded into these registers
Station
Point Table
Zero Point Return
Positioning
PLC_RESPONSE_CODE Settings
Determines meaning of response message
Follow response code settings as listed in user's manual.
External Positioning
Notch Output Positioning
Multi-Speed Positioning
Description
No operation
Feed
Step
PLC_COMMAND_SELECT Settings
Value to be loaded for type of motion command
PLC_FEED_SPEED