Data Transmission Function Manual NX - 100
Data Transmission Function Manual NX - 100
Data Transmission Function Manual NX - 100
Data Transmission
Function Manual
Motoman, Incorporated
805 Liberty Lane
West Carrollton, OH 45449
TEL: (937) 847-6200
FAX: (937) 847-6277
24-Hour Service Hotline: (937) 847-3200
The information contained within this document is the proprietary property of Motoman, Inc., and may not be
copied, reproduced or transmitted to other parties without the expressed written authorization of Motoman,
Inc.
©2006 by MOTOMAN
All Rights Reserved
Because we are constantly improving our products, we reserve the right to change specifications without
notice. MOTOMAN is a registered trademark of YASKAWA Electric Manufacturing.
Data Transmission
152388-1
Chapter 1
Introduction
Final page 1
Function Manual
Chapter 1 Introduction
Notes
page 2 Final
Data Transmission
152388-1
Chapter 2
Safety
2.1 Introduction
We suggest that you obtain and review a copy of the ANSI/RIA National Safety Standard for
Industrial Robots and Robot Systems. This information can be obtained from the Robotic Industries
Association by requesting ANSI/RIA R15.06-1999. The address is as follows:
Robotic Industries Association
900 Victors Way
P.O. Box 3724
Ann Arbor, Michigan 48106
TEL: (734) 994-6088
FAX: (734) 994-3338
INTERNET: www.roboticsonline.com
Ultimately, the best safeguard is trained personnel. The user is responsible for providing personnel
who are adequately trained to operate, program, and maintain the robot cell. The robot must not be
operated by personnel who have not been trained!
We recommend that all personnel who intend to operate, program, repair, or use the robot system be
trained in an approved Motoman training course and become familiar with the proper operation of the
system.
Final page 3
Function Manual
Chapter 2 Safety
This manual includes the following alerts – in descending order of severity – that are essential to the
safety of personnel and equipment. As you read this manual, pay close attention to these alerts to
insure safety when installing, operating, programming, and maintaining this equipment.
DANGER!
Information appearing in a DANGER concerns the protection of personnel from the immediate
and imminent hazards that, if not avoided, will result in immediate, serious personal injury or
loss of life in addition to equipment damage.
WARNING!
Information appearing in a WARNING concerns the protection of personnel and equipment from
potential hazards that can result in personal injury or loss of life in addition to equipment
damage.
CAUTION!
Information appearing in a CAUTION concerns the protection of personnel and equipment,
software, and data from hazards that can result in minor personal injury or equipment damage.
Note: Information appearing in a Note provides additional information which is helpful in understanding the item being
explained.
page 4 Final
Data Transmission
152388-1
All operators, programmers, plant and tooling engineers, maintenance personnel, supervisors, and
anyone working near the robot must become familiar with the operation of this equipment. All
personnel involved with the operation of the equipment must understand potential dangers of
operation. General safeguarding tips are as follows:
• Improper operation can result in personal injury and/or damage to the equipment. Only
trained personnel familiar with the operation of this robot, the operator's manuals, the system
equipment, and options and accessories should be permitted to operate this robot system.
• Do not enter the robot cell while it is in automatic operation. Programmers must have the
teach pendant when they enter the robot cell.
• Improper connections can damage the robot. All connections must be made within the
standard voltage and current ratings of the robot I/O (Inputs and Outputs).
• The robot must be placed in Emergency Stop (E-STOP) mode whenever it is not in use.
• In accordance with ANSI/RIA R15.06-1999, section 4.2.5, Sources of Energy, use
lockout/tagout procedures during equipment maintenance. Refer also to Section 1910.147
(29CFR, Part 1910), Occupational Safety and Health Standards for General Industry
(OSHA).
The safe operation of the robot, positioner, auxiliary equipment, and system is ultimately the user's
responsibility. The conditions under which the equipment will be operated safely should be reviewed
by the user. The user must be aware of the various national codes, ANSI/RIA R15.06-1999 safety
standards, and other local codes that may pertain to the installation and use of industrial equipment.
Additional safety measures for personnel and equipment may be required depending on system
installation, operation, and/or location. The following safety equipment is provided as standard:
• Safety fences and barriers
• Light curtains and/or safety mats
• Door interlocks
• Emergency stop palm buttons located on operator station, robot controller, and
programming pendant
Check all safety equipment frequently for proper operation. Repair or replace any non-functioning
safety equipment immediately.
Final page 5
Function Manual
Chapter 2 Safety
Safe installation is essential for protection of people and equipment. The following suggestions are
intended to supplement, but not replace, existing federal, local, and state laws and regulations.
Additional safety measures for personnel and equipment may be required depending on system
installation, operation, and/or location. Installation tips are as follows:
• Be sure that only qualified personnel familiar with national codes, local codes, and
ANSI/RIA R15.06-1999 safety standards are permitted to install the equipment.
• Identify the work envelope of each robot with floor markings, signs, and barriers.
• Position all controllers outside the robot work envelope.
• Whenever possible, install safety fences to protect against unauthorized entry into the work
envelope.
• Eliminate areas where personnel might get trapped between a moving robot and other
equipment (pinch points).
• Provide sufficient room inside the workcell to permit safe teaching and maintenance
procedures.
All operators, programmers, plant and tooling engineers, maintenance personnel, supervisors, and
anyone working near the robot must become familiar with the operation of this equipment. Improper
operation can result in personal injury and/or damage to the equipment. Only trained personnel
familiar with the operation, manuals, electrical design, and equipment interconnections of this robot
should be permitted to program, operate, and maintain the system. All personnel involved with the
operation of the equipment must understand potential dangers of operation.
• Inspect the robot and work envelope to be sure no potentially hazardous conditions exist. Be
sure the area is clean and free of water, oil, debris, etc.
• Be sure that all safeguards are in place. Check all safety equipment for proper operation.
Repair or replace any non-functioning safety equipment immediately.
• Do not enter the robot cell while it is in automatic operation. Be sure that only the person
holding the programming pendant enters the workcell.
• Check the E-STOP button on the programming pendant for proper operation before
programming. The robot must be placed in Emergency Stop (E-STOP) mode whenever it is
not in use.
• Back up all programs and jobs onto suitable media before program changes are made. To
avoid loss of information, programs, or jobs, a backup must always be made before any
service procedures are done and before any changes are made to options, accessories, or
equipment.
page 6 Final
Data Transmission
152388-1
• Any modifications to PART 1, System Section, of the robot controller concurrent I/O
program can cause severe personal injury or death, as well as damage to the robot! Do not
make any modifications to PART 1, System Section. Making any changes without the written
permission of Motoman will VOID YOUR WARRANTY!
• Some operations require standard passwords and some require special passwords. Special
passwords are for Motoman use only. YOUR WARRANTY WILL BE VOID if you use
these special passwords.
• The robot controller allows modifications of PART 2, User Section, of the concurrent I/O
program and modifications to controller parameters for maximum robot performance. Great
care must be taken when making these modifications. All modifications made to the
controller will change the way the robot operates and can cause severe personal injury or
death, as well as damage the robot and other parts of the system. Double-check all
modifications under every mode of robot operation to ensure that you have not created
hazards or dangerous situations.
• Check and test any new or modified program at low speed for at least one full cycle.
• This equipment has multiple sources of electrical supply. Electrical interconnections are
made between the controller and other equipment. Disconnect and lockout/tagout all
electrical circuits before making any modifications or connections.
• Do not perform any maintenance procedures before reading and understanding the proper
procedures in the appropriate manual.
• Use proper replacement parts.
• Improper connections can damage the robot. All connections must be made within the
standard voltage and current ratings of the robot I/O (Inputs and Outputs).
Final page 7
Function Manual
Chapter 2 Safety
Notes
page 8 Final
YASKAWA
NX100 OPTIONS
INSTRUCTIONS
FOR DATA TRANSMISSION FUNCTION
Upon receipt of the product and prior to initial operation, read these instructions thoroughly, and retain
for future reference.
MOTOMAN INSTRUCTIONS
MOTOMAN-!!! INSTRUCTIONS
NX100 INSTRUCTIONS
NX100 OPERATOR’S MANUAL
NX100 MAINTENANCE MANUAL
The NX100 operator’s manuals above correspond to specific usage.
Be sure to use the appropriate manual.
• General items related to safety are listed in the Section 1: Safety of the
NX100 Instructions. To ensure correct and safe operation, carefully
read the NX100 Instructions before reading this manual.
CAUTION
• Some drawings in this manual are shown with the protective covers or
shields removed for clarity. Be sure all covers and shields are replaced
before operating this product.
• YASKAWA may modify this model without notice when necessary due to
product improvements, modifications, or changes in specifications. If
such modification is made, the manual number will also be revised.
ii
Notes for Safe Operation
Read this manual carefully before installation, operation, maintenance, or inspection of the
NX100.
In this manual, the Notes for Safe Operation are classified as “WARNING”, “CAUTION”,
“MANDATORY”, or ”PROHIBITED”.
Even items described as “CAUTION” may result in a serious accident in some situations. At
any rate, be sure to follow these important items.
NOTE To ensure safe and efficient operation at all times, be sure to follow all instructions, even if
not designated as “CAUTION” and “WARNING”.
iii
WARNING
• Before operating the manipulator, check that servo power is turned OFF
when the emergency stop buttons on the front door of the NX100 and
programming pendant are pressed.
When the servo power is turned OFF, the SERVO ON LED on the program-
ming pendant is turned OFF.
Injury or damage to machinery may result if the emergency stop circuit cannot stop the
manipulator during an emergency. The manipulator should not be used if the emergency
stop buttons do not function.
• Once the emergency stop button is released, clear the cell of all items
which could interfere with the operation of the manipulator. Then turn
the servo power ON
Injury may result if anyone enters the P-point maximum envelope of the manipulator dur-
ing operation. Always press an emergency stop button immediately if there is a problem.
The emergency stop buttons are located on the right of the front door of the NX100 and
the programming pendant.
iv
CAUTION
• Perform the following inspection procedures prior to conducting manip-
ulator teaching. If problems are found, repair them immediately, and be
sure that all other necessary processing has been performed.
-Check for problems in manipulator movement.
-Check for damage to insulation and sheathing of external wires.
• Always return the programming pendant to the hook on the NX100 cabi-
net after use.
The programming pendant can be damaged if it is left in the manipulator’s work area, on
the floor, or near fixtures.
v
Descriptions of the programming pendant keys, buttons, and displays are shown as follows:
Programming Character Keys The keys which have characters printed on them are
Pendant denoted with [ ].
ex. [ENTER]
Symbol Keys The keys which have a symbol printed on them are
not denoted with [ ] but depicted with a small picture.
GO BACK
Axis Keys “Axis Keys” and “Numeric Keys” are generic names
Numeric Keys for the keys for axis operation and number input.
vi
1 Outline
1.1 DCI Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
1.2 Stand-alone Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
1.3 Host Control Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
3 DCI Function
3.1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
3.2 Commands for Job Transmission . . . . . . . . . . . . . . . . . . .3-1
3.2.1 LOADJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
" Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
" Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
3.2.2 SAVEJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
vii
"
Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
"
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.2.3 DELETEJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
" Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
" Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.2.4 SWAIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.3 Commands for Variable Transmission . . . . . . . . . . . . . . 3-4
3.3.1 LOADV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.3.2 SAVEV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
" Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.4 Registering DCI Instruction . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.5 Concurrent Tasks from Multiple Jobs . . . . . . . . . . . . . . . 3-7
3.6 DCI Parallel Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
" Parallel Execution Using NWAIT . . . . . . . . . . . . . . . . . . . . . 3-8
" Parallel Execution Using PSTART (Optional). . . . . . . . . . . . 3-9
3.7 Transmission Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3.7.1 Job Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
" Saving Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
" Loading Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.7.2 Variable Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
" Saving Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
" Loading Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
3.8 Axis Data Transmission Format . . . . . . . . . . . . . . . . . . . 3-14
3.9 Alarm Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
4 Stand-alone Function
4.1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2 Operation Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.3 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3.1 Selecting External Memory Unit . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3.2 Save . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
" Saving Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
" Saving File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.3.3 Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
" Loading Job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
" Loading File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.3.4 Job Selection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
" Single Selection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
" Related Selection Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
viii
"
Switching Selection Mode . . . . . . . . . . . . . . . . . . . . . . . . . .4-11
4.3.5 Selecting Job and Data File. . . . . . . . . . . . . . . . . . . . . . . . . . .4-12
" EACH Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-12
" BATCH Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-12
4.4 Transmission Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . .4-12
6 Data List
6.1 Header Number List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-1
6.2 Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6-4
ix
7 Comparison of Data Transmission Functions
x
1 Outline
The data transmission function is for communication with a host computer such as a personal
computer in BSC complying protocol.
The data transmission function adopts a serial transmission line and standard protocol, mak-
ing easy connection to a host computer.
The data transmission function is not only for transmission of job but also for controlling robot
system by a host computer using a set of commands.
The robot commands in the ASCII code command format are easy to use and helpful for a
quick development of necessary software to be run on the host computer.
The data transmission function is divided into the following three functions.
NX100
Host computer
(personal computer, etc.)
Data transmission
1-1
1.1 DCI Function
The DCI function executes instructions described in a job to perform data transmission with a
host computer. This function loads and saves jobs and variables.
NX100
Host computer
(personal computer, etc.)
Job
Execute
DCI Function
Delete
1-2
1.2 Stand-alone Function
The stand-alone function is for data transmission with host computer by operation on the pro-
gramming pendant. This function loads and saves jobs and condition data.
NX100
Host computer
Operation (personal computer, etc.)
Stand-alone Function
• Tool data
Load • Weaving data
• User coordinate data
Condition Data/
• Welding data
General Data
Transmission Save • Variable data
Verify
1-3
1.3 Host Control Function
The host control function is for loading and saving jobs, reading robot status, and controlling
the system by sending a command from a host computer.
NX100
Host computer
(personal computer, etc.)
Operation
• Tool data
File Data Load • Weaving data
Condition Data/
Transmission
General Data • User coordinate data
Function
Transmission • Welding data
Save
• Variable data
1-4
1.3 Host Control Function
• Start, hold
• Reset, cancel
• Job deletion
Robot Control
Function • Master job setup
• Job, line No. and step No. setup
• Mode and cycle selection
• Servo power supply ON/OFF
• Programming pendant interlock setup/
release
• Message display
• Joint motion and linear motion to a specified
System Control Cartesian coordinate system
• Linear motion by increments in a specified
coordinate system
• Joint motion and linear motion to a specified
joint coordinate system
• Conversion/reverse conversion of related
job of a specified job (Relative job function is
necessary)
• Write of specified user coordinate data
• Change of control group
• Change of task to be controlled
• Write of variable data
1-5
2.1 Remote Mode
The data transmission function can be used with NX100 in remote mode.
In remote mode, the operation is ordered from a host computer ; whereas in local mode, teach
mode, and play mode, the programming pendant is used for operating the system.
To switch to the remote mode or the local mode, either
The remote mode has two sub-modes ; “I/O remote enable” and “Command remote enable”.
Which sub-mode takes effect in remote mode is set in the pseudo input display. Refer to Sec-
tion 8 “Remote Function Setting”.
de
l mo Teach mode
ca
Lo
Remote mode
Play mode !I/O remote enable
!Command remote enable
2-1
2.1 Remote Mode
Local Mode Programming pendant The remote lamp is OFF, or “INHIBIT PP/
PANEL” in the pseudo input display is set to
invalid.
Remote Mode
I/O remote enable External I/O control board The remote lamp is ON, and “INHBIT IO” in
the pseudo input display is set invalid.
Command remote External computer The remote lamp is ON, and “CMD
enable REMOTE SEL” in the pseudo input display is
set valid.
In remote mode, usually operations of the programming pendant or the playback panel is
NOTE disabled, but they can be also enabled. To enable all operations, refer to Section 8
“Remote Function Setting”. To selectively enable some of the operations, set the parame-
ter S2C182. For details, refer to Section 6.2 “Parameter List”.
In remote mode, operations on the programming pendant are valid except the operation-
related entries. This holds true in “I/O remote enable” and “Command remote enable” sub-
modes. The concept is based on the conventional I/O control introduced to command control.
Note that the edit-related operations cannot be entered from more than one operating device.
In “Command remote enable” submode, to enable command remote controls only, issue the
HLOCK command. When the HLOCK command is ON, operations on the programming pen-
dant are valid only hold and emergency stop. Also the following I/O operations are disabled :
selection between remote mode and local mode, external start, external servo ON, cycle
selection, I/O prohibit, P.P/PANEL prohibit, and master job call. Other I/O operations are valid.
2-2
2.1 Remote Mode
To validate the read-only function in the above host control function, set the parameter RS005
to “1”. When the command remote is validated by pressing [REMOTE] with the read-only
function valid, the command remote status is entered so that all commands can be used.
When the command remote is invalidated by pressing [REMOTE] again, the read-only func-
tion becomes validated again.
Initial
Parameter Contents and Set Value
Value
The message in the remote display changes according to the remote function selection.
(Refer to Chapter 8 “Remote Function Setting”.)
2-3
2.2 Serial I/F Port Assignment
REMOTE
Read-only Function “Remote mode not specified” “CURR” and “PREV” are dis-
Valid played.
# : Valid, × : Invalid
The NX100 has one serial interface port. The FC1 protocol and the BSC complying protocol
(for data transmission function : option) can be assigned to the port to communicate with
external devices.
Initial
Parameter Contents and Set Value
Value
2-4
2.2 Serial I/F Port Assignment
CPU
TYPE JANCD-NCP01 POWERSUPPLY
DATE CPS-NX1
No.
REV DATE
FujiElectricCo.,Ltd.
JAPAN
01020304050607080910
LED SOURCE 11121314151617181920
21222324252627282930
0 1 +5VSB A B C D E F GH J K
L MN P Q R S T U V
PON
CNSP1
+5V
+24V
VIDEO
CNTU
OTHER
FAN
OHT
CNRI
CN05
(+24V1)
CNM
CNRO
CN04
(+24V2)
IDE
CNFAN
CN03
(TU)
ATX
USB1(L)
USB1(R) CN02 CN01
Cover
CNBAT
INPUT
PS2 200-240V AC
50/60Hz
3A
Bottom View
2-5
2.3 Parallel Operation of NX100
The NX100 is capable of parallel processing. For instance, it can check signals with program-
ming pendant while saving files to YASNAC FC2, or can edit files with the programming pen-
dant while monitoring operation status by the host control function.
The parallel operation has the following restrictions. When an operation against these restric-
tions is made, a warning message is displayed.
Operation Warning
DCI Alarm
2-6
2.4 Differences from MRC/XRC
The data transmission function in NX100 is intended to reuse basically the user applications
with succession to the data transmission of MRC/XRC.
There are some differences resulted from functional differences between the MRC/XRC and
the NX100.
2-7
2.5 Transmission Specifications
This section explains the transmission specifications for the data transmission.
Control Code
Meanings of Control Character
Character (hexadecimal)
2-8
2.5 Transmission Specifications
S S E
O HEADING T TEXT T BCC
H X B
S S E
O HEADING T TEXT T BCC
H X X
S E
T TEXT T BCC
X B
S E
T TEXT T BCC
X X
E
N
Q
E
O
T
N
A
K
ACK0
ACK1
2-9
2.5 Transmission Specifications
<Example>
S E
T TEXT T BCC
X X
0000 0101
0000 0000
0011 0110
1010 1100
1111 0001
+ 0000 0011
• Start of calculation : Calculation is started when SOH or STX used as the block start
sequence appears. These block start sequence are not included in
the sum. As for a STX led by a SOH, STX is included in the sum.
• End of calculation : Calculation is ended when ETB or ETX used as the block end
sequence appears, with the ETB or ETX included in the sum.
Start bit
Stop bit
b1 b2 b3 b4 b5 b6 b7 b8 bp
Parity bit
2-10
2.5 Transmission Specifications
S S E
O T TEXT T BCC
H X B
Subcode No.
, (comma)
Header No.
Timer B : Text reception monitoring timer. Serves as protection against no response of text
end character. Recommended value is 20 sec.
Timer B
Data Data
ACK1 Timer A ACK1
Timer B
EOT EOT
2-11
2.5 Transmission Specifications
Initial
Parameter Contents and Set Value
Value
2-12
2.5 Transmission Specifications
CD 1 Carrier detect
RD 2 Data receive
SD 3 Data send
RS 7 Request to send
CS 8 Sending enabled
FG 9 Protective grounding
2.5.10 Connection
Since the system is “null-modem”, connect the pins as shown below.
XCP01 board
SD 3 2 RD
RD 2 3 SD
RS 7 5 SG
CS 8 7 RS
SG 5 8 CS
9 FG
• Connect “RS” of the NX100 to “CS” of a host computer. This prevents data overrun when
reception processing speed of the NX100 cannot catch up with data sending from the
host computer. In other words, “RS” signal from the NX100 controls start-hold of data
transmission from the host computer. The sending interface controller must be capable of
coping with CS input displacement in units of a single byte.
2-13
3.1 Outline
3 DCI Function
3.1 Outline
The data communication by instruction (DCI) function loads, saves jobs and variables accord-
ing to an instruction that executes data transmission with a host computer. The DCI function
is classified as follows.
NX100
Host computer
(personal computer, etc.)
Job
Execute
3.2.1 LOADJ
" Function
Loads specified jobs as single or related jobs, from the external memory unit to the memory of
the NX100.
3-1
3.2 Commands for Job Transmission
" Configuration
• Specify input group numbers (BCD/BIN, parity specification), and variable numbers in the
same way as for the CALL command. If the pattern input value is 0, the operation is not
executed. A variable number 0 is valid.
• Unit of loading : Select either a single job (JBI) or related jobs (JBR)
• When the NWAIT is specified, the next instruction is executed without waiting completion
of job loading.
• While a job is being loaded by the LOADJ command for which NWAIT is specified, if an
access is attempted to a job called by the CALL command or JUMP command, an alarm
occurs. If a LOADJ or SAVEJ command has already been executed, a job is loaded after
completion of the execution.
3-2
3.2 Commands for Job Transmission
3.2.2 SAVEJ
" Function
Saves a specified job as single or related jobs, from the memory of the NX100 to the external
memory unit.
" Configuration
JOB:<Job name>
Unit of saving
SAVEJ IG#<Input group No.>
JBI, JBR
B<Variable No.>
NWAIT IF statement
• Specify input group numbers (BCD/BIN, parity specification), and variable numbers in the
same way as for the CALL command. If the pattern input value is 0, the operation is not
executed. A variable number 0 is valid.
• Unit of saving : Select either a single job (JBI) or related jobs (JBR).
• When the NWAIT is specified, the next command is executed without waiting completion
of job saving. When a LOADJ or SAVEJ command has already been executed, a job is
saved after completion of the execution.
3.2.3 DELETEJ
" Function
Deletes all jobs except its own job or specified jobs as single or related jobs, from the memory
of the NX100.
" Configuration
DELETEJ
Unit of
JOB:<Job name> deleting IF
JBI, JBR statement
• Unit of deleting : Select either a single job (JBI) or related jobs (JBR).
3-3
3.3 Commands for Variable Transmission
3.2.4 SWAIT
" Function
Waits for completion of loading or saving jobs or variables.
Use this command to recognize a completion of LOADJ, SAVEJ, LOADV, and SAVEV com-
mands when a NWAIT is specified for these instructions.
" Configuration
SWAIT
3.3.1 LOADV
" Function
Loads the specified global variables from an external memory unit to the NX100 memory.
" Configuration
3.3.2 SAVEV
" Function
Saves the specified global variables from the NX100 memory to a external memory unit.
" Configuration
3-4
3.4 Registering DCI Instruction
Operation Explanation
2 Move the cursor to the line In the job content display in teach mode, move the cursor to the
where an instruction is to be line just above the place where an instruction is to be registered.
registered in the job content CONTROL GROUP R1 TOOL 00 CO O
display. 0019 MOVJ VJ=50.00
DEVICE
0020 MOVL V=138
Line just above 0021 MOVL V=138 LOADJ MOTION
0022 MOVJ VJ=100.00
the place where 0023 DOUT OT#(1) ON SAVEJ ARITH
an instruction is 0024 MOVJ VJ100.00 LOADV SHIFT
0025 MOVL V=138
to be registered 0026 MOVL V=138 SAVEV OTHER
0027 MOVL V=138
DELETEJ SAME
3 Press [INFORM LIST]. The instruction list dialog is displayed. The cursor moves to the
instruction list dialog while the cursor in the address area
changed to an underline.
JOB CONTENT
IN/OUT
JOB NAME TEST STEP NO. 015
CONTROL GROUP R1 TOOL 00 CONTROL
0019 MOVJ VJ=50.00
DEVICE
0020 MOVL V=138
0021 MOVL V=138 LOADJ MOTION
0022 MOVJ VJ=100.00
0023 DOUT OT#(1) ON SAVEJ ARITH
0024 MOVJ VJ100.00 LOADV SHIFT
0025 MOVL V=138
0026 MOVL V=138 SAVEV OTHER
0027 MOVL V=138
DELETEJ SAME
SWAIT PRIOR
4 Select an instruction to be reg- The instruction where the cursor is positioned is displayed with
istered. the previously registered additional items in the input buffer line.
JOB CONTENT
IN/OUT
JOB NAME TEST STEP NO. 015
CONTROL GROUP R1 TOOL 00 CONTROL
0019 MOVJ VJ=50.00
0020 MOVL V=138
DEVICE
0021 MOVL V=138 LOADJ MOTION
0022 MOVJ VJ=100.00
0023 DOUT OT#(1) ON SAVEJ ARITH
0024 MOVJ VJ100.00 LOADV SHIFT
0025 MOVL V=138
0026 MOVL V=138 SAVEV OTHER
0027 MOVL V=138
DELETEJ SAME
SWAIT PRIOR
LOADV B000
3-5
3.4 Registering DCI Instruction
Operation Explanation
5 Change the additional items <To register items as displayed in the input buffer>
and variable data. Perform operation described in the step 6 below.
LOADV B000
LOADV B000
B=
LOADV
Enter a value, then press [ENTER]. The value displayed in the input
line is changed.
DETAIL EDIT
LOADV
VARIABLE B000
NWAIT UNUSED
LOADV B000
DETAIL EDIT
LOADV
VARIABLE B000
NWAIT NWAIT
UNUSED
3-6
3.5 Concurrent Tasks from Multiple Jobs
Operation Explanation
DETAIL EDIT
LOADV
VARIABLE B000 B
NWAIT UNUSED
I
O
R
P
6 Press [INSERT] and [ENTER]. The instruction displayed in the input buffer line is registered.
To register an instruction just before an END instruction, it is not
necessary to press [INSERT].
JOB CONTENT
IN/OUT
JOB NAME TEST STEP NO. 015
CONTROL GROUP R1 TOOL 00 CONTROL
0020 MOVL V=138
DEVICE
0021 MOVL V=138
0022 LOADV I000 MOTION
0023 MOVJ VJ=100.00
0024 DOUT OT#(1) ON ARITH
0025 MOVJ VJ100.00
SHIFT
0026 MOVL V=138
0027 MOVL V=138 OTHER
0028 MOVL V=138
SAME
PRIOR
As an option, commands related to DCI function can be executed from more than one job
simultaneously. The operations are explained below.
• The DCI related commands can be executed in any job regardless of distinction among
the ordinary job, concurrent job (option), or job activated in series (option).
• If two or more commands related to DCI function are issued concurrently, the execution
starts after completion of processing of the currently executing command. Therefore, if a
module issues a command request while another module is executing DCI function, the
request has to wait until the ongoing processing completes.
3-7
3.6 DCI Parallel Execution
By using the function described below, the DCI instruction can be executed in parallel with
general instructions such as a move instruction and operating instruction. When this function
is used, the robot can be moved or the calculation is executed during data transmission ; this
function is effective for reduction of tact time, etc.
NOP
MOVJ VJ=50.00
MOVJ VJ=50.00
LOADJ JOB:ABC JBI NWAIT $
MOVJ VJ=50.00 %
MOVJ VJ=50.00 &
SWAIT '
CALL JOB:ABC (
) ) )
END
In the above job, when the command $ is executed, loading of the host computer and the job
are executed. Normally, when NWAIT is not specified, the commands of % and after are not
executed until the job loading is completed. However, when NWAIT is specified, the com-
mands % and & are executed sequentially during the job loading ; at execution of SWAIT
command ', the execution of command ( is waited for the job “ABC” loading is completed.
At the time of completion of job “ABC” loading, the command ( is executed to execute the
job “ABC”.
At this time, if SWAIT command is not specified before the command (, the command ( is
executed during the loading of job “ABC”, and an alarm occurs. Therefore, be sure to verify
that loading is completed before executing a job to be loaded, by using SWAIT command.
To load/save variables, be sure to input a SWAIT command before using variables to be
loaded/saved as shown below.
(Correct) (Wrong)
NOP NOP
) ) ) ) ) )
LOADV B000 NWAIT LOADV B000 NWAIT
) ) ) ) ) )
SWAIT SET B001 B000
SET B001 B000
3-8
3.7 Transmission Procedure
[JOB:R1] [JOB:S1]
NOP NOP
MOVJ VJ=50.00 MOVJ VJ=50.00
MOVJ VJ=50.00 MOVJ VJ=50.00
PSTART JOB:S1 SUB1 $ END
LOAD JOB:ABC %
PWAIT &
CALL JOB:ABC '
END
When PSTART command $ is executed, the job “S1” starts execution in parallel with the job
“R1”. The job “ABC” is loaded by the command % during execution of the job “S1” ; when
loading is completed, the NX100 waits for the job “S1” to be completed by the command &.
When the execution of job “S1” is completed, the job “ABC” is executed by the command '.
3-9
3.7 Transmission Procedure
The data type is distinguished by the header number and the subcode number. Refer to the
header number list.
ENQ
ACK0
*1
SOH 02, 001 STX File name ETB BCC
ACK1
ACK0
Host computer
NX100
EOT
ENQ
ACK0
*3
SOH 90, 000 STX Data ETX BCC
ACK1
EOT
A request to send consists of a header number and a subcode number. Refer to the header
number list.
3-10
3.7 Transmission Procedure
At transmission, memory capacity is checked and if received data cannot be stored, an alarm
occurs. If the transmission itself is normal, reception is continued and an alarm is displayed
after the transmission is terminated. If an error occurs during reception, the job data will not
be stored.
ENQ
ACK0
*1
SOH 02, 051 STX File name ETX BCC
ACK1
EOT
ENQ
Host computer
ACK0
*1
NX100
ACK1
EOT
3-11
3.7 Transmission Procedure
ENQ
ACK0
*1
SOH 03,001 STX Data CR ETX BCC
ACK1
Host computer
EOT
NX100
ENQ
ACK0
*2
SOH 90,000 STX Data CR ETX BCC
ACK1
EOT
ENQ
ACK0
ACK1
Host computer
EOT
NX100
ENQ
ACK0
*1
SOH 03,001 STX Data CR ETX BCC
ACK1
EOT
3-12
3.7 Transmission Procedure
*1
Position type (robot axis) Pulse type or XYZ type depending on the internal setting status
global variable :
Pulse type
S, L, U, R, B, T (Unit : pulse)
(-999999999 to 999999999)
XYZ type
X, Y, Z, TX, TY, TZ, TYPE
d0 = 0 : Flip d0 = 1 : No flip
d2 = 0 : Up d2 = 1 : Back
Position type (base axis) Pulse type or XYZ type depending on the internal setting status
global variable :
Pulse type
1, 2, 3 (Unit : pulse)
(-999999999 to 999999999)
XYZ type
X, Y, Z (Unit : mm, significant 3 decimal points)
(-999999.999 to 999999.999)
If a stop operation (hold and emergency stop) is done during data transmission (while
jobs or variables are loaded or saved), the robot stops but the data transmission contin-
ues. In this case, the start lamp goes OFF. The restart will not be accepted until com-
pletion of the data transmission.
3-13
3.8 Axis Data Transmission Format
The NX100 data transmission function has the following restrictions on transmission of the
NX100 internal data.
The definition of the robot, base, and station axes is used as it is, free of the predetermined
axis data R1, B1, and S1.
<Example>
Transmission data of SAVEV in different system configurations are shown below.
• In a system having two base axes (X and Z) and three station axes
If BP005 is pulse type, 1st axis is 100 and 2nd axis is 200, and
EX005 is pulse type, 1st axis is 500, 2nd axis is 600, and 3rd axis is 700, then
SAVEV BP005 → 03, 007 100, 200, 500, 600, 700, 0
(Same as for SAVEV EX005)
If BP005 is XYZ type, X axis is 123.456, and Z axis is 234.567, and
EX005 is pulse type, 1st axis is 500, 2nd axis is 600, and 3rd axis is 700, then
SAVEV BP005 → 03, 008 123.456, 234.567, 500, 600, 700, 0
(same as for SAVEV EX005)
3-14
3.9 Alarm Codes
WRONG EXECUTION OF
4105
SAVE INST
WRONG EXECUTION OF
4106
DELETE INST
Data Contents
3-15
3.9 Alarm Codes
Data Contents
213 System block error (Receiving EOT before receiving the last block)
214 System block error (Receiving codes other than EOT before receiving the last block)
Receiving error (Timeup for timer A while waiting ACK after ENQ, timeup for timer A while
231
waiting ENQ response)
Receiving error (Receiving other than ENQ while waiting ENQ, receiving other than con-
237 trol code while waiting control code, receiving other than STX, SOH, ENQ, EOT while
waiting text)
3-16
4.1 Outline
4 Stand-alone Function
4.1 Outline
In stand-alone mode, the file data transmission function is available. By the operations on the
NX100 programming pendant, file data can be sent from the NX100 to a host computer such
as personal computer to be saved, and from a host computer to the NX100 memory to be
loaded.
Verify : Verifies data between the NX100 and the host computer and informs if some parts are
not matched.
NX100
Host computer
Operation (personal computer, etc.)
The following data can be transmitted between the NX100 and a host computer. System
information can be saved but not loaded.
• Job data
• Condition data/General data
• System information
4-1
4.2 Operation Flow
<Top menu>
{EXT MEM}
Sub menu
Select a
Select a data group
device
Select a data
Press "EXECUTE"
End
4-2
4.3 Operation
4.3 Operation
FLOPPY DISK/CompactFlash
DEVICE CompactFlash
FLOPPY DISK/CompactFlash
DEVICE FC1
FC2
PC
CompactFlash
FLOPPY DISK/CompactFlash
DEVICE PC
4-3
4.3 Operation
4.3.2 Save
The operation to transmit data from the NX100 to the external memory unit is explained in the
following.
FLOPPY DISK/CompactFlash
PC SAVE
JOB
FILE/GENERAL DATA
SYSTEM INFORMATION
FLOPPY DISK/CompactFlash
PC (SAVE) SINGLE NO. 7
TEST001 TEST002 TEST003
TEST004 TEST005 TEST006
TEST007
PAGE
4 Select the job to be saved. The select job is marked with “,“.
DATA EDIT DISPLAY UTILITY
FLOPPY DISK/CompactFlash
PC (SAVE) SINGLE NO. 7
TEST001 TEST002 TEST003
TEST004 TEST005 TEST006
TEST007
PAGE
4-4
4.3 Operation
Operation Explanation
FLOPPY DISK/CompactFlash
PC (SAVE) SINGLE NO. 7
TEST001 TEST002 TEST003
TEST004 TEST005 TEST006
TEST007
Save?
YES NO
PAGE
6 Select “YES”. The job starts to be saved, and the transmission display is shown.
DATA EDIT DISPLAY UTILITY
FLOPPY DISK/CompactFlash
PC (SAVE)
STOP
4-5
4.3 Operation
Operation Explanation
FLOPPY DISK/CompactFlash
PC (SAVE)
JOB
FILE/GENERAL DATA
SYSTEM INFORMATION
FLOPPY DISK/CompactFlash
PC (SAVE)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIABLE DATA VAR .DAT
ARC START COND DATA ARCSRT .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATA ARCSUP .DAT
POWER SOURCE COND. DATA WELDER .DAT
POWER SOURCE USER DEF DAT WELDUDEF .DAT
SHOCK DETECTION LEVEL SHOCKVL .CND
4 Select the file to be saved. The select file is marked with “,“.
DATA EDIT DISPLAY UTILITY
FLOPPY DISK/CompactFlash
PC (SAVE)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIBLE DATA VAR .DAT
ARC START COND DATA ARCSRT .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATA ARCSUP .DAT
POWER SOURCE COND. DATA WELDER .DAT
POWER SOURCE USER DEF DAT WELDUDEF .DAT
SHOCK DETECTION LEVLE SHOCKVL .CND
4-6
4.3 Operation
Operation Explanation
FLOPPY DISK/CompactFlash
PC (SAVE)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIABLE DATA VAR .DAT
ARC START COND DATA Save?
ARCSRT .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATAARCSUP .DAT
POWER SOURCE COND. DATAWELDER .DAT
POWER SOURCE USER DEFWELDUDEF
YES DAT .DAT
NO
SHOCK DETECTION LEVEL SHOCKVL .CND
PAGE
6 Select “YES”. The file starts to be saved, and the transmission display is shown.
FLOPPY DISK/CompactFlash
PC (SAVE)
STOP
4-7
4.3 Operation
4.3.3 Load
The operation to transmit data from the external memory unit to the NX100 is explained in the
following.
Operation Explanation
FLOPPY DISK/CompactFlash
PC (LOAD)
JOB
FILE/GENERAL DATA
SYSTEM INFORMATION
3 Select “JOB”. The display to input the job name to be loaded is shown.
FLOPPY DISK/CompactFlash
PC (LOAD)
EXEC
5 Select “EXEC”.
4-8
4.3 Operation
Operation Explanation
FLOPPY DISK/CompactFlash
PC (LOAD)
JOB
FILE/GENERAL DATA
SYSTEM INFORMATION
FLOPPY DISK/CompactFlash
PC (LOAD)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIABLE DATA VAR .DAT
ARC START COND DATA ARCSRT .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATA ARCSUP .DAT
POWER SOURCE COND. DATA WELDER .DAT
POWER SOURCE USER DEF DAT WELDUDEF .DAT
SHOCK DETECTION LEVEL SHOCKVL .CND
4 Select the file to be loaded. The selected file is marked with “,“.
FLOPPY DISK/CompactFlash
PC (LOAD)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIABLE DATA VAR .DAT
ARC START COND DATA ARCSRT .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATA ARCSUP .DAT
POWER SOURCE COND. DATA WELDER .DAT
POWER SOURCE USER DEF DAT WELDUDEF .DAT
SHOCK DETECTION LEVEL SHOCKVL .CND
4-9
4.3 Operation
Operation Explanation
FLOPPY DISK/CompactFlash
PC (LOAD)
TOOL DATA TOOL .CND
WEAVING DATA WEAV .CND
USER COORDINATE DATA UFRAME .CND
VARIABLE DATA VAR .DAT
ARC START COND DATA ARCSRT
Save? .CND
ARC END COND DATA ARCEND .CND
ARC AUXILIARY COND DATA ARCSUP .DAT
POWER SOURCE COND. DATA WELDER .DAT
POWER SOURCE USER DEF DAT WELDUDEF .DAT
YES NO
SHOCK DETECTION LEVEL SHOCKVL .CND
6 Select “YES”. The file is starts to be loaded, and the transmission display is
shown.
FLOPPY DISK/CompactFlash
PC (LOAD)
STOP
4-10
4.3 Operation
MOVJ VJ=100.00
Operation Explanation
external memory job list dis- Each time the page key is pressed, the displays in “single
PAGE
FLOPPY DISK/CompactFlash
PC (SAVE) SINGLE NO. 7
TEST001 TEST002 TEST003
TEST004 TEST005 TEST006
TEST007
PAGE
4-11
4.4 Transmission Procedure
Operation Explanation
PAGE
The transmission procedure is the same as for DCI function. Refer to Section 3.7 “Transmis-
sion Procedure”.
4-12
5.1 File Data Transmission Function
The NX100 supports the host control function which carries out the following file data transfer
or robot control according to the commands given by the host computer.
To use the host control function, the following settings should be made.
According to commands from a host computer, the host control function sends the stored data
of user memory of the NX100 to the host computer or receives data from the host computer.
The following data can be transmitted between the NX100 and a host computer. The system
information can be sent only to a host computer.
• Job data
• Condition file/General data
• System information
5-1
5.1 File Data Transmission Function
The data type is distinguished by the header number and the subcode number. Refer to the
header number list.
ENQ
ACK0
*3
SOH 02, 001 STX File name ETB BCC
ACK1
ACK0
NX100
STX Data ETX BCC
*1
ACK
EOT
ENQ
ACK0
*2
SOH 90, 000 STX Data ETX BCC
ACK1
EOT
*1 ACK0 or ACK1
*2 Normal completion : 0000CR (ASCII code)
Abnormal completion : “Integer except 0000”CR (ASCII code)
*3 File name : CR (File name does not include extension)
" Save
The transmission from the NX100 to a host computer proceeds as follows.
5-2
5.1 File Data Transmission Function
ENQ
ACK0
*2
SOH 02, 051 STX File name ETX BCC
ACK1
EOT
ENQ
Host computer
ACK0
NX100
SOH 02, 001 STX File name ETB BCC
ACK1
EOT
*1 ACK0 or ACK1
*2 File name : CR (File name does not include extension)
5-3
5.2 Robot Control Function
To control manipulators by a host computer, the host control function can executes the com-
mands listed in the outline.
1. The ENQ code is sent from the host computer to establish a data link.
2. After the data link is established, commands are sent. Commands and file data are
distinguished by the header number. Refer to the header number list. The transmis-
sion of a command should be completed in a single block. The NX100 cannot receive
divided single command, nor receive to execute more than one command in a single
block.
3. After the sending is completed, the host computer should get ready to receive. The
NX100 sends the ENQ code to establish a data link.
4. After the data link is established, the NX100 sends the response for the command and
terminates the transmission. The command format and the response format are
explained in the following.
For the command that requires returning data as a response, the response format at normal
completion of transmission is as shown in (2).
Command Format
SOH 01,000 STX COMMAND Data1, Data2, Data3 CR ETX BCC
Response Format
(1) SOH 90,000 STX {0000 or Error code} CR ETX BCC
0000 : Normal completion
Error code : Number with 4 digits other than 0000. In case of smaller than 1000, 0
is added before the number.
If the NX100 cannot execute the sent command, the NX100 returns an interpreter message.
An example of DELETE command (delete a job) is shown.
5-4
5.2 Robot Control Function
ENQ
ACK0
ACK1
Host computer
EOT
NX100
ENQ
ACK0
ACK1
EOT
Only Read
Read/Write Enabled
Enabled
Non-alarm/Non-error
Command Name Non-
Teach Mode Play Mode Alarm/ alarm/ Alarm/
Error Non- Error
Operat- Operat- error
Stop Stop
ing ing
RALARM . . . . . . .
RPOSC . . . . . . .
RPOSJ . . . . . . .
Read or
RSTATS . . . . . . .
Monitor
RJSEQ . . . . . . .
JWAIT . . . . A . A
RGROUP . . . . . . .
RJDIR . . . . . C C
Read or
RUFRAME . . . . . C C
Data
UPLOAD . . . . . C C
Access
SAVEV . . . . . C C
5-5
5.2 Robot Control Function
Only Read
Read/Write Enabled
Enabled
Non-alarm/Non-error
Command Name Non-
Teach Mode Play Mode Alarm/ alarm/ Alarm/
Error Non- Error
Operat- Operat- error
Stop Stop
ing ing
HOLD . . . . . C C
RESET . . . . . C C
CANCE . . . . . C C
MODE . . . . ./A*3 C C
CYCLE . . . . ./A*3 C C
Operation SVON 0 (OFF) . . . . . C C
SVON 1 (ON) . . . . A C C
HLOCK . . . . . C C
MDSP . . . . . C C
CGROUP . . . . . C C
CTASK . . . . . C C
DELETE . MOVE M M A C C
CVTRJ . MOVE M M A C C
CVTSJ . MOVE M M A C
Editing MOVE M C
WUFRAME . M A C
DOWNLOAD . ./MOVE*4 . ./MOVE*4 A C C
LOADV . . . . A C C
5-6
5.2 Robot Control Function
<Interpreter message>
. : Possible to execute
5-7
5.2 Robot Control Function
<Example>
Command RALARM
Response 0, 1234, 12, 0, 0, 0, 0, 0, 0
RPOSJ
Reads the current position in joint coordinate system.
5-8
5.2 Robot Control Function
<Example>
Command RPOSJ
Response 500, 2600, 1250, 10789, 624, 36, 0, 0, 0, 0, 0, 0
RPOSC
Reads the current position in a specified coordinate system. Whether there is an external axis
or not can be specified.
25 : User coordinate 24
• Data-9 to Data-14 are added only when “With external axis” is specified.
• If the specified user coordinate system is undefined, an error occurs.
• The data of type is represented by the following bit data coded into a decimal number.
5-9
5.2 Robot Control Function
D5 D4 D3 D2 D1 D0
0 : Flip 1 : No flip
0 : Upper arm 1 : Lower arm
0 : Front 1 : Back
0 : R<180 1 : R>=180
0 : T<180 1 : T>=180
0 : S<180 1 : S>=180
<Example>
Command RPOSC 2, 0
Response 100.0, 50, 34, 12.34, 180.0, 0, 0, 0, 0, 0, 0
RSTATS
Reads the status of mode, cycle, operation, alarm error, and servo.
Data-1
MSB LSB
Step
1 cycle
Auto
Running
Safety speed operation
Teach
Play
Command remote
Data-2
MSB LSB
<Example>
Command RSTATS
Response 1, 0
5-10
5.2 Robot Control Function
RJSEQ
Reads the current job name, line No. and step No.
<Example>
Command RJSEQ
Response WORK-A, 10, 5
JWAIT
JWAIT is for checking operations (job) of the manipulator. If a response is returned immedi-
ately after the job is started, in such a case with START command, completion of the job can-
not be known.
Specify a waiting time as an operand for JWAIT command.
No response is sent out until the operation of manipulator is completed or the specified waiting
time has elapsed. JWAIT returns as a response, the information whether the operation has
completed or not.
Waits for stop of job execution. The response varies depending on the following status.
<Status> <Response>
Stopped by hold, alarm, emergency stop, servo OFF during Not completed
waiting time
5-11
5.2 Robot Control Function
<Status> <Response>
<Example>
Command JWAIT 10
Response 0000
RGROUP
Reads the current control group set by CGROUP command or CTASK command, and the
task selection status.
Data-1 = Robot control group information. The control group information differs depending
on the number of manipulators in the system.
D15 D14 D13 D12 D11 D10 D09 D08 d07 D06 D06 D05 D04 D03 D02 D01 D00
R1: Robot 1
R2: Robot 2
R3: Robot 3
R4: Robot 4
5-12
5.2 Robot Control Function
Data-2 = Station control group information. The control group information differs depending
on the number of manipulators in the system.
D15 D14 D13 D12 D11 D10 D09 D08 d07 D06 D06 D05 D04 D03 D02 D01 D00
S1: Station 1
S2: Station 2
S3: Station 3
S4: Station 4
S5: Station 5
S6: Station 6
S7: Station 7
S8: Station 8
S9: Station 9
S10: Station 10
S11: Station 11
S12: Station 12
<Example>
Command RGROUP
Response 2, 1, 0
The above example shows that the current control group is robot1, robot 2 and station 1, and
the task selection status is master task.
If a parent job name is specified, RJDIR reads the name of related jobs excluding the parent
job. If there is no related child job, the command returns the null list. If the parent job has
related child jobs but they are not registered in the system, an error occurs.
5-13
5.2 Robot Control Function
<Example>
Command RJDIR MASTER-1
Response WORK-A, WORK-B, SAMPLE-1
RUFRAME
Reads a specified user coordinate data.
25 : User coordinate 24
5-14
5.2 Robot Control Function
<Example>
Command RUFRAME 2
Response 600.0, 12.34, 500.0, 180.0, 0.0, 0.0, 0, )))), 0
SAVEV
Sends variable data to a host computer.
Data-1 = Byte value / Integer value / Double precision integer value / Real number value /
Position data type
Position data type = 0 : Pulse type
1 : Cartesian type
5-15
5.2 Robot Control Function
Data-5 = Number of R-axis pulses / Number of base 4th axis pulses / Number of station 4th
axis pulses
Data-6 = Number of B-axis pulses / Number of base 5th axis pulses / Number of station 5th
axis pulses
Data-7 = Number of T-axis pulses / Number of base 6th axis pulses / Number of station 6th
axis pulses
Data-8 = Tool No.
25 : User coordinate 24
26 : Tool coordinate
27 : Master tool coordinate
Data-3 = X coordinate value / Base 1st Cartesian value (unit : mm, significant 3 decimal
points)
Data-4 = Y coordinate value / Base 2nd Cartesian value (unit : mm, significant 3 decimal
points)
Data-5 = Z coordinate value / Base 3rd Cartesian value (unit : mm, significant 3 decimal
points)
Data-6 = Wrist angle RX coordinate value (unit : degree (°), significant 2 decimal points)
Data-7 = Wrist angle RY coordinate value (unit : degree (°), significant 2 decimal points)
Data-8 = Wrist angle RZ coordinate value (unit : degree (°), significant 2 decimal points)
Data-9 = Form
Data of the form is a value obtained by converting the following bit data to decimal notation.
D5 D4 D3 D2 D1 D0
0 : Flip 1 : No flip
0 : Upper arm 1 : Lower arm
0 : Front 1 : Back
0 : R<180 1 : R>=180
0 : T<180 1 : T>=180
0 : S<180 1 : S>=180
<Example>
Command SAVEV 0, 0
Response 123
In the above example, 123, the value of byte type variable B000, is sent to the host computer.
5-16
5.2 Robot Control Function
<Example>
Command HOLD 1
Response 0000
RESET
Resets an alarm of manipulator.
The transmission alarms can be reset only by the programming pendant.
<Example>
Command RESET
Response 0000
CANCEL
Cancels an error.
<Example>
Command CANCEL
Response 0000
5-17
5.2 Robot Control Function
MODE
Selects a mode.
Mode-No.=1 or 2
1 : Teach mode
2 : Play mode
<Example>
Command MODE 2
Response 0000
NOTE This function can be used when the external mode switch is permitted on the OPERATING
CONDITION window.
CYCLE
Selects cycle.
<Example>
Command CYCLE 2
Response 0000
SVON
Turns servo power supply ON/OFF.
To turn the servo ON/OFF by this command, connect the external servo ON (EXSVON) signal
29 of the input terminal block for the manipulator, to 30.
5-18
5.2 Robot Control Function
<Example>
Command SVON 1
Response 0000
HLOCK
Sets an interlock between the programming pendant and I/O operation signals. While the
interlock is ON, all operations except the followings are prohibited.
• Emergency stop from the programming pendant
• Hold and emergency stop from the playback panel
• Input signals except I/O mode change, external start, external servo ON, cycle change, I/
O prohibited, P.P/PANEL prohibited, and master call
HLOCK is invalid while the programming pendant is in edit mode or accessing to a file for
other function.
<Example>
Command HLOCK 1
Response 0000
MDSP
Receives message data and displays the message in the remote display of the programming
pendant. If the currently shown display is not the remote display, it is changed forcibly to the
remote display to display the MDSP command message.
5-19
5.2 Robot Control Function
Response 0000
DATA EDIT DISPLAY UTILITY
REMOTE
CURR
PREV
DISP
EXEC CANCEL
CGROUP
Changes an objective control group of various commands used in the host control function.
The NX100 can support multiple number of manipulators and stations. In this case, CGROUP
is used when any control group for commands such as RPOSC is to be changed.
When the power supply is started up, robot 1, base 1, and station 1 (when a base and a sta-
tions exist) are specified.
Data-1 = Robot control group specification. A control group can be specified according to
the following data. However, the following settings cannot be made.
In a system with a base axis (such as travel axis), when the manipulator with this base axis is
specified, this base axis is automatically specified.
D15 D14 D13 D12 D11 D10 D09 D08 d07 D06 D06 D05 D04 D03 D02 D01 D00
R1: Robot 1
R2: Robot 2
R3: Robot 3
R4: Robot 4
Data-2 = Station control group specification. A control group can be specified according to
the following data. However, the following settings cannot be made.
5-20
5.2 Robot Control Function
D15 D14 D13 D12 D11 D10 D09 D08 d07 D06 D06 D05 D04 D03 D02 D01 D00
S1: Station 1
S2: Station 2
S3: Station 3
S4: Station 4
S5: Station 5
S6: Station 6
S7: Station 7
S8: Station 8
S9: Station 9
S10: Station 10
S11: Station 11
S12: Station 12
In the above example with two manipulators, robot 2 and station 1 are validated. By issuing
RPOS after this command is issued, the current positions of robot 2 and station 1 can be read.
CTASK (Optional)
Changes the task for control in the host control function.
When the power supply is started up or in a system where an independent control is not
allowed, this command is to be used as follows.
For details, refer to Section 5.3 “Commands for Multi-control Group and Independent Control
Functions”.
• When the power supply is started up, a master task is selected as an task to be con-
trolled.
• CTASK cannot be used in a system where an independent control is not allowed.
5-21
5.2 Robot Control Function
<Example>
Command CTASK 1
Response 0000
<Example>
Command : START WORK-A
Response : 0000
MOVJ
Moves a manipulator to a specified coordinate position in joint motion.
25 : User coordinate 24
5-22
5.2 Robot Control Function
<Example>
Command MOVJ 50.0, 2, 123.1, 50.34, 10.8, 180.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Response 0000
MOVL
Moves a manipulator to a specified coordinate position in linear motion.
25 : User coordinate 24
5-23
5.2 Robot Control Function
<Example>
Command MOVL 0, 500.0, 2, 123.1, 50.34, 10.8, 180.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Response 0000
IMOV
Moves a manipulator from the current position for a specified coordinate incremental value in
linear motion.
25 : User coordinate 24
26 : Tool coordinate
<Example>
Command IMOV 0, 100.0, 2, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Response 0000
5-24
5.2 Robot Control Function
PMOVJ
Moves a manipulator to a specified pulse position in joint motion.
<Example>
Command PMOVJ 20.0, 100, 200, 300, 400, 500, 0, 0, 0, 0, 0, 0, 0, 0
Response 0000
PMOVL
Moves a manipulator to a specified pulse position in linear motion.
5-25
5.2 Robot Control Function
<Example>
Command PMOVL 0, 123.0, 10, 200, 300, 400, 500, 0, 0, 0, 0, 0, 0, 0, 0
Response 0000
<Example>
Command DELETE WORK-B
Response 0000
CVTRJ (Optional)
Converts a specified job to a relative job of a specified coordinate.
25 : User coordinate 24
26 : Reserved
• If the specified user coordinate is not defined, an error occurs.
<Example>
Command CVTRJ TESTJOB, 2
Response 0000
5-26
5.2 Robot Control Function
NOTE This function requires the relative job function of the NX100.
CVTSJ (Optional)
Converts a specified job to a standard job (pulse job) in a specified converting method.
<Example>
Command CVTSJ SAMPLE01, 1, 0
Response 0000
In the above example, P000 is to be the reference point and the job “SAMPLE01” is converted
to a standard job with the form regarded.
NOTE This function required the relative job function of the NX100.
WUFRAME
Writes a user coordinate data to a specified user coordinate system.
25 : User coordinate 24
5-27
5.2 Robot Control Function
• ORG, XX, and XY coordinate are written in the base coordinate system.
• In a system without external axis, Data-24 to Data-29 should be set to “0”.
• It the group axis of the specified user coordinate system is not R1, an error occurs.
• For base axis data of ORG, XX, and XY, the same data should be used.
<Example>
Command WUFRAME 2, 600.0, 12.34, 500.0, 180.0, 0.0, 0.0, 0, )))), 0
Response 0000
5-28
5.2 Robot Control Function
LOADV
Receives variable data from a host computer and write it in a specified variable.
Data-8 = Number of B-axis pulses / Number of base 5th axis pulses / Number of station 5th
axis pulses
Data-9 = Number of T axis pulses / Number of base 6th axis pulses / Number of station 6th
axis pulses
Data-10 = Tool No.
25 : User coordinate 24
26 : Tool coordinate
27 : Master tool coordinate
5-29
5.2 Robot Control Function
Data-5 = X coordinate value / Base 1st axis Cartesian value (unit : mm, significant 3 decimal
points)
Data-6 = Y coordinate value / Base 2nd axis Cartesian value (unit : mm, significant 3 decimal
points)
Data-7 = Z coordinate value / Base 3rd axis Cartesian value (unit : mm, significant 3 decimal
points)
Data-8 = Wrist angle RX coordinate value (unit : degree (°), significant 2 decimal points)
Data-9 = Wrist angle RY coordinate value (unit : degree (°), significant 2 decimal points)
Data-10 = Wrist angle RZ coordinate value (unit : degree (°), significant 2 decimal points)
Data-11 = Form
Data of the form is a value obtained by converting the following bit data to decimal notation.
D5 D4 D3 D2 D1 D0
0 : Flip 1 : No flip
0 : Upper arm 1 : Lower arm
0 : Front 1 : Back
0 : R<180 1 : R>=180
0 : T<180 1 : T>=180
0 : S<180 1 : S>=180
<Example>
Command LOADV 0, 0, 123
Response 0000
In the above example, 123 is stored in the NX100 byte type variable B000.
<Example>
Command SETMJ WORK-C
Response 0000
5-30
5.2 Robot Control Function
JSEQ
Sets a job name and a line No.
<Example>
Command JSEQ WORK-A, 10
Response 0000
The following table shows the number of signals and the types of signals to be sent or
received by the host control function.
# : Possible to execute
5-31
5.2 Robot Control Function
1. The ENQ code is sent from the host computer to establish a data link.
2. After the data link is established, the data is sent from the host computer. The data
transmission should be completed in a single block.
3. After the request to send is accepted, the host computer should be ready to receive.
The NX100 sends the ENQ code to establish the data link.
4. After the data link is established, the data sent from the NX100 is received to terminate
the transmission at completion of receipt.
The read/write function can be distinguished by the header number. Refer to the header num-
ber list.
ENQ
ACK0
ACK1
Host computer
EOT
NX100
ENQ
ACK0
ACK1
EOT
DATA-1
Command format : Data-1, Data-2
Data-1 = Start No.
Data-2 = Number of data points
5-32
5.2 Robot Control Function
DATA-2
Response format (at normal completion) : Data-1, Data-2, )))), Data-256
Data-1 = First 8 points of data
Data-2 = Second 8 points of data
<Example>
When 3 points are read out from 70010
Command 70010, 3
Response 2, 0, 5
ENQ
ACK0
ACK1
Host computer
EOT
NX100
ENQ
ACK0
ACK1
EOT
DATA-3
Command format : Data-1, Data-2, Data-3, Data-4, )))), Data-258
Data-1 = Start No.
Data-2 = Number of data points
Data-3 = First 8 points of data
Data-4 = Second 8 points of data
5-33
5.2 Robot Control Function
DATA-4
Response format (at normal completion) : 0000
Response format (at abnormal completion) : Number with 4 digits other than 0000
Number smaller than 1000, 0 is added before the
number.
<Example>
When status of 3 points is changed from 22010
Command 22010, 3, 4, 3, 12
Response 0000
5-34
5.3 Commands for Multi-control Group and Independent Control Functions
The following table shows the combination which can be set by using the above commands.
× × × × -
-*2 × × × ×
- × × × -
× - × × ×
× - × × -
× × - × ×
× × - × -
× × × - ×
× × × - -
*1 Either one station among S1 to S12 can be selected in a system having several sta-
tions.
*2 Base axes is included in robot axes.
The following commands have influence when the above commands are used. The opera-
tions of these commands are applicable to the set control group.
5-35
5.3 Commands for Multi-control Group and Independent Control Functions
5-36
5.4 Alarm Codes
5-37
5.5 Interpreter Message List
Code Contents
2130 Editing
5-38
5.5 Interpreter Message List
Code Contents
5-39
5.5 Interpreter Message List
Code Contents
5-40
6.1 Header Number List
6 Data List
6-1
6.1 Header Number List
6-2
6.1 Header Number List
055 Request for robot axis position type variable (pulse type)
056 Request for robot axis position type variable (XYZ type)
058 Request for external axis position type variable (XYZ type)
6-3
6.2 Parameter List
Initial
Parameter Contents and Set Value
Value
0 : Invalid
1 : Valid
D7 D6 D5 D4 D3 D2 D1 D0
Mode change
Master call
Cycle change
Start
Reserved
0 : NON
2
1 : System reserved
2 : BSC LIKE
3 : FC1
Initial
Parameter Contents and Set Value
Value
0 : 1 (bit) 0
1 : 1.5
2:2
6-4
6.2 Parameter List
Initial
Parameter Contents and Set Value
Value
0 : No specification 2
1 : Odd parity
2 : Even parity
6-5
7 Comparison of Data Transmission
Functions
Comparison of Functions Related to Controller Basic Functionality
7-1
Comparison of Functions Related to Data Transmission (Host Control)
7-2
Comparison of Functions Related to Data Transmission (Host Control)
7-3
8 Remote Function Setting
Whether I/O remote control or command remote control should be enabled can be set in the
pseudo input display when selecting the remote mode in the management mode.
Operation Explanation
PAGE
8-1
NX100 OPTIONS
INSTRUCTIONS
FOR DATA TRANSMISSION FUNCTION
HEAD OFFICE
2-1 Kurosaki-Shiroishi, Yahatanishi-ku, Kitakyusyu-shi, 806-0004, Japan
Phone 81-93-645-7745 Fax 81-93-645-7746
MOTOMAN INC. HEADQUARTERS
805 Liberty Lane West Carrollton, OH 45449, U.S.A.
Phone 1-937-847-6200 Fax 1-937-847-6277
YASKAWA MOTOMAN CANADA LTD.
3530 Laird Road, Unit 3, Mississauga, Ontario, L5L 5Z7, Canada
Phone 1-905-569-6686 Fax 1-905-813-5911
MOTOMAN ROBOTICS EUROPE AB
Franska Vagen 1039854, Kalmar, Sweden
Phone 46-480-417800 Fax 46-480-417999
MOTOMAN ROBOTEC GmbH
Kammerfeld strasse 1, DE-85391 Allershausen, Germany
Phone 49-8166-90100 Fax 49-8166-90103
YASKAWA ELECTRIC KOREA CORPORATION
1F Samyang Bldg. 89-1, Shinchun-dong, Donk-Ku, Daegu, Korea
Phone 82-53-745-7844 Fax 82-2-784-8495
YASKAWA ELECTRIC (SINGAPORE) PTE. LTD.
151 Lorong Chuan, #04-01, New Tech Park, Singapore 556741, Singapore
Phone 65-6282-3003 Fax 65-6289-3003
YASKAWA ELECTRIC (MALAYSIA) SDN. BHD.
No.71, Jalan Bandar Rawang 2, 48000 Rawang, Selangor D.E., Malaysia
Phone 60-3-6092-1377 Fax 60-3-6092-6377
YASKAWA ELECTRIC TAIWAN CORPORATION
9F, 16 Nanking E. Rd., Sec. 3, Taipei, Taiwan
Phone 886-2-2502-5003 Fax 886-2-2505-1280
SHOUGANG MOTOMAN ROBOT CO., LTD.
7,Yongchang-North Road, Beijing Economic & Technological Development Area, Beijing 100076, China
Phone 86-10-6788-0541 Fax 86-10-6788-2878
YASKAWA