Uploaded by tiago.slpr

vdocuments.mx rs232ce

advertisement
ML-G9300 Series/MD-V9600 Series
96M1055
ML-G9300 Series
MD-V9600 Series
RS232C Interface User's Manual
RS232C Interface
User's Manual
Read this manual before using the system in order to achieve maximum
performance.
Keep this manual in a safe place for future reference.
Specifications are subject to change without notice.
KEYENCE CORPORATION
FIGNA Division
2-13, Aketa-cho,Takatsuki-city,
Osaka, 569-0806, Japan
Tel: 072-686-3211
Fax: 072-686-3011
Compatible with MARKING BUILDER version3.1
0123-3 96M1055
Introduction
WARRANTIES AND DISCLAIMERS
The ML-G Series Laser Marker offers high-quality marking using a CO2
laser, whereas the MD-V Series Laser Marker uses a YVO4 laser.
This User's Manual describes the operation procedures for the ML-G Series
or MD-V Series to ensure maximum performance.
Always keep this manual in a safe place for future reference.
Safety Precautions
How to read this manual
This manual describes both the ML-G Series and MD-V Series Laser Markers.
The range of settings described in this manual is for the ML-G Series MLG9310/9311 (standard character type) Laser Marker. Where other models [MLG Series ML-G9320/9321 (small-character type), ML-G9370/9371 (ultra-smallcharacter type), MD-V Series MD-V9600 (standard character type), MD-V9610
(thin line), MD-V9620 (wide area)] have different ranges of settings, the
differences are shown in the remarks column. Refer to the example below.
Example
ML-G 9320/9321: 0.00 to 2.50
9370/9371: 0.00 to 2.50
MD-V 9600: 0.00 to 5.00
9610: 0.00 to 2.50
9620: 0.00 to 5.00
Symbols
The following symbols alert you to important messages.
Be sure to read these messages carefully.
Symbols
Description
Failure to follow instructions may lead to injury (electric shock,
burn, etc).
Failure to follow instructions may lead to product damage.
Indicates an important operating procedure that could easily be
performed incorrectly.
Provides reference materials and useful information on operating
this system.
General Cautions
• At startup and during operation, be sure to continually monitor the
functions and performance of this series.
• We recommend that you take substantial safety measures to avoid injury
or damage in the event of a problem.
• Do not attempt to modify the ML-G Series or MD-V Series, or use it in any
way other than described in the specifications.
• When the ML-G Series or MD-V Series is used in combination with other
instruments, functions and performance may be degraded depending on
the operating conditions and surrounding environment.
The contents of this manual are subject to change without notice.
Trademarks
• Windows is a registered trademark of Microsoft Corporation, U.S.A.
• BarStar Pro module is used for encoding the 2-dimensional code
"DataMatrix". BarStar Pro is a registered trademark of AINIX Corporation,
Japan.
(1) KEYENCE warrants the Products to be free of defects in materials and
workmanship for a period of one (1) year from the date of shipment. If any models or
samples were shown to Buyer, such models or samples were used merely to illustrate
the general type and quality of the Products and not to represent that the Products
would necessarily conform to said models or samples. Any Products found to be
defective must be shipped to KEYENCE with all shipping costs paid by Buyer or
offered to KEYENCE for inspection and examination. Upon examination by KEYENCE,
KEYENCE, at its sole option, will refund the purchase price of, or repair or replace at
no charge any Products found to be defective. This warranty does not apply to any
defects resulting from any action of Buyer, including but not limited to improper
installation, improper interfacing, improper repair, unauthorized modification,
misapplication and mishandling, such as exposure to excessive current, heat,
coldness, moisture, vibration or outdoors air. Components which wear are not
warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products.
They are only suggestions, and it is Buyer's responsibility to ascertain the fitness of the
Products for Buyer's intended use. KEYENCE will not be responsible for any damages
that may result from the use of the Products.
(3) The Products and any samples ("Products/Samples") supplied to Buyer are not
to be used internally in humans, for human transportation, as safety devices or fail-safe
systems, unless their written specifications state otherwise.
Should any Products/Samples be used in such a manner or misused in any way,
KEYENCE assumes no responsibility, and additionally Buyer will indemnify KEYENCE
and hold KEYENCE harmless from any liability or damage whatsoever arising out of
any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE
PROVIDED WITH NO OTHER WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED,
AND STATUTORY WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY
DISCLAIMED. IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE
LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT
LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS
INTERRUPTION, LOSS OF INFORMATION, LOSS OR INACCURACY OF DATA, LOSS
OF PROFITS, LOSS OF SAVINGS, THE COST OF PROCUREMENT OF SUBSTITUTED
GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF
OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN
IF KEYENCE OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE
THIRD PARTY'S CLAIM FOR DAMAGES OR ANY OTHER CLAIM AGAINST BUYER. In
some jurisdictions, some of the foregoing warranty disclaimers or damage limitations
may not apply.
BUYER'S TRANSFER OBLIGATIONS:
If the Products/Samples purchased by Buyer are to be resold or delivered to a third
party, Buyer must provide such third party with a copy of this document, all
specifications, manuals, catalogs, leaflets and written information provided to Buyer
pertaining to the Products/Samples.
Laser Safety Precautions
Laser Classification
Use of controls or adjustments or performance of procedures other than
those specified herein may result in hazardous radiation exposure.
The ML-G Series and MD-V Series use a CO2 laser (ML-G9300 series) or
YVO4 laser (MD-V9600 Series) as a light source, and are class 4 laser
products according to IEC60825-1.
■ What is the Class 4 laser product?
The International Electrotechnical Commission (IEC) and the Japanese
Industrial Standards (JIS) classify the safety of a product according to the
output level of the laser product, for the purpose of preventing laser beam
injury to workers who handle the laser product or who may be exposed to the
laser beam. Following is a summary of the danger evaluation and classification.
Summary of requirements for Class 4
"High output: possibility of dangerous diffuse reflection that may cause skin
injury or fire."
■ Laser Specifications
CO2 Laser Marker (ML-G9300 Series)
• Laser medium: CO2 (carbon dioxide gas)
• Wavelength: 10.6 µm
• Maximum output power*: 80 W
• Oscillation frequency: 25 kHz
• Pulse width: Continuous or pulsed radiation
• Classification: Class 4
• Visibility: Invisible
YVO4 Laser Marker (MD-V9600 Series)
• Laser medium: Nd:YVO4
• Oscillation wavelength: 1064 nm
• Maximum output power: 200 kW
• CW output: 6W
• Q Switch frequency: CW, 1 to 200 kHz
• Pulse mode: Single mode (M2<1.3)
• Pulse width: Continuous or pulsed radiation (5 to 100 ns)
• Classification: Class 4
• Visibility: Invisible
*The maximum output power means the maximum value of output that can
be output from a laser oscillator itself.
■ When operating the ML-G Series or MD-V Series, always wear
protective goggles appropriate for each laser wavelength.
MLG9300/V9600RS-M-NO0-E
1
Laser Safety Precautions
• Do not look at or touch the direct laser beam or the beam reflected by
specular or diffuse reflection. Doing so may result in eye or skin injury.
• There is a risk of the laser beam causing a fire. Be sure to terminate the
path of the laser beam emitted from the ML-G Series or MD-V Series with a
diffuse reflector or absorber with appropriate reflectance and heat
absorption characteristics.
• Do not disassemble the ML-G Series or MD-V Series.
The ML-G Series or MD-V Series does not automatically stop laser emission
when the marking unit is disassembled. Therefore, if someone attempts to
disassemble the marking unit, he/she may be exposed to the laser beam
and may suffer eye or skin injury.
• Be sure to stop the laser emission before cleaning the laser emission
opening. Otherwise, exposure to the laser may cause eye or skin injury.
• Pay careful attention to the path of the laser beam.
If there is a danger that the operator may be exposed to the laser beam
reflected by a specular or diffuse reflection, interrupt the beam by installing
an enclosure with the appropriate reflectance and heat absorption
characteristics.
Install the ML-G Series or MD-V Series so that the path of the laser beam is
not at the same level as that of the human eye during operation.
• It is strongly recommended that a protective enclosure be placed around
the ML-G Series or MD-V Series to prevent human access during operation.
• Do not use the ML-G Series or MD-V Series in any way other than that
described in this instruction manual.
Failure to follow this warning may result in the serious injury or damage.
CO2 Laser Marker (ML-G9300 Series)
Cautions for each model (Read these warnings carefully.)
These products are supplied in three series: ML-G9310 (standard character
type), ML-G9310 (small-character type), and ML-G9370 (ultra-small character
type). Observe the following cautions when using the laser marker of the
respective specifications.
• For ML-G9310 (standard character type) / 9320 (small-character type)
These types cannot be used for marking on metallic materials. Do not
irradiate a laser beam onto metal materials. If the operator's eyes or skin is
exposed to the reflected laser beam, loss of sight or burn injuries may
result. The reflected laser beam may return along the light path and
damage the internal parts/components. When any workpiece is not set in
the system, terminate the light path of the laser beam with a diffuse reflector
or absorber having appropriate reflectance and heat absorption
characteristics.
• For ML-G9370 (ultra-small-character type)
This type can execute marking on SUS (Special Use Stainless) materials
directly. Adjust the position of the workpiece so that it is not tilted because
SUS materials have high reflectance. Cover the marking unit with the metal
protection cover so that the reflected laser beam will not leak. (Do not use
an acrylic protection cover, as acrylic material will absorb a CO2 laser
beam and may be deformed or damaged by the heat generated.)
* For the caution sentences that are specific to each model, refer to User's
Manuals ("ML-G9300 Series User's Manual" or "MD-V9600 User's Manual").
2
MLG9300/V9600RS-M-NO0-E
Identification Code Table
The identification codes of the ML-G9300 series and MD-V9600 series are changed
from the product versions as shown below, for shipments from September 24, 2003.
If you are using products shipped before that date, refer to "Appendix 4 Identification
Code Compatibility Table" (appendix page 4-22) for the differences and details.
The new identification codes as described below can be used in the "Controller Software" of the following versions of the
ML-G series and the MD-V series.
ML-G series: 03.00.00
MD-V series: 02.00.00
The Identification code with the mark “*1” can be used in the "Controller Software" of the following versions or later of the
ML-G series and the MD-V series.
ML-G Series: 03.11.00
MD-V Series: 02.11.00
For the procedure of confirming the version number of "Controller Software", refer to "Version Information (Check)" of
the RS-232C Interface User's Manual (page 4-97) and "8-4 Confirming Version of Equipment" of the ML-GP1/MDVP1" User's Manual (page 8-8)
Description
Troubleshooting
Error contents
New Program
Creating a new Program No.
Registering/Requesting Program contents
Common marking conditions
Block conditions
Title
Counter conditions
Common palette conditions
Individual palette conditions
Deleting Program contents
Changing/Requesting character string
Changing the standard character string
Changing the quick-change character string
Changing the character string of the Program No. in operation*1
Registering the quick-change character string
Setting the quick-change character change target
Requesting the setup character string
Requesting marking character string
Changing/Requesting the marking conditions
Individual block
Block coordinate
Whole of one setting
Coordinate offset
Palette marking
Marking "Yes/No" status
Marking "Yes/No" status [Specify at once]*1
Block marking flag
Block marking flag [Specify at once]*1
Processing machinery operation conditions
Setup
Date and time of internal clock
Installation position correction
Laser operating hours
Cumulative mark repetition
Setting the "Daily" (incrementing the daily counter)
Operation
READY state check
Switching the Program Nos.
Marking start
Guide laser
Marking laser stop
Trigger inhibited
Counter current value
Current value of number of counter repeats
Changing rank
MLG9300/V9600RS-M-NO0-E
Set/Change
—
Start
XS·XT*1
Set/Change
G0
G2
G4
G6
G8
GW
Set/Change
C2
H2
BL
IR
C8
—
—
Set/Change
C0
AF
VC
VK
WK
C6
D6
C4
Set/Change
DA
TK
—
TM
CS
Set/Change
—
GA
TX
HN
LQ
SO
CM
CQ
RK
Identification code
Request
EX
End
YE
Request
F1
F3
F5
F7
F9
FX
—
Request
—
—
—
HS
—
B3
UY
Request
B1
—
UD
UL
—
B7
—
B5
Request
DC
SL
SG
TO
CT
Request
RE
FE
—
GS
LS
SQ
CN
CR
RM
Page
Reset
FY
Stop
XI
Delete
—
—
—
—
—
3-5,8
4-5
GD
4-6,9
4-11,22
4-23
4-24,25
4-26,27
4-28,29
4-30
—
—
—
—
—
—
—
5-2
5-3
5-21
5-4
5-5
5-6
5-7
—
—
5-8,9
5-10
5-17,18
5-19,20
5-23
5-11,12
5-22
5-13,16
—
—
—
—
—
—
—
—
Reset
—
—
—
—
—
—
CZ
CZ
—
6-2
6-3,4
6-5
6-6
6-7
7-3
7-4
7-5
7-8
7-9
7-10
7-11,12,15
7-13,14,15
7-16
3
Manual Structure
1
2
3
4
5
6
7
1
System Configuration
Chapter
2
Communication
Chapter
Chapter
3
4
Registering, Requesting
Describes the procedures to register, issue requests and delete the program contents with
Chapter
and Deleting the Program
controller.
5
Frequently-used Change
Commands and Request
Commands
Describes the frequently used commands such as the commands to change character strings
Chapter
Chapter
6
Environmental Settings
Describes the environmental settings of controller.
Chapter
7
Operation
and Connection
Specifications
Troubleshooting
Describes the system configuration and settings required for connections.
Describes the communication protocol.
Describes the procedures to check the error contents and to release the error.
or marking conditions.
Appendices
Index
Appendices
Appendices
Index
Index
4
Describes the commands that are required to operate the system.
Contains character code tables, sample programs and the identification code compatibility table.
An index of key words used in this Manual. Read this chapter when needed.
MLG9300/V9600RS-M-NO0-E
Contents
Laser Safety Precautions .................................................................. 1
Laser Classification ............................................................... 1
Identification Code Table ................................................................... 3
Manual Structure ............................................................................... 4
Chapter 1
System configuration and Connection
1-1 RS-232C Interface ................................................................... 1-2
Connection to External Equipment ..................................... 1-2
Specifications for RS-232C Connector Signal Line ............ 1-2
1-2 RS-422A Interface ................................................................... 1-3
Connection to External Equipment ..................................... 1-3
Specifications for RS-422A Signal Lines ............................. 1-3
1-3 Communication Settings of External Equipment ......................... 1-4
Communication Settings .................................................... 1-4
Interframe Time-out Error ................................................... 1-4
1-4 Communication Priority ............................................................ 1-5
Communication Priority ...................................................... 1-5
Chapter 2
Communication Specifications
2-1 Communication Protocol .......................................................... 2-2
Types of Header and Delimiter ........................................... 2-2
Data Structure .................................................................... 2-2
Checksum .......................................................................... 2-3
2-2 How to Read the Data Structure Table .................................... 2-4
2-3 Variable Length Parameter ...................................................... 2-5
2-4 ML Series Communication Compatibility ...................................2-7
Response when "Operation • Error status request (CDR)"
is sent ...................................................................................2-9
Chapter 3
Troubleshooting
3-1 Error Response ........................................................................ 3-2
Types of Error ..................................................................... 3-2
Error Response ................................................................... 3-2
3-2 Time-out Error .......................................................................... 3-4
3-3 Requesting and Resetting the Error Contents ......................... 3-5
Chapter 4
Registering, Requesting and Deleting the Program
4-1 Overview....................................................................................4-2
Program No. and Block Structure ...................................... 4-2
Operation Flow of Setting the Marking Contents and
Conditions .......................................................................... 4-3
Creating a New Program .................................................... 4-5
4-2 Setting Various Conditions ....................................................... 4-6
Setting and Requesting the Common Marking Conditions .... 4-6
Setting and Requesting Block Conditions ....................... 4-11
Setting and Requesting Title ............................................ 4-23
MLG9300/V9600RS-M-NO0-E
5
Contents
Setting and Requesting the Counter Conditions .............. 4-24
Setting and Requesting the Palette Conditions ............... 4-26
4-3 Deleting Program Contents ................................................... 4-30
Chapter 5
Frequently-used Change Commands and Request Commands
5-1 Changing Character String ...................................................... 5-2
5-2 Quick Change of Character String ........................................... 5-3
5-3 Requesting character sting ....................................................... 5-6
Requesting Character String .............................................. 5-6
5-4 Changing and Requesting Block Position................................. 5-8
Changing and Requesting Block Position .......................... 5-8
5-5 Changing and Requesting Block Marking Flag ....................... 5-11
Changing and Requesting the Block Marking Flag ......... 5-11
5-6 Changing and Requesting Conditions of Machinery Operation
Mode ...................................................................................... 5-13
Operating Conditions of Machinery Operation Mode ....... 5-13
5-7 Changing and Requesting Conditions of Palette Marking ...... 5-17
Changing and Requesting the Coordinate Offset for Palette Marking 5-17
5-8 Added Commands ..................................................................5-21
Changing the character string of the Program No.
in operation ........................................................................5-21
Changing the block marking flag [Specify at once] ..........5-22
Changing marking ready/not ready status of pallet marking
[Specify at once] ................................................................5-23
Chapter 6
Environmental Settings
6-1 Internal Clock ........................................................................... 6-2
Setting and Requesting Date and Time of Internal Clock .. 6-2
6-2 Correcting the Installation Position .......................................... 6-3
Setting and Requesting Installation Position Correction .... 6-3
6-3 Laser Operating Hours ............................................................ 6-5
6-4 Cumulative Marking Repetition................................................. 6-6
Setting and Requesting the Cumulative Marking Repetition ........ 6-6
6-5 Setting the "Daily" (incrementing the daily counter).................. 6-7
Setting and Requesting the "Daily" Incrementing Time....... 6-7
Chapter 7
Operation
7-1 Flow of Operation .................................................................... 7-2
7-2 Confirming READY Status........................................................ 7-3
7-3 Switching the Program Nos. .................................................... 7-4
Switching the Program Nos. ............................................... 7-4
7-4 Starting Marking ....................................................................... 7-5
7-5 Selecting the Marking Laser and Guide Laser ......................... 7-6
Selecting the Marking Laser and Guide Laser .................. 7-6
7-6 Guide Laser ............................................................................. 7-8
Setting and Requesting Guide Laser ................................. 7-8
7-7 Stopping the Marking Laser ..................................................... 7-9
Setting and Requesting to Stop the Marking Laser ........... 7-9
7-8 Inhibiting Trigger .................................................................... 7-10
Setting and Requesting the Marking Trigger Inhibition .... 7-10
7-9 Current Value of a Counter ..................................................... 7-11
Requesting and Changing the Current Value of a Counter ....... 7-11
6
MLG9300/V9600RS-M-NO0-E
Contents
Setting and Requesting the Current Value of Number of Times
of Repetition Marking of a Counter ......................................... 7-13
Resetting the Current Value of Counter and Resetting the Current
Value of Number of Times of Repetition Marking ..................... 7-15
7-10 Current Value of Rank ..................................................................... 7-16
Appendices
Appendices-1 ASCII Code Table ................................... Appendices-2
Appendices-2 Shift-JIS Code Table ............................... Appendices-3
Appendices-3 Sample Programs ................................. Appendices-21
Appendices-4 Compatibility of Identification Codes ....... Appendices-22
Index
Index
MLG9300/V9600RS-M-NO0-E
...................................................................................Index-1
7
Memo
8
MLG9300/V9600RS-M-NO0-E
Chapter
1
System Configuration
and Connection
This chapter describes the system configuration and settings required
for connections. The controller can be used either with the RS-232C
interface or the RS-422A interface by changing the cable connection
with external equipment.
1-1 RS-232C Interface........................................................................1-2
1-2 RS-422A Interface........................................................................1-3
1-3 Communication Settings of External Equipment ..........................1-4
1-4 Communication Priority ................................................................1-5
MLG9300/V9600RS-M-NO1-E
1-1
1-1
RS-232C Interface
This section describes the connection to external equipment such as
computer, setting of the transmission format and the RS-232C interface
specifications.
Connection to External Equipment
The external equipment that is connected to the controller using RS-232C interface should be capable that the
setting shown in "Communication Settings of External Equipment" can be implemented in accordance with the
specification specified. Communication programs for the external equipment must be set up by the user.
1
"1-3 Communication Settings of External Equipment" (page 1-4)
System Configuration and Connection
Use the D-sub 25-pin (female) connector of the controller for the RS-232C connection. Connect the controller
to an external equipment using an RS-232C straight cable. The wiring on the controller side and the external
equipment side are shown below.
■ Cable connection diagram
Controller side
External equipment side
SD (TXD)
SD (TXD)
RD (RXD)
RD (RXD)
SG (GND)
ER (DTR)
SG (GND)
DR (DSR)
RS (RTS)
CS (CTS)
Connector hood
Connector hood
Cable connector
female (9-pins)
Cable connector
male (25-pins)
Pins-2, -3 and -7 only on the controller side are used. Do not make any connection to pins-14 and -15 on the
controller side when communication is to be done using the RS-232C interface. Any connection made to these
pins by mistake may damage the controller.
• Pins-4 and -6, and pins-7 and -8 on external equipment side need to be shorted depending
on the specifications of the external equipment to be connected. Confirm details with
Instruction Manual of external equipment.
• Use the screws of M2.6 for securing cable of the controller side.
• Use a shielded cable for connecting devices.
Specifications for RS-232C Connector Signal Line
The table below shows the pin assignment and signal specifications for the RS-232C connector signal lines
on the controller side.
■ Connector pin assignment diagram
Pin No. on controller side
1-2
Signal name
Description
Signal direction
2
SD (TXD)
Data input from external equipment
Controller (input) ← External equipment
3
RD (RXD)
Data output from controller
Controller (output) → External equipment
Signal ground
7
SG (GND)
14
—
Used in RS-422A
Do not make any connection
—
15
—
Used in RS-422A
Do not make any connection
MLG9300/V9600RS-M-NO1-E
1-2
RS-422A Interface
This section describes the connection to external equipment such as PLC,
setting of the transmission format and the RS-422A interface specifications.
Connection to External Equipment
Any external equipment can be connected to the controller, provided that communication with the RS-422A
interface is supported in accordance with the specifications described in chapter 1-3 "Communication Settings
of External Equipment". Communication programs for the external equipment must be set up by the user.
"1-3 Communication Settings of External Equipment" (page 1-4)
■ Cable connection diagram
External equipment side
Controller side
SDB 14
SDA
SDB
RDA
RDB
SG (GND)
Connector hood
Received data
SDA 2
RDB 15
Sent data
RDA 3
SG
SDA
SDB
RDA
RDB
SG (GND)
Connector hood
7
Cable connector
male (25-pins)
Terminal numbers are
different depending on
external equipment.
• Only pins-2, -3, -7, -14 and -15 on the controller side are used.
• Communication using RS-422A interface is supported, but the multi-drop connection is not
supported.
• Use the screws of M2.6 for securing the cables on the controller side.
• Use a shielded cable for connecting devices.
Specifications for RS-422A Signal Lines
The table below shows the pin assignment and signal specifications for the RS-422A connector signal lines
on the controller side.
■ Connector pin assignment diagram
Pin No. on controller side
Signal name
Description
Signal direction
2
SDA
Data input from external equipment
Controller (input) ← External equipment
3
RDA
Data output from controller
Controller (output) → External equipment
7
SG (GND)
14
SDB
Data input from external equipment
Controller (input) ← External equipment
15
RDB
Data output from controller
Controller (output) → External equipment
MLG9300/V9600RS-M-NO1-E
Signal ground
—
1-3
System Configuration and Connection
Use the D-sub 25-pin (female) connector of the controller for the RS-422A connection. The wiring on the
controller side and the external equipment side are shown below. Confirm the connector and pin assignment
on the external equipment side with Instruction Manual of external equipment.
1
1-3
Communication Settings of
External Equipment
Communication settings of controller are shown below.
Establish the communication settings on external equipment side such as
PC and PLC to match those on the controller side.
Communication Settings
1
Set up the communication parameters on the controller side to match those on the external equipment side.
Set up the communication parameters on the controller side by using either the Laser Marker Setup Software
"MARKING BUILDER" or from the touch panel (option).
Item
Description
Default value
System Configuration and Connection
Baud rate
2400/4800/9600/19200/38400
38400
Parity check
None/odd/even
None
Stop bit
1 bit/2 bits
1 bit
Delimiter
ETX/CR
CR
Checksum
None or given
None
Interframe time-out error (x10 ms)
[Timeout-Frame*]
1 to 30000
300
• Conforming to RS-232C standard of EIA (Electronic Industries Association)
• Data length is 8 bits (fixed).
* The "Interframe time-out error" is indicated under the parameter name of the "Timeout - Frame" in the Laser Marker Setup
Software "MARKING BUILDER" and on the touch panel (option).
Interframe Time-out Error
The interframe time-out function issues the time-out error when a controller does not receive the delimiter
indicating the end of the command within a specified time.
Controller can set the time of the interframe time-out error so that the controller can terminate the
communication forcibly if the controller does not receive the delimiter within the set time during reception
mode in order to return the controller to the idle state and ready to receive a new command. (Controller does
not return the response to external equipment during the above period.) Interframe time-out can be set within
a range of 10 ms to maximum 300 s.
The control program of external equipment should be set to a longer time-out time than that of the controller
side before starting communication.
Data in the latter half
of a command is lost.
External
equipment side
Header Command Delimiter
Header Command Delimiter
Controller side
Header
Time that is set to issue
the interframe time-out error
Response Delimiter
After the time-out error is issued,
the controller can receive command normally.
Discarding the reception data
1-4
MLG9300/V9600RS-M-NO1-E
1-4
Communication Priority
This section describes the communication priority.
Communication Priority
A controller can be connected to the following three external equipment simultaneously as a control terminal.
• A PC in which Laser Marker Setup Software "MARKING BUILDER" is installed.
• Touch panel (option)
• External equipment to which a controller is connected via RS-232C/RS-422A.
A terminal shall have the communication priority privilege when it is in the following status.
For the Laser Marker Setup Software "MARKING BUILDER"
• When saving or changing the setup contents
• When restoring the saved file containing all settings
• When test marking screen is being displayed
• When sample marking screen is being displayed
• When terminal block simulation screen is being displayed
For touch panel
• When saving or changing the program contents
• When restoring the saved file containing all settings
• When test marking screen is being displayed
• When sample marking screen is being displayed
• When terminal block simulation screen is being displayed
For external equipment
• During the period after the program start command (XS) is sent until the setup save operation
is completed by sending the end command (YE) or the stop command (XI).
• During the period until a controller returns a response after various setting commands are
sent.
If a command is sent while a terminal other than an external equipment has acquired the communication
priority, it may be possible that the controller sends the "priority error" as the response.
MLG9300/V9600RS-M-NO1-E
1-5
1
System Configuration and Connection
However, if all of the three terminals make attempt to change the settings of the controller simultaneously, it
can result in a collision. To solve this problem, the terminal that has started editing the internal settings of the
controller, or the terminal that has started test marking or sample marking shall have the "communication
priority" so that the other terminals can only send the request command confirming the current status.
Memo
1
System Configuration and Connection
MLG9300/V9600RS-M-NO1-E
1-6
Chapter
2
MLG9300/V9600RS-M-NO2-E
Communication
Specifications
This chapter describes the communication protocol.
2-1
Communication Protocol...........................................................2-2
2-2
How to Read the Data Structure Table .....................................2-4
2-3
Variable Length Parameter .......................................................2-5
2-4
ML Series Communication Compatibility ..................................2-7
2-1
2-1
Communication Protocol
This section describes the data format and data structure of communication
protocol.
Types of Header and Delimiter
The following two types of combination between the header and delimiter are used in the controller. Select
the appropriate format in accordance with the data format of a PC or PLC (programmable controller) that you
connect.
2
■ Format 1
Header: None, Delimiter: CR (0Dh)
Communication Specifications
Command / Response data
1 to 4092 bytes
,
Checksum C R
■ Format 2
Header: STX (02h), Delimiter: ETX (03h)
STX Command/Response data
1 to 4091 bytes
,
Checksum E T X
To use the KEYENCE KV-700 series "Multi Communication Unit KV-L20", select the Format 2,
and set the communication mode to "KV mode (text data send/receive)".
Data Structure
The command that is sent from external equipment side, and the response that is sent from controller have
the data structure as shown below.
Character string data setting command
Header
C
2
,
Program No.
,
Block No.
Data delimiter
,
Character string
,
Checksum Delimiter
The comma "," is sent only in the case of
"Checksum is present."
The send data contains the identification code and various parameters sequentially in between header and
delimiter, and the comma "," is inserted between the items. The checksum can be added at the end of a data.
For checksum, refer to "Checksum" (page 2-3) of Chapter "2-1 Communication Protocol".
Most commands and response data are sent in the ASCII code (1-byte) but there can be a case that the
marking character string is sent in the Shift-JIS code (2-byte).
2-2
MLG9300/V9600RS-M-NO2-E
2-1 Communication Protocol
Checksum
■ Absence/presence of checksum
Use of checksum enables you to check absence/presence of data error.
To detect errors using checksum, add a comma "," and the checksum data (2 bytes) determined by the
checksum data calculation method described later, at the end of the sent data. Absence/presence of
checksum in the data (response) to be sent from controller to external equipment should be set using
"Communication settings" of "MARKING BUILDER" or on the touch panel (option) screen.
For the communication settings on the controller side, refer to "Communication settings" of Chapter "4-6
Common Settings Icon Bar" of "ML-G9300 Series User's Manual" or "Communication settings" of Chapter
"4-6 Common Settings Icon Bar" of "MD-V9600 Series User's Manual."
• Communication with "checksum present" is recommended to ensure data sending and
receiving reliability.
• Note that normal communication cannot be established if the checksum absence/presence
setting is not the same in the controller and the external equipment.
2
The checksum calculation example below shows the case that the command GA is used for selecting the
marking program No.
The sent data (Protocol 2) has the data structure as shown below.
STX G A
,
0
0
0
1
, Checksum ETX
XOR of the characters in this range is calculated.
1 XOR starting from "GA" up to "," is calculated.
Character Code
Data
2 Converting into ASCII code (two codes).
3 Calculated result is added as checksum data.
Delimiting code
STX G A
G
47h
A
41h
,
2ch
0
30h
0
30h
0
30h
1
31h
,
2ch
,
0
0
0100 0111b
XOR
0100 0001b
XOR
0010 1100b
XOR
0011 0000b
XOR
0011 0000b
XOR
0011 0000b
XOR
0011 0001b
XOR
0010 1100b
XOR
0000 0111b
Converting into ASCII codes
0
7
0
1
,
0
7 ETX
The numerical value marked by an "h" at the end
indicates that the value is hexadecimal number.
The numerical value marked by a "b" at the end
indicates that the value is binary number.
For the checksum calculation program, use the sample program for your reference.
MLG9300/V9600RS-M-NO2-E
2-3
Communication Specifications
■ Checksum calculation method
The checksum data is created by converting the XOR (exclusive OR logic) result (1 byte) starting from the
character immediately after the header (or from the first character when header is absent) to the final
character of the communication data, into the two ASCII codes.
2-2
How to Read the Data Structure Table
Each command and response are described in subsequent chapter showing the
send data format and detailed data table. This section describes how to read the
data format and the detailed data table using "Installation position correction setting".
Cumulative number of bytes calculated excluding header are shown.
The value is not shown for the data that may not be added in specific cases.
■ Command
1
Header T
Data
structure
K
4
, Installation position correction (X)
12
, Installation position correction (Y)
20
, Installation position correction (θ)
, Checksum Delimiter
2
Communication Specifications
Item
Detailed
data table
Parameter
Number of bytes
Identification code
TK
2
Installation position
correction (X)
–55.000 to 055.000*1
7
Installation position
correction (Y)
–55.000 to 055.000*1
7
Installation position
correction (θ)
000.00 to 359.99
6
Total number of bytes
Remarks
Fixed
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –32.500 to 32.500
❍ Variable length parameter of 6 bytes or less.
Unit: °
25 (22)
Set value or set value
range of the data to be
sent is displayed.
Name of each data
item to be sent.
Number of bytes of
each item.
Detailed description of each item.
The total number of bytes indicates the sum of data in terms of
number of bytes, excluding header, delimiter, checksum and comma
"," immediately before the checksum. Value in parenthesis ( )
indicates the total number of bytes of each item excluding comma ",".
(Total number of bytes is calculated using the maximum number of
bytes even when variable length parameter is used.)
Header T K
,
, Checksum Delimiter
Total number of bytes (including comma ",")
The parameter shows the range of setting for ML-G9310/9311 (standard character). If other
models have different ranges of settings, the differences are shown in the remarks column.
■ Response
1
Header T K
4
,
0
, Checksum Delimiter
Only responses during the normal operation are shown.
For the responses when an error occurs, refer to "3-1 Error Response" (page 3-2)
The detailed data table is omitted for the commands and responses in the case if only the
identification code and error status alone of these commands and responses are sent.
2-4
MLG9300/V9600RS-M-NO2-E
2-3
Variable Length Parameter
This section describes the variable length parameters.
Among the parameters contained in commands, there are parameters that can be curtailed with regard to
the number of bytes for sending. These parameters are shown as the "Variable length parameters" and are
explicitly indicated in the remarks column in the detailed data table.
Program No. switching command "GA"
2
■ Command
4
, Checksum Delimiter
, Program No.
Item
Parameter
Number of bytes
GA
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Identification code
Program No.
Remarks
When the above indication is shown, the data can be sent with variable
length data.
[❍] The white round mark indicates that the data is variable length parameter.
[●] The black round mark indicates that the data is fixed length parameter.
The respective parameters of the responses that are sent from the controller are of the fixed
length data.
The variable length parameter can be sent using the data format as shown below.
When you want to change the program No. to "0001", the parameter can be sent using the four digit data as shown below.
Header G A
,
0
0 0 1
, Checksum Delimiter
Program No.
In the "GA" command, the program No. is the variable length data. If the higher digits of program No. is "0", "0" is not
sent but only "1" is sent.
Header G A
,
1
, Checksum Delimiter
Program No.
MLG9300/V9600RS-M-NO2-E
2-5
Communication Specifications
1
Header G A
2-3 Variable length parameter
Block coordinate change command "C0"
When you want to change the block start X- and Y-coordinates of the program No. "0100" and block No. "010", to (X,
Y) = (1.5, 30.0), you can send data as shown below.
Header C 0
,
1 0
0
,
1 0
,
Program No. Block No.
1
.
5
X coordinate
,
3 0
, Checksum Delimiter
Y coordinate
Note that the following transmission rule is imposed on the variable length parameter. To send 5 mm, the following
rule should be observed.
Correct
2
Communication Specifications
2-6
Wrong
5
5.
05
_5 ("_" means a space.)
05.0
_5.0
Description
When decimal point character is added, the digit more than one digit
below the decimal point is required.
You cannot replace "0" with a "space".
MLG9300/V9600RS-M-NO2-E
2-4
ML Series Communication Compatibility
The ML-9100/-9200 series ("ML" hereafter) have different system specifications
from the ML-G9300 series ("ML-G" hereafter).
This section describes the communication compatibility of the programs created
by the communication commands of ML, so that they can be used in ML-G.
■ Communication specifications
The protocol that is dedicated to ML is added so that the commands that are dedicated to ML-9100
(Standard character model) and to ML-9200 (Small character model) can be used in the ML-G system.
■ Specification details
1. Setting the parameters and read-out range are basically equivalent to satisfying both the ML input range
and ML-G input range. However, the settings and the block conditions as shown below can be set up for
the input range of ML-G provided they are within the range of the ML command format.
[Common Setups] input range
• Lower limit of Marking Time
• Upper limit of Line Speed (Constant, Encoder)
• Upper limit of Approach
• Total length of palette in X- and Y-directions
[Block Condition] input range
• Minimum value of Line Width
• Marking start X- and Y-positions (Normal, barcode, QR)
• Character Height, Character Width
• Skip cross width
• Scan speed
• Laser power
• Upper limit of barcode height
• Upper limit of ON time
• Coordinate values of various Machinery Operations
• Upper limit value of arc radius (Machinery Operation)
2. If any setup value exceeding the range of the ML command parameter is read when using the ML
command, the controller returns the error response "NGV" (Program Incorrect Error).
3. Because some commands have different setting ranges depending on the types of ML-9100 or ML-9200,
you should select the ML commands from the protocol of "ML-9100 Type" / "ML-9200 Type".
* You should select the settings from the [Communication Setup] of the personal computer software
(MARKING BUILDER) and that of the console (ML-GP1).
4. If the controller receives any ML command that cannot be accepted and used, the controller returns a
dummy response in order to prevent a communication error.
* The controller returns "OK" for the setting command and returns the "Minimum value of the setting" for
the request command.
5. A maximum of 10 blocks of the QR code can be set for each Program number. If you want to set more
than 10 blocks of the QR code, the error response "NGV" (Program Incorrect Error) is returned.
A maximum of 50 QR codes can be registered. If an attempt is made to register more than 50 QR codes,
the error response "NGV" (Program Incorrect Error) is returned.
6. Limitation of arc parameter
If the arc block data is sent by either the (FCS) or (FBS) or (FDS) command, the parameters of position,
angle, space and full width are not saved and so the existing values remain and are not overwritten. If
you are going to create new data, these parameters are saved in the initial default values. For the (FCR)
command, the read-out values of position, angle, space and full width are sent with their minimum values
of the input range as dummies.
7. When the Descend value is sent, the value that is sent by the last Program number is reflected.
8. [Character size automatic correction] of ML-MLG Convert will not be reflected.
Refer to "4-14 ML → MLG Data Converter" (page 4-189) of the "MARKING BUILDER" User's Manual.
MLG9300/V9600RS-M-NO2-E
2-7
2
Communication Specifications
This protocol ensures compatibility of communications between ML and ML-G, but does not
support compatibility of operations.
The internal processing such as expansion, and the operations such I/O output, conform to the
specifications of ML-G.
* For the external controls, modification may be necessary in some cases.
2-4 ML Series Communication Compatibility
■ Functions that cannot be used by the ML command
The following functions and commands cannot be used.
* For details of the functions and commands, refer to the ML-9100/-9200 Series RS232C Interface User's
Manual.
Function
2
Details (command)
Communication Specifications
Flow control
ML communication setting
Program switching time
during response
The fixed value of "000001" is sent.
Response time Response function
SET (JSR), END (JER)
Cut Buffer function
Copying the setting (CCP), deleting each setting (IFC), deleting all (INI),
pasting the setting (PST), clearing buffer (CTC), confirming the possibility of pasting (PSF)
SETUP
Automatic operation mode (ATS/ATR), laser ON/OFF timing (DTS/DTR),
distortion correction (DRS/DRR)
Preset function
Counter (CMS/CMR), year (NNS/NNR), month (MNS/MNR), day (DNS/DNR),
week (WNS/WNR), day of the week (BNS/BNR), minute (KNS/KNR), shift-code (SNS/SNR),
name of Imperial era (GNS/GNR), limit (PRS/PRR)
Font replacement function
Font replacement setting (FLS/FLR), canceling the font replacement (FLCJ),
deleting the custom character logo data (FLC), custom character title (FTR)
■ Setting the communication conditions
If you want to use the ML command, select either the ML9100 Type or the ML9200 Type from [Protocol] of
[Communication Setup] of the ML-G side.
The protocol can be set from either the "MARKING BUILDER" or from the "Console (ML-GP1)".
When using "MARKING BUILDER"
When using "Console (ML-GP1)"
Refer to "Communication Setup (Unit Setup)" of
Refer to "7-4 Setting Communication Conditions" of
the RS232C Interface User's Manual (page 4-84).
the "ML-GP1/MD-VP1 User's Manual" (page 7-17).
2
1
1
3
3
2
*
1
Open the [Protocol] text box of the communication setting screen. (Pull down the menu.)
2
Select the desired protocol: "Keyence Original", "ML9100" type or "ML-9200" type.
3
Set the same communication conditions as those of the sender side.
[Delimiter] is fixed to [CR], and [Frame timeout] is fixed to [300].
2-8
MLG9300/V9600RS-M-NO2-E
2-4 ML Series Communication Compatibility
Response when "Operation/Error status request (CDR)" is sent
When the "Operation/Error status request (CDR)" of the ML command is sent, the error codes that are
returned from the ML-G controller are shown below.
■ ML-G error code
Unrecoverable error
Recoverable error
E000
CO2 Laser Error
E001
Scanner Error
E002
Shutter Error
E007
Marking Unit Version Error
E008
System Error
*E013
Marking Unit Communication Error
*E014
Marking Unit Not Connected Error
*S006
Checksum Error
Format Error
Key-Switch Error
Warning
W000
Battery Life Warning
2
Software error
Marking Unit Model Error
*S007
*E016
Memory Check Error
*S008
Command Unrecognizable Error
*E017
Built-in Memory Card Unrecognizable Error
*E018
Marking Unit Data Error
*E019
Expansion Memory Full Error
T000
Emergency Stop
*E020
Mark Memory Full Error
T001
Controlling Laser
*E021
No Program Error
T002
Marking Inhibited
*E022
Not Optimized Error
*T003
Marking Laser Disabled
*E023
Encoder Marking Over-Speed Error
*T004
Machinery Operation Mode Disabled
*E024
Mark Trigger Error
*T005
Distance Pointer ON
*E025
Sensor Timeout Error
*E026
Over-Area Error
*E027
Movement Marking Over-Area Error
*E028
Movement Marking Timeout Error
*E029
Logo File Error
*E030
Custom Character File Error
*E031
Encoding Disabled Error (mainly preset)
*E032
Encoding Disabled Error (mainly update character)
*E033
Switching Program Unexecutable Error
*E034
Limit Setting Error
*E035
Restart Error
*E036
Logo/Custom Character Enlargement Error
*E037
Skip Cross Error
*E038
Quick Change of Character Setup Error
*E039
Machinery Oval Setting Error
*E040
Marking Data Generation Error
*E041
Logo/Custom Char. Buffer Full Error
Communication Specifications
*E015
E100
External input terminal
*:
New error codes in ML-G.
These error codes are not used in the original ML.
The above-described error codes are prepared as the error codes to be compatible in the
communications among the ML series products. Please note therefore that some error codes
have the different error code numbers from the error codes (
pages 3-6 and 3-7) that are
returned against the command (EX) requesting the error contents.
MLG9300/V9600RS-M-NO2-E
2-9
Memo
2
Communication Specifications
2-10
MLG9300/V9600RS-M-NO2-E
Chapter
3
MLG9300/V9600RS-M-NO3-E
Troubleshooting
This chapter describes the procedures to check the error contents and
to reset the error.
3-1
Error Response.........................................................................3-2
3-2
Time-out Error ...........................................................................3-4
3-3
Requesting and Resetting the Error Contents ..........................3-5
3-1
3-1
Error Response
This section describes the causes of communication errors and the
responses when an error occurs.
Types of Errors
There are two types of communication errors as shown below in the ML-G series and the MD-V series.
1. Error when the sent data is illegal or when an abnormality occurs in the ML-G series or the MD-V series.
3
When data is received correctly up to delimiter and if the received contents contain an error, or when the
ML-G series or the MD-V series has internal abnormality and the command cannot be executed, the
result is added to the respective responses and returned.
2. Time-out Error
The time-out error is issued if delimiter is not received within the time-out time even after data reception
has started successfully.
"3-2 Time-out Error " for details (page 3-4)
Troubleshooting
Error Response
When the controller receives the data sent from external equipment up to delimiter and the received
command is executed normally, the controller returns the normal response. If the received data is illegal or if
the received data cannot be executed correctly, the controller returns an error response.
The responses for the respective commands are returned in the following formats.
• Sent command
Header
Identification
code
,
Data
, Checksum Delimiter
• Normal response
Normal
Header
Identification
code
,
0
,
Data
, Checksum Delimiter
Normal If there is any return data for the command,
it is added.
• Error response
Error
Header
Identification
code
,
1
,
S
0
0
0
, Checksum Delimiter
Error occurs. The software error code (one alphabet
character and three digit numerals) is sent.
Only the normal response is shown in the description of respective commands.
3-2
MLG9300/V9600RS-M-NO3-E
3-1 Error Response
A single error status byte that is used to check if error occurs or not is contained in the response.
We can check if the command is executed correctly or not by checking the error status byte. If an error
occurs, the code of the error which prevents the command from being executed is added to the response.
The error codes that are added to the ordinary communication commands are shown below.
"6-2 Error Messages" of "ML-G9300 Series User's Manual" and Chapter "6-2 Error Messages" of "MD-V9600
Series User's Manual" for details.
Error code
Error contents
S000
Program Incorrect Error
S001
Program Memory Full Error
S002
Built-in Memory Card Full Error
S003
External Memory Card Full Error
S004
External Memory Card Not Inserted Error
External Memory Card Unrecognizable Error
S006
Priority Error
S008
No-File Error
S009
Busy Error
S010
No Marking Block Error
S011
Logo/Custom Character Number Exceed Error
S012
Incorrect Optimization Error
S014
Current Program Operation Error
S015
Logo/Custom Character File Operation Error
S016
Test Mark Unexecutable Error
S017
Fixed Point Marking Setting Error
S018
Barcode/2D Code Illegal Setting Error
S019
All-Setup Restoration Error
S020
Data Length Error
S021
Program Number Not Registered Error
S022
Block Number Not Registered Error
S024
Illegal Command Error
S025
Checksum Error
S026
Format Error
S027
Command Unrecognizable Error
S028
Response Data Length Error
S029
Mark Data Request Error
S050
Quick Change of Character Setup Error
S051
Sample Marking Unexecutable Error
S052
Laser Inspection Unexecutable Error
3
Troubleshooting
S005
• Use the error contents request command "EX" when you want to confirm the error that has
occurred inside the controller that is not caused by the communication process.
"3-3 Requesting and Resetting the Error Contents" (page 3-5)
• Among the various commands, the "Program No. switching command GA" and the "Marking
Start TX" command may be returned with the error response from controller indicating the
error that occurred . For the error codes that have occurred inside the controller, refer to
pages 3-6 and 3-7.
MLG9300/V9600RS-M-NO3-E
3-3
3-2
Time-out Error
This section describes the procedure when the time-out error occurs.
3
When the controller detects that time-out has occurred, the controller discards the data that the controller has
received up to that moment, and returns the communication status to the idle state. When time-out occurs,
the controller does not return any response.
External equipment should set an appropriate time-out time during which external equipment waits for a
response after sending a command.
If external equipment does not receive a response within the time-out time, it becomes ready again to receive
the normal response from the controller by re-sending the command.
The time-out time should be designed and set as described below.
Time-out time on external equipment side must be greater than the time-out time on controller side
Troubleshooting
External equipment
Controller side
ML-G9300
MD-V9600
Sending command
Normal
Header A B Delimiter
Time
Returning response
Sending command
Time-out time
set on the external
equipment side
Header C D Delimiter
Communication error occurs.
Data up to the Header C is received
but the remaining data cannot be received.
When the interframe time-out time that is set on
the controller has elapsed, the controller returns
to the idle state.
Re-sending command
Header C D Delimiter
Normal
Returning response
3-4
MLG9300/V9600RS-M-NO3-E
3-3
Requesting and Resetting the Error
Contents
This section describes the procedure to check the error contents when an
error occurs, and the procedure to reset the error.
Use the error contents request command (EX) to issue request for cause of the error that is occurring at the moment.
When an error occurs, remove the cause of the error. After removal, use the error reset command (FY) to
reset the error.
Requesting error contents (EX)
Use this command to inquire contents of an error. When an error occurs inside the controller, the response to
which error code is added is sent. When no error occurs, only the error status is sent. When two or more
errors occur simultaneously, all error codes that are occurring at the moment are sent.
■ Command
Troubleshooting
Header E X
, Checksum Delimiter
■ Response
1
4
Header E X
6
, Error Status ,
Error Cause
, Checksum Delimiter
Error causes for all error codes that are occurring are sent consecutively.
It is not added in the normal response.
Item
Parameter
Number of bytes
EX
2
Fixed
1
0: Normal operation
1: Error occurs.
—
• It is added only when the error status is "1".
• A single error cause is indicated using a single
alphabet and three numerical digits.
• All of the errors that have occurred are returned.
For error cause, refer to pages 3-6 and 3-7.
Identification Code
Error Status
0/1
Error Cause
Error code
Total number of bytes
Remarks
—
When two or more errors occur, response is returned in the following format.
Header E X
,
MLG9300/V9600RS-M-NO3-E
1
,
3
E 0 0
1
,
E 0 0
7
, W 0 0 0
, Checksum Delimiter
3-5
3-3 Requesting and Resetting the Error Contents
■ Errors
When an error occurs, the following error code is added to the response and returned.
To restore the system from error status, use the error reset command (FY) to reset the error, and return the
controller into the ready state.
Error code
E000*1
E001*1
E002*1
E003
E004
E005
E006
E007
E008
E009
E010
E011
E012
E013
E014
E015
E016
E018
E019
E021
E022
E023
E024
E025
E026
E027
E028
E030
E031
E032
E033
E034
E035
E037
E038
E050
E051
E052
E053
E054
E055
E056
E057
E058
E059
E060
E061
E062
E100*2
E101*2
E102*2
E103*2
3
Troubleshooting
Error contents
Laser Reflecting Wave Error
Laser High-Temperature Error
Laser Excess Voltage Error
Marking Unit Communication Error
Scanner Error
Shutter Error (out of order)
Marking Unit Not Connected Error
Marking Unit Model Error
Controller FPGA Version Error
Marking Unit FPGA Version Error
Memory Check Error
Built-in Memory Card Unrecognizable Error
Marking Unit Data Error
Expansion Memory Full Error
Mark Memory Full Error
No Program Error
Not Optimized Error
Encoder Marking Over-Speed Error
Mark Trigger Error
Sensor Timeout Error
Over-Area Error
Movement Marking Over-Area Error
Movement Marking Timeout Error
Logo File Error
Custom Character File Error
Encoding Disabled Error (mainly due to preset)
Switching Program Unexecutable Error
Limit Setting Error
Restart Error
Logo/Custom Character Enlargement Error
Skip Cross Error
Encoding disabled error (mainly due to update character)
Quick Change of Character Setup Error
Machinery Oval Setting Error
Logo/Custom Char. Buffer Full Error
Marking Data Generation Error
System Error 2
System Error 3
System Error 4
System Error 5
System Error 6
System Error 7
System Error 8
System Error 9
System Error 10
System Error 11
System Error 12
System Error 13
LD High-Temperature Error
LD Low-Temperature Error
Laser Resonator High-Temperature Error
Laser Resonator Low-Temperature Error
*1
*2
3-6
Applicable to the ML-G9300 series only.
Applicable to the MD-V9600 series only.
MLG9300/V9600RS-M-NO3-E
3-3 Requesting and Resetting the Error Contents
■ WARNING
This WARNING is sent when the controller internal battery voltage drops.
Error code
Error contents
W000
Battery Life Warning
W100*3
LD Temperature Control Warning
W101*3
Marking Unit Temperature Control Warning
*3
Applicable to the MD-V9600 series only.
■ Terminal block control status
This error code is sent when the terminal block on the rear of the controller is being controlled.
Error code
Error contents
Emergency Stop
T001
Controlling Laser
T002
Trigger Inhibited
T003
Marking Laser Disabled
T004
Machinery Operation Mode Disabled
T005
Distance Pointer ON
T006
Key-Switch Power ON
T007*4
Controlling LD Temperature
*4
3
Troubleshooting
T000
Applicable to the MD-V9600 series only.
■ Communication errors
This error code is sent when a software related error occurs.
Error code
MLG9300/V9600RS-M-NO3-E
Error contents
S025
Checksum Error
S026
Format Error
S027
Command Unrecognizable Error
3-7
3-3 Requesting and Resetting the Error Contents
Resetting error (FY)
When an error occurs, remove the cause of the error. After removal, use the error reset command to reset the
error. Unless error is reset, the controller does not return into the ready state.
■ Command
Header F Y
, Checksum Delimiter
■ Response
4
Header F Y
, Error Status , Checksum Delimiter
How to reset error when an error occurs
In addition to the method of using the error reset (FY) command, an error can be reset by using
the following methods.
■ In case that the controller is used as a standalone equipment:
After cause of error is removed, execute the following operations.
• Short-circuit the error reset input terminal (pin-1) and the input GND terminal of the controller.
• Turn the key switch to either "POWER ON" or "OFF" once and then turn it back to "POWER ON" again.
■ In the case that the laser marker setup software "MARKING BUILDER" is installed or the
touch panel (option) is connected:
Error can be reset by the following procedures.
"MARKING BUILDER"
• Click on the [Error Reset] button on the main menu.
• Click on the [Error Reset] button on the operation menu.
• Click on the [Error Reset] button in the [Test marking] dialog box.
• Click on the [Error Reset] button in the [Check] dialog box.
For "MARKING BUILDER", refer to "ML-G9300 Series User's Manual" and "MD-V9600
Series User's Manual".
3
Troubleshooting
"Touch panel"
• Click on the [Error Reset] button on the error check menu.
• Click on the [Error Reset] button on the test marking menu.
3-8
MLG9300/V9600RS-M-NO3-E
Chapter
4
Registering, Requesting
and Deleting the Program
This chapter describes the procedures to register, issue requests and
delete the program of the controller.
4-1
Overview ...................................................................................4-2
4-2
Setting Various Conditions........................................................4-6
4-3
Deleting Program Contents.....................................................4-30
CAUTION
The setting area shown in this manual is for the ML-G Series ML-G9310/9311 (standard
character specification) Laser Marker.
Where other models [ML-G Series ML-G9320/9321 (small character specification), MLG9370/9371 (very small character specification), MD-V Series MD-V9600 (standard
character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different setting
area, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-1
4-1
Overview
This section describes the program structure, the marking contents, and the
operation flow when setting the various conditions.
Program No. and Block Structure
A single program No. consists of multiple block Nos., and is saved as a single file. If you want to mark the
character string under multiple conditions within a single program No., separate the blocks into multiple
groups and set them.
4
■ Number of programs and registrations
• A maximum of 2000 programs (0000 to 1999) can be registered in the controller.
• A maximum of 256 blocks (0 to 255) can be registered in a single program No.
• Five different types (A to E) of common block can be registered.
• A maximum of 128 characters can be registered in a single block No.
• Every program No. can have a title (maximum 13 2-byte characters).
• A single line of character string and its marking conditions can be set to each block independently.
Registering, Requesting and Deleting the Program
■ Program No. and block structure
The five blocks of blocks A to E can share a common character string and marking conditions with other
program Nos.
Program No.0000
Block No. 000
Character string Marking conditions
Block No. 001
Character string Marking conditions
Block No. 254
Character string Marking conditions
Block No. 255
Character string Marking conditions
Block A
Character string Marking conditions
Block E
Character string Marking conditions
Program No.0001
Program No.0002
Program No.1998
Program No.1999
For example, when the block Nos. 000, 001 and 002 are set in the program No. 0000, the characters are
marked as shown below.
Program No.0000
Block No. 000
Block No. 001
Block No. 002
ABCDEF
G
H
I
JK
LMN
When the data are marked actually
ABCDEF
G
H
JK
LMN I
4-2
MLG9300/V9600RS-M-NO4-E
4-1 Overview
Operation Flow of Setting the Marking Contents and Conditions
To set the marking contents and their conditions, the operating procedures for creating a new program No., and
for changing the already registered contents are different. Operation flow of setting is shown as follows.
Operation flow of setting (character string, barcode, 2D code, logo, workpiece image and photo)
Setting starts
Yes (new program)
No. (changing program)
Creating new program No.
Character string, Barcode, 2D code, Logo,
workpiece image and Photo
XS·XT Program creation start command
(page 4-5)
Only the commands that need to be changed are sent.
There is no sequence of changing commands.
G0 Changing common marking conditions
G0 Setting common marking conditions
(page 4-6)
C2 Changing the character string
(page 5-2)
(page 4-6)
G2 Changing block conditions
(page 4-11)
(page 5-3)
(page 4-11)
G4 Changing title
G4 Setting title
(page 4-23)
C0 Changing block coordinates (individual)
(page 5-8)
(page 4-23)
G6 Setting counter conditions
G6 Changing counter conditions
AF Changing block coordinates (whole)
(page 4-24)
(page 5-10)
G8 Setting common palette conditions
C6 Changing block marking flag
(page 4-26)
(page 5-11)
(page 4-24)
G8 Setting common palette conditions
(page 4-26)
GW Setting individual palette conditions
(page 4-28)
GW Setting individual palette
conditions
(page 4-28)
YE Program creation end command
VC Changing coordinate offset
of palette marking
(page 5-17)
VK Changing marking " Yes/No"
status of palette marking
(page 4-5)
(page 5-19)
End of setting
• To create a new program No., sending the commands starting from the Program creation
start command (XS·XT) through the Title setting command (G4), and sending the Program
creation end command (YE) at the end are compulsory. If the Title setting command (G4) is
not sent, “DEFAULT****” (* means the program No.) is automatically set.
• The Counter condition setting command (G6) and the Palette condition setting command (G8
and GW) need not be sent unless they are necessary.
To change the marking contents of a program No. that has already been created before, and to
execute consecutively the multiple changing commands shown in the right column in the above
table, you can shorten the communication time by executing and sending the following
commands in order starting from the Program creation start command (XS) → executing the
multiple changing commands → Program creation end command (YE).
MLG9300/V9600RS-M-NO4-E
4-3
4
Registering, Requesting and Deleting the Program
G2 Setting block conditions
H2 Changing the quick-change character string
4-1 Overview
Operation flow of setting (Machinery Operation Mode)
Setting starts
Yes (new program)
No. (changing program)
Creating new program No.
In the case of running in the machinery
operation mode
XS·XT Program creation start command
(page 4-5)
Only the commands that need to be changed are sent.
There is no sequence of changing commands.
G0 Changing common marking
G0 Setting common marking conditions
(page 4-6)
4
G2 Setting block conditions
(page 4-11)
Registering, Requesting and Deleting the Program
G4 Setting title
conditions
(page 4-6)
G2 Changing block conditions
(page 4-11)
G4 Changing title
(page 4-23)
(page 4-23)
C4 Changing operating conditions
of machinery operation mode
(page 5-13)
AF Changing block coordinates (whole)
(page 5-10)
C6 Changing block marking flag
(page 5-11)
YE Program creation end command
(page 4-5)
End of setting
• Movement Marking function is not supported in the machinery operation mode.
• To create a new program for running in the machinery operation mode, sending the
commands starting from the Program creation start command (XS·XT) through to Program
creation end command (YE) is compulsory.
• To change the marking contents of a program No. that has already been created before, and
to execute consecutively the multiple changing commands shown in the right column in the
above table, you can shorten the communication time by executing and sending the following
commands in order starting from the Program creation start command (XS) → executing the
multiple changing commands → Program creation end command (YE).
• The machinery operation block can be mixed with laser marker operation block to be
operated under conditions of other block types. To mix the machinery operation block with
blocks of other types as described above, select the required setting commands for the
desired operation.
4-4
MLG9300/V9600RS-M-NO4-E
4-1 Overview
Creating a New Program
Program creation start command (XS·XT)
To create a new program No., you must declare a new program by using the program creation start
command (XS) or (XT).
When the controller receives the program creation start command, the subsequent program data are
tentatively stored. When the controller receives the program creation end command (YE), the program is
finally stored in the controller. When the controller receives the program creation stop command (XI), the
program data that are stored tentatively are discarded and the program creation is terminated.
There are two types of the program creation start command.
Use the XS command under normal conditions.
• XS command: Saves only the changes, which have been made to the settings before the program creation
end command (YE) is sent.
• XT command: Deletes all the previous settings first, and save the settings that have been made before the
program creation end command (YE) is sent. To use this command, all the settings required
for marking, such as common marking conditions, should be send.
Program creation start command (XS)
[Changes and saves the specified settings]
■ Command
1
1
4
S
, P ro gra m N o. , Checksum Delimiter
■ Response
4
S
4
4
T
, Program No. , Checksum Delimiter
■ Response
1
Header X
Header X
,
1
0
, Checksum Delimiter
Header X
4
T
,
0
, Checksum Delimiter
To change the marking contents of a program No. that has already been created before, and
to execute consecutively the multiple changing commands shown in the right column in the
above table, you can shorten the communication time by executing and sending the following
commands in order starting from the Program creation start command (XS) → executing the
multiple changing commands → Program creation end command (YE).
Program creation end command (YE)
Declares end of creating a new program No. The controller validates the program data when it receives this command.
■ Command
Header Y
E
, Checksum Delimiter
■ Response
1
Header Y
4
E
,
0
, Checksum Delimiter
Program creation stop command (XI)
Stops creation of a new program No. The controller discards the program data when it receives this command.
■ Command
Header X
I
, Checksum Delimiter
■ Response
1
Header X
4
I
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-5
Registering, Requesting and Deleting the Program
Header X
Program creation start command (XT)
[Changes and saves all the settings]
■ Command
4-2
Setting Various Conditions
This section describes the procedure of setting and requesting the various
functions that constitute a program of specific program No.
Setting and Requesting the Common Marking Conditions
Setting the common marking conditions (G0)
Use this command to set the marking conditions that apply to all program Nos. in common. Values of some
items will become invalid due to the movement conditions. However, be sure to send all program items when
sending the data.
■ Command
1
4
Header G
0
,
Number of Encoder
Pulses
,
29
4
9
Program No.
,
11
Movement
Direction
34
,
,
Registering, Requesting and Deleting the Program
Item
Identification Code
Program No.
22
15
Movement
Condition
,
Marking Time • Line Speed •
Maximum Line Speed
Trigger Delay
,
49
,
57
, Movement Marking Start Position , Movement Marking End Position , Set Common Block ,
66
ContMarkRept
,
41
Minimum Workpiece Interval •
Fixed-point Irradiation Time
60
13
Marking
Direction
73
ContMarkInterval
,
75
Optimized Scan Speed
77
, Scan Optimization Flag , Marking Order Flag , Checksum Delimiter
Parameter
Number of bytes
G0
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Remarks
This item is valid when equal speed is selected as
movement condition or when encoder is selected.
Movement Direction
0/1/2/3
1
For horizontal type
0:↓, 1:→, 2:↑, 3:←,
Marking Direction
0 to 7
1
Movement Condition
0/1/2
1
Marking Time
000.01 to 300.00
Marking Time /
Line Speed /
Maximum Line Speed
6
Line Speed /
Maximum Line Speed
000001 to 004000 *1
4-6
0010 to 2000
To be selected in accordance with the movement condition
❍ Variable length parameter of 6 bytes or less.
• For stationary marking
It sets the marking time.
Unit: s
• For equal speed movement, it sets the production line speed.
For encoder, it sets the production line maximum speed
Unit: mm/s
*1 ML-G 9320/9321/9370/9371:1 to 2000
MD-V 9600: 1 to 4000
9610: 1 to 2000
9620: 1 to 4000
6
4
This item is valid when encoder is selected as the movement condition.
❍ Variable length parameter of 4 bytes or less.
Unit: pulses/10 mm
Interval
0010.0 to 1200.0
Number of Encoder
Pulses
"Supplementary description of parameter" (page 4-8)
0: Stationary, 1: Equal speed, 2: Encoder
To be selected in accordance with the movement condition
❍ Variable length parameter of 6 bytes or less.
• For stationary marking
It sets the time.
Unit: s
• For equal speed movement and encoder
It sets interval.
Unit: mm
Time
0000.0 to 0009.9
Trigger Delay
For vertical type
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Item
Parameter
Number of bytes
6
This item is valid when equal speed is selected as
movement condition or when encoder is selected.
❍ Variable length parameter of 6 bytes or less.
Unit: mm
This item is valid for stationary marking.
❍ Variable length parameter of 6 bytes or less.
0: The setting shall be "0" except for fixed point irradiation.
Unit: ms
7
This item is valid when equal speed is selected as
movement condition or when encoder is selected.
❍ Variable length parameter of 7 bytes or less.
Unit: mm
Minimum Workpiece Interval
0000.1 to 1200.0
Minimum Workpiece
Interval/Fixed Point
Irradiation Time
Fixed Point Irradiation Time
000001 to 065000
Movement Marking
Start Position
–55.000 to 055.000*2
Remarks
*2
ML-G
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
–55.000 to 055.000*2
7
Set Common Block
00 to 1F
2
It sets the common blocks of A/B/C/D.
"Supplementary description of parameter" (page 4-8)
5
Set to "1" if continuous marking is not selected.
Set to "0" if you select "Marking while trigger is ON" in the
movement marking setting.
❍ Variable length parameter of 5 bytes or less.
6
To be selected in accordance with the movement
condition
This setting is invalidated if continuous marking is not
selected (i.e., if number of continuous markings is 1).
❍ Variable length parameter of 6 bytes or less.
• For stationary marking
It sets the time.
Unit: s
• For equal speed movement and encoder
It sets interval.
Unit: mm
ContMarkRept
00000 to 65535
Time
0000.0 to 0009.9
ContMark Interval
Interval
0001.0 to 1200.0
MD-V
Optimized Scan Speed
00000 (fixed)
5
❍ Variable length parameter of 5 bytes or less.
The scan optimization cannot be executed by using the
communication command.
Scan Optimization Flag
2 (fixed)
1
The scan optimization cannot be executed by using the
communication command.
0/1
1
0: Marking is executed in the order of blocks.
1: Marking is executed after order of markings is optimized.
Marking Order Flag
Total number of bytes
*1 to 2
77 (61)
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models
[ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification), MDV Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different
ranges of settings, the differences are shown in the remarks column.
■ Response
1
Header G
4
0
,
0
, Checksum Delimiter
You can set the item “Set Common Block” to “Not to use” by issuing the “GO” command to the
program No. in which the marking contents have already been set. Even if the target program
No. does not contain any block to be marked, READY output from the control outputs is turned
ON. Marking output and Marking Complete output are not turned ON after SENSOR input is
received though the READY output is turned OFF momentarily.
MLG9300/V9600RS-M-NO4-E
4-7
4
Registering, Requesting and Deleting the Program
Movement Marking
End Position
4-2 Setting Various Conditions
■ Supplementary description of parameter
• Marking direction and parameter
Marking direction against the marker position (when viewing the marker head from the top) is set as shown below.
F
Marking direction of characters
F
Vertical type
F
F
F
F
F
Horizontal type
F
Marking direction
X
ABC
X
Mirror image: None
Parameter
Mirror image: Yes
4
ABC
Coordinate axes
Y
X
3
2
6
4
ABC
Y
ABC X Y
Y
0
1
5
7
When "Mirror image: Yes" is selected, the marking as shown below is made.
Entry
Marking
Registering, Requesting and Deleting the Program
(0,0)
Entry
Marking
(0,0)
• Trigger Delay and minimum workpiece interval
The "Trigger Delay" determines the distance from the center of the marking area to the marking start
position on next workpiece when the marking start trigger signal is issued. For the "Minimum workpiece
interval", input the minimum distance from one workpiece to the next.
Marking Start
Position
Positional relationship when the
marking start timing signal is issued.
Workpiece Interval
Marking Area
Trigger Delay
55.1mm*
Direction of Production
Line Movement
Center of Marking Area
*ML-G
MD-V
9320/9321: 27.600mm
9370/9371: 15.100mm
9600: 45.100mm
9610: 27.600mm
9620: 77.600mm
ABC
ABC
Workpiece
Sensor
• Setting of common blocks
Set to "Use/Not to use" the common blocks.
Use the common block E. (1)
Do not use the common block D. (0)
Do not use the common block C. (0)
Use the common block B. (1)
Do not use the common block A. (0)
Fixed to 0.
0 0 0 1 0 0 1 0
The respective bits that correspond to each
common block are shown on the left.
Set the bit to "1" to use the desired common block.
Converting them to a single Converting them to a single
ASCII code character.
ASCII code character.
1
4-8
2
The higher bits and the lower bits are converted
to a single ASCII code character and are sent.
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Requesting the common marking conditions (F1)
Use this command to request the marking conditions that apply to all program Nos. in common.
The content of the parameters of the identification code and those after the error status are identical to those
of the common marking command (G0).
■ Command
1
4
Header F
1
, Checksum Delimiter
Program No.
,
Item
Parameter
Number of bytes
F1
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Identification Code
Program No.
Total number of bytes
Remarks
7 (6)
■ Response
1
4
Header F
1
,
6
0
,
8
Moving
Direction
31
10
,
12
Movement
Condition
63
70
72
Trigger Delay
54
Movement Marking End Position
, Number of Encoder Pulses
57
, Set Common Block ,
ContMarkRept
,
74
, Optimized Scan Speed , Scan Optimization Flag , Marking Order Flag , Checksum Delimiter
Item
Identification Code
Error Status
Parameter
Number of bytes
F1
2
0/1
1
Remarks
Fixed
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
This item is valid when equal speed is selected as movement
condition or when encoder is selected.
Moving Direction
0/1/2/3
1
For horizontal type
0: ↓, 1: →, 2: ↑, 3: ←
Marking Direction
0 to 7
1
Movement Condition
0/1/2
1
Marking Time
000.01 to 300.00
Marking Time/
Line Speed/
Maximum Line Speed
6
Line Speed/
Maximum Line Speed
000001 to 004000 *1
Time
0000.0 to 0009.9
Trigger Delay
6
Interval
0010.0 to 1200.0
For vertical type
"Supplementary description of parameter" (page 4-8.)
0: Stationary
1: Equal speed
2: Encoder
The content differs depending on the movement conditions.
● Data length is fixed to 6 bytes.
• For stationary marking
The marking time is sent.
Unit: s
• For equal speed movement and encoder
For equal speed movement, it sets the production line speed.
For encoder, it sets the production line maximum speed.
Unit: mm/s
*1 ML-G 9320/9321/9370/9371: 1 to 2000
MD-V 9600: 1 to 4000
9610: 1 to 2000
9620: 1 to 4000
The content differs depending on the movement conditions.
● Data length is fixed to 6 bytes.
• For stationary marking
The time is sent.
Unit: s
• For equal speed movement and encoder
The distance is sent.
Unit: mm
*1 The
parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models [ML-G Series ML-G9320/9321 (small
character specification), ML-G9370/9371 (very small character specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin
line), MD-V9620 (wide area)] have different ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-9
4
Registering, Requesting and Deleting the Program
ContMarkInterval
,
46
, Movement Marking Start Position ,
26
19
Marking Time/Line Speed/
Maximum line Speed
,
38
Minimum Workpiece Interval/
Fixed Point Irradiation Time
,
,
Marking
Direction
4-2 Setting Various Conditions
Item
Parameter
Number of bytes
Number of Encoder Pulses
0010 to 2000
4
Minimum Workpiece Interval/
6
Fixed Point Irradiation Time
000001 to 065000
4
This item is valid when encoder is selected as the movement condition.
● Data length is fixed to 4 bytes.
Unit: pulses/mm
This item is valid when equal speed is selected as movement
condition or when encoder is selected
● Data length is fixed to 6 bytes.
Unit: mm
Minimum Workpiece Interval
0000.1 to 6500.0
Fixed Point Irradiation Time
Remarks
This item is valid for stationary marking.
● Data length is fixed to 6 bytes.
The setting shall be "0" except for fixed point irradiation.
Unit: ms
This item is valid when equal speed is selected as
movement condition or when encoder is selected.
● Data length is fixed to 7 bytes.
Unit: mm
*2
ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
Registering, Requesting and Deleting the Program
Movement Marking
Start Position
–55.000 to 055.000*2
7
Movement Marking
End Position
–55.000 to 055.000*2
7
Set Common Blocks
00 to 1F
2
Usage status of the common blocks of A/B/C/D is sent.
"Supplementary description of parameter" (page 4-8.)
00000 to 65535
5
● Data length is fixed to 5 bytes.
00000: Marking during trigger is ON (Movement marking)
00001: Continuous marking is not executed.
6
The content differs depending on the movement conditions.
This setting is invalidated if continuous marking is not selected
(i.e., if number of continuous marking is 1).
● Data length is fixed to 6 bytes.
• For stationary marking
The time is sent.
Unit: s
• For equal speed movement and encoder
The distance is sent.
Unit: mm
*3
ContMarkRept
Time
0000.0 to 0009.9
ContMarkInterval
Distance
0000.0 to 1200.0
● Data length is fixed to 5 bytes.
The scan optimization cannot be executed by using
the communication command.
Optimized Scan Speed
00000 (fixed)
5
Scan Optimization Flag
2 (fixed)
1
The scan optimization cannot be executed by using
the communication command.
0/1
1
0: Marking is executed in the order of blocks.
1: Marking is executed after order of markings is optimized.
*4
Marking Order Flag
Total number of bytes
74 (58)
*2
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models [ML-G Series
ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification), MD-V Series MD-V9600
(standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different ranges of settings, the differences
are shown in the remarks column.
*3
When a program No. that was set using the MARKING BUILDER or from the remote control console is requested, it may be possible
that any value (00001 to 12000) and not "00000" is sent.
*4
When a program No. that was set using the MARKING BUILDER or from the remote control console is requested, it may be possible
that "0" or "1" is sent.
4-10
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Setting and Requesting Block Conditions
This section describes the various commands that are used for setting and requesting the block conditions
when setting the block type, position Information, speed information, size and character string information.
Setting block conditions (G2)
Use the command F2 to set the block type, position information, speed information, size information and character string information.
The position information, speed information, size information and character string information will have different setting contents
(format) depending on the block type.
• Only one single block type, only one single information of position, speed, size and character string information,
respectively, can be set to one single block number.
• Do not set size information and character string information when the operation mode is Machinery Operation
Mode for block types “04” through “08”. At the same time, size information is not set for the logo of “–1”,
workpiece image of “–2” and photo of “–3”.
• Only the character, logo, workpiece image and photo can be set to Nos. 256 to 260 (common blocks). The
Machinery Operation Mode, barcode and 2D code cannot be set to Nos. 256 to 260 (common blocks).
• When Movement marking is selected as the common marking condition, the Machinery Operation Mode Nos. 04
to 09 , the barcode and the 2D code cannot be set as block type.
• The Machinery Operation Mode of block types 04 to 08 cannot be set to the common blocks.
• The Machinery Operation Mode (fixed point) of block type 04 cannot be mixed with other types of blocks within
a single program. If the Machinery Operation Mode (fixed point) only is selected as block type, a maximum of
256 blocks can be set. (However, the fixed point output time becomes common within a single program.)
1
4
Header G
2
9
Program No.
,
,
Block No.
13
16
, Block Type
,
Position
Information
, Checksum Delimiter
, Speed Information ,
Size Information
,
Character String
Information
The contents differ in accordance with "Block type".
Item
Parameter
Number of bytes
Remarks
G2
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
Identification Code
Program No.
Block No.
Block Type
00 to 09 ,–1 ,–2, –3
2
00: Character Horizontal marking
01: Character Vertical marking
02: Character Outer circumference of arc
03: Character Inner circumference of arc
04: Machinery Operation Mode Fixed point (000 to 255 only (individual block) is valid.)
05: Machinery Operation Mode Straight line (000 to 255 only (individual block) is valid.)
06: Machinery Operation Mode Dashed line (000 to 255 only (individual block) is valid.)
07: Machinery Operation Mode Counter clockwise circle/Oval/Arc/Oval
arc (000 to 255 only (individual block) is valid.)
08: Machinery Operation Mode Clockwise circle/Oval/Arc/Oval
arc (000 to 255 only (individual block) is valid.)
09: Barcode,2D code (000 to 255 only (individual block) is valid.)
–1: Logo
–2: Workpiece image logo
–3: Photo
Position Information
—
—
For the format of position information, refer to page 4-12.
Speed Information
—
—
For the format of speed information, refer to page 4-16.
Size Information
—
—
Character String Information
Shift JIS/ASCII
Total number of bytes
This item is not set for Machinery Operation Mode of block
types "04" through "08", the logo of "–1", workpiece image of
"–2", and photo of "–3".
For the format of size information, refer to page 4-16.
For character string information, refer to page 4-20.
—
■ Response
1
Header G
4
2
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-11
4
Registering, Requesting and Deleting the Program
■ Command
4-2 Setting Various Conditions
[Position information] of the block condition setting (G2)
There are six different patterns of position information depending on the types of block. Select an appropriate
format suited to each type of block.
1. Block type "00" (horizontal marking), "01" (vertical marking) and "09" (barcode and 2D code)
1
9
X-coordinate
17
Y-coordinate
,
24
Block Angle
,
Character Angle
,
It is added only when the block type is either
"00" (horizontal marking) or "01" (vertical marking).
Item
4
Registering, Requesting and Deleting the Program
Parameter
Number of bytes
X-coordinate
–55.000 to 055.000 *1
7
Y-coordinate
–55.000 to 055.000 *1
7
Block Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
6
It is set only when the block type is either "00"
(horizontal marking) or "01" (vertical marking).
Set "360.00" when you want to align the angle to the block angle.
❍ Variable length parameter of 6 bytes or less.
Unit: °
Character Angle
(Horizontal marking and
vertical marking only)
000.00 to 359.99,
360.00
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
2. Block types "02" (outer circumference of arc) and "03" (inner circumference of arc)
1
9
Center XCoord
,
17
Center YCoord
25
Arc Radius
,
,
Starting Angle
,
32
Character Angle
Item
Center XCoord
Parameter
Number of bytes
–220.00 to 0220.00 *2
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*2
Center YCoord
–220.00 to 0220.00 *2
7
ML-G
MD-V
9320/9321: –110.00 to 110.00
9370/9371: –60.000 to 60.000
9600: –180.00 to 180.00
9610: –110.00 to 110.00
9620: –310.00 to 310.00
001.00 to 220.00 *3
6
❍ Variable length parameter of 6 bytes or less.
Unit: mm
*3 ML-G
9320/9321: 1.00 to 110.00
9370/9371: 1.00 to 60.000
MD–V 9600: 1.00 to 180.00
9610: 1.00 to 110.00
9620: 1.00 to 310.00
Starting Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
Character Angle
000.00 to 359.99,
360.00
6
Set "360.00" when you want to align the angle to the arc
layout.
❍ Variable length parameter of 6 bytes or less.
Unit: °
Arc Radius
4-12
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
3. Block type "04"(fixed point)
1
9
Fixed Point X-coordinate
Item
Fixed Point Y-coordinate
,
Parameter
Number of bytes
Fixed Point
X-coordinate
–55.000 to 055.000 *4
7
Fixed Point
Y-coordinate
–55.000 to 055.000 *4
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*4 ML-G
MD-V
7
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
4. Block type"05"(straight line) ,"06"(dashed line)
1
9
Start Point X-coordinate
,
33
,
17
Start Point Y-coordinate
,
25
End Point X-coordinate
,
End Point Y-coordinate
40
Solid Length
,
4
Pitch Length
Registering, Requesting and Deleting the Program
It is added when the block type is "06" (dashed line).
Item
Parameter
Start Point X-coordinate –55.000 to 055.000 *5
Number of bytes
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*5
Start Point Y-coordinate –55.000 to 055.000 *5
7
End Point X-coordinate –55.000 to 055.000 *6
7
MD-V
7
Solid Length
(only dashed line)
00.100 to 55.000 *7
6
Pitch Length
(only dashed line)
00.100 to 55.000 *7
6
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*6
End Point Y-coordinate –55.000 to 055.000 *6
ML-G
ML-G
MD-V
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
It is sent only when the dashed line is going to be set.
❍ Variable length parameter of 6 bytes or less.
Unit: mm
*7 ML-G
9320/9321: 0.100 to 27.500
9370/9371: 0.100 to 15.000
MD-V 9600: 0.100 to 45.000
9610: 0.100 to 27.500
9620: 0.100 to 63.535
*1 to 7 The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models
[ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification),
MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different
ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-13
4-2 Setting Various Conditions
5.
Block type"07"(Counter clockwise circle, Oval, Arc, Oval arc),"08"(Clockwise circle, Oval, Arc, Oval arc )
1
9
Center XCoord
Center YCoord
,
31
17
Item
Center XCoord
Opening Angle
,
Radius X
,
,
Parameter
Block Angle
,
Number of bytes
❍ Variable length parameter of 7 bytes or less.
Unit: mm
7
-220.00 to 0220.00 *1
Remarks
*1
Center YCoord
-220.00 to 0220.00 *1
7
Radius X
001.00 to 220.00 *2
6
ML-G
MD-V
9320/9321: –110.00 to 110.00
9370/9371: –60.000 to 60.000
9600: –180.00 to 180.00
9610: –110.00 to 110.00
9620: –310.00 to 310.00
❍ Variable length parameter of 6 bytes or less.
Unit: mm
*2
4
Radius Y
,
45
38
Starting Angle
24
ML-G
Registering, Requesting and Deleting the Program
9320/9321: 1.00 to 110.00
9370/9371: 1.00 to 60.00
9600: 1.00 to 180.00
9610: 1.00 to 110.00
9620: 1.00 to 310.00
Radius Y
001.00 to 220.00 *2
6
Starting Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
Opening Angle
000.01 to 360.00
6
When you select circle or oval, set the angle to 360.00°
❍ Variable length parameter of 6 bytes or less.
Unit: °
Block Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
MD-V
6. Block types "–1" (logo) and "–2" (workpiece image logo)
1
9
X-coodinate
,
17
Y-coordinate
,
24
Block Angle
,
Logo Size (Width)
,
32
Logo Size (Height)
Item
X-coodinate
Parameter
Number of bytes
–55.000 to 055.000 *3
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*3
Y-coordinate
–55.000 to 055.000 *3
7
Block Angle
000.00 to 359.99
6
0.200 to 110.000 *4
7
Logo Size (Width)
MD-V
*1 to 4
4-14
0.200 to 110.000 *4
7
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
❍ Variable length parameter of 6 bytes or less.
Unit: °
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*4
Logo Size (Height)
ML-G
ML-G
MD-V
9320/9321: 0.100 to 55.500
9370/9371: 0.100 to 30.000
9600: 0.200 to 90.000
9610: 0.100 to 55.000
9620: 0.500 to 155.000
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models
[ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification), MD-V
Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different ranges
of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
7. Block types "–3" (Photo)
1
9
X-coodinate
Item
X-coodinate
17
Y-coordinate
,
24
Block Angle
,
Parameter
Number of bytes
–55.000 to 055.000 *5
7
, Resolution ,
Reverse
B/W
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*5
ML-G
MD-V
9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
Y-coordinate
–55.000 to 055.000 *5
7
Block Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
050 to 800
7
❍ Variable length parameter of 3 bytes or less.
Unit: dpi
0/1
1
Resolution
Reverse B/W
*5
0: Reverse black and white is not implemented.
1: Reverse black and white is implemented.
■ Supplementary description of parameter
The parameters for each type of block are shown below.
• Horizontal
• Vertical
Full length
(mm)
Character pitch
(mm)
Character pitch
(mm)
Full langth (mm)
C
A
B
• Block angle and character angle
Character angle
Block Angle
• Outer circumference of arc
The block angle can be set only in case that the
block type is either horizontal marking or vertical
marking or logo or workpiece image, or partly in
case of machinery operation mode.
• Inner circumference of arc
Opening angle (° )
Arc radius (mm)
Arc radius (mm)
Character pitch (° )
Starting angle (° )
Character pitch (° )
The position marked by the cross
(X) becomes the marking start position.
For fixed point, straight line, dashed line and oval marking, refer to Chapter "5-6 Changing and
Requesting the Machinery Operation Mode Conditions." (page 5-13)
MLG9300/V9600RS-M-NO4-E
4-15
4
Registering, Requesting and Deleting the Program
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character). Where other models [ML-G
Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification), MD-V Series
MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different ranges of
settings, the differences are shown in the remarks column.
4-2 Setting Various Conditions
[Speed information] of the block condition setting (G2)
• For ML-G9300 series
The speed information is a common format applying to all types of blocks. However, for the workpiece image
of block type “–2”, parameter values for Marking Flag, Scan Speed and Marking Power are invalid.
1
3
Marking Flag
8
Approach
,
Item
,
Parameter
Marking Flag
Scan Speed
Number of bytes
Remarks
0: Marking is not executed.
1: Marking is executed.
1
❍ Variable length parameter of 4 bytes or less.
Photo is fixed to 0.00.
Unit: mm
*1 ML-G9320/9321/9370/9371: 0.01 to 2.50
0.00 to 5.00 *1
4
00001 to 12000 *2
5
❍ Variable length parameter of 5 bytes or less.
Unit: mm/s
*2 ML-G9320/9321/9370/9371: 1 to 6000
000.0 to 100.0
5
❍ Variable length parameter of 5 bytes or less.
Unit: %
Marking Power
4
Marking Power
,
0/1
Approach
*1 to 2
14
Scan Speed
The parameter shows the range of setting for the standard characters. Ranges of settings for small characters (ML-G9320/9321) and
for very small character (ML-G9370/9371) are shown in the remarks column.
Registering, Requesting and Deleting the Program
• For MD-V9600 series
The
speed information
is a common
format applying
to all types of blocks.
1
3
8
14
20
Marking Flag
Approach
,
Item
Scan Speed
,
Parameter
Marking Flag
Marking Power
,
Q-sw Freq
Number of byte
0/1
1
Remarks
0: Marking is not executed.
1: Marking is executed.
❍ Variable length parameter of 4 bytes or less.
Photo is fixed to 0.00.
Unit: mm
*3 MD-V9610: 0.00 to 2.50 MD-V9620: 0.00 to 5.00
0.00 to 5.00 *3
4
00001 to 08000 *4
5
❍ Variable length parameter of 5 bytes or less.
Unit: mm/s
*4 MD-V9610: 1 to 6000
MD-V9620: 1 to 8000
000.0 to 100.0
5
❍ Variable length parameter of 5 bytes or less.
Unit: %
3
It is valid in MD-V9600 series.
❍ Variable length parameter of 3 bytes or less.
0: The signal becomes continuous (CW).
Unit: kHz
Approach
Scan Speed
,
Marking Power
Q-switch Frequency
000 to 200
*3 to 4 The
parameter shows the range of setting for MD-V9600 (standard characters) in the remarks column. The range of parameter for MDV9610 (thin line), MD-V9620 (wide area) is shown in the remarks column.
[Size information] of the block condition setting (G2)
There are two different patterns of size information depending on the types of block. Select an appropriate
format suited to each type of block.
• Do not set the size information when the block type is in the range of "04" to "08" that are for machinery
operation mode, when the block is "–1" for logo, "–2" for workpiece image and “–3” for photo.
• You can set the marking flag of all the block numbers to be used to [0] (Marking is not
executed). In this case, READY output from the control outputs is turned ON. Marking output
and Marking Complete output are not turned ON after SENSOR input is received though the
READY output is turned OFF momentarily.
1. Block type "00" (horizontal marking), "01" (vertical marking), "02" (outer circumference of arc) and "03"
(inner circumference of arc)
1
4
7
34
,
40
Thick Line Width
23
15
Character Height
Line Type , Font No. ,
,
Target of Quick Change of
Character
,
,
Character Width
42
44
Regular Pitch Layout Flag ,
30
Skip Cross
,
,
Number of Lines
A
There are four different types of pattern for parameter "A" depending on the combinations of "Regular pitch layout flag" and "Block type".
4-16
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Item
Number of bytes
4-17
4
Registering, Requesting and Deleting the Program
Remarks
● Data length is fixed to 2 bytes.
00: Thin line
Line Type
00/01
2
01: Thick line
● Data length is fixed to 2 bytes.
00: Keyence Original (Standard)
01: Keyence Original (small character)
Font No.
00/01/02/03
2
02: User font 1
03: User font 2
(User fonts are not registered by default when shipped from the factory.)
Character height can be set within the range of 20% to
500% of the ratio of character height to character width.
7
Character Height
0.200 to 110.000 *1
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1 ML-G
9320/9321: 0.100 to 55.000
9370/9371: 0.100 to 30.000
Character Width
0.200 to 110.000 *1
7
MD-V 9600: 0.200 to 90.000
9610: 0.100 to 55.500
9620: 0.500 to 155.500
❍ Variable length parameter of 6 bytes or less.
Skip Cross
00.000 to 10.000
6
Unit: mm
This setting is valid only when "01" thick line is selected as line type.
When you want to execute automatic calculation of line numbers, set "0".
Number of Lines
000, 002 to 100
3
When the "00" thin line is specified as the line type, this parameter is fixed to "0".
❍ Variable length parameter of 3 bytes or less.
Unit: line
The maximum settable value is 20% of character height or width whichever
smaller under the upper limit values shown below. (It is fixed to "0" for thin line.)
Upper limit value for thick line
ML-G
9310/9311: 5.000
9320/9321: 2.500
0.000, 0.010 to
Thick Line Width
5
9370/9371: 2.500
Maximum Value
MD-V 9600: 5.000
9610: 2.500
9620: 5.000
❍ Variable length parameter of 5 bytes or less.
Unit: mm
It specifies whether the character string will become the target
block of the character quick change command "H2" or not.
Target of Quick
0/1
1
Change of Character
0: Off target
1: On target
0: Regular pitch layout is not applied.
Regular Pitch Layout Flag
0/1
1
1: Regular pitch layout is applied.
This item should be set when "Horizontal marking" or "Vertical marking" is selected
as the block type in case that "Regular pitch layout is not applied" is specified.
❍ Variable length parameter of 7 bytes or less.
Unit: mm
Character Pitch
*2 ML-G
000.000 to 110.000 *2
9320/9321: 0.000 to 55.000
9370/9371: 0.000 to 30.000
MD-V 9600: 0.000 to 90.000
9610: 0.000 to 55.000
9620: 0.000 to 155.000
Character Pitch
This item should be set when "Horizontal marking" or "Vertical marking" is selected
as the block type in case that "Regular pitch layout is applied" is specified.
Pitch Angle
❍ Variable length parameter of 7 bytes or less.
Full Length
7
Unit: mm
*3 ML-G
Full Length
000.000 to 110.000 *3
9320/9321: 0.000 to 55.000
9370/9371: 0.000 to 30.000
MD-V 9600: 0.000 to 90.000
Opening Angle
9610: 0.000 to 55.000
9620: 0.000 to 155.000
This item should be set when "Outer circumference of arc" or "Inner circumference of arc"
is selected as the block type in case that "Regular pitch layout is not applied" is specified.
Pitch Angle
0000.00 to 0359.99
❍ Variable length parameter of 7 bytes or less.
Unit: °
This item should be set when "Outer circumference of arc" or "Inner circumference of arc"
is selected as the block type in case that "Regular pitch layout is applied" is specified.
Opening Angle
0000.00 to 0359.99
❍ Variable length parameter of 7 bytes or less.
Unit: °
*1 to 3 The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have
different ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
Parameter
4-2 Setting Various Conditions
2. Block type "09" (Barcode, 2D code)
1
4
7
15
Barcode Height
Code Type , Quiet Zone Width ,
28
34
Mark Width
Item
, QR Mode ,
41
B
,
Parameter
C
,
• A: QR password Valid/Invalid
• B: Barcode thin line width/2D code cell size
• C: Barcode thick-thin ratio/QR version/Symbol size
Remarks
7
1
This item is valid only when QR code 1 or 2.
0: Manual
1: Auto
Set "0" (fixed) for the codes other than that.
1
This item is valid only when QR code 1 or 2 is selected.
0: Invalid
1: Valid
Set "0" (fixed) for the codes other than that.
6
❍ Variable length parameter of 6 bytes or less.
This item is valid only when QR code 1 or 2 is selected.
Set "000000" if password is not used or when the code
type is other than QR code 1 or 2.
Set a password in hexadecimal notation.
0/1/2/3
1
This item is valid only when the QR code 1 or 2 is
selected, or when micro QR is selected.
In case that any other code type than that is selected,
input a dummy data of the value within the proper range.
3: H (30%)
2: Q (25%)
1: M (15%)
0: L (7%)
0.010 to 1.000
5
❍ Variable length parameter of 5 bytes or less.
Unit: mm
6
When barcode is selected, parameter becomes thin line width.
When 2D code is selected, parameter becomes cell size.
❍ Variable length parameter of 6 bytes or less.
Unit: mm
4
Registering, Requesting and Deleting the Program
000.100 to 110.000 *4
0/1
0/1
000000 to FFFFFF
(hexadecimal number)
Barcode Thin Line Width
Thin Line Width
00.010 to 10.000
2D Code Cell Size
Cell Size
00.010 to 05.000
4-18
,
This item is valid only when barcode is selected
In case of 2D code, input a dummy data of the value
within the range.
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*4 ML-G 9320/9321: 0.100 to 55.000
9370/9371: 0.100 to 30.000
MD-V 9600: 0.200 to 90.000
9610: 0.100 to 55.000
9620: 0.500 to 155.000
2D Code
00,01 to 05
Mark Width
Error Correction
Rate
2
Quiet Zone Width
Error Correction Rate
,
● Data length is fixed to 2 bytes.
Set "00" if you do not want B/W reversal.
Unit: Number of Times (in case of barcode)
Cell (in case of 2D code)
Barcode
00,01 to 99
QR Password
QR Password
2
06/07/08/09/10
QR Password
Valid/Invalid
,
01: CODE39
03: 2of5
05: JAN
07: QR model 1
09: Micro QR
Code Type
QR Mode
A
26
Number of bytes
01/02/03/04/05/
Barcode Height
19
17
02: ITF
04: NW7
06: CODE128
08: QR model 2
10: DataMatrix
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Item
Parameter
Barcode
Thick-Thin Ratio
Thick/Thin Ratio
0.10 to 10.0
QR Version
QR Version
0001 to 0005
Number of bytes
❍ Variable length parameter of 4 bytes or less.
When barcode is selected, parameter becomes the thick/thin
ratio to be set. However, this item becomes invalid when JAN
or CODE128 is selected. Input a dummy value within the
proper range when JAN or CODE128 010 to 100 is selected.
4
Symbol Size
When QR code 1 or 2, or when micro QR is selected, this
parameter becomes the QR version. QR version is not a
parameter that you can set. QR version is the parameter that
you can confirm when it is requested by the F3 command. A
dummy value of "0" can be set in this parameter.
When DataMatrix is selected, set a value in the range of 0001
to 0020 as symbol size. Symbol size table is shown below.
1: 10x10
2: 12x12
3: 14x14
4: 16x16
5: 18x18
6: 20x20
7: 22x22
8: 24x24
9: 26x26
10: 32x32
11: 36x36
12: 40x40
13: 44x44
14: 48x48
15: 8x18
16: 8x32
17: 12x26
18: 12x36
19: 16x36
20: 16x48
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (ultra-small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-19
4
Registering, Requesting and Deleting the Program
*4
Symbol Size
0001 to 0020
Remarks
4-2 Setting Various Conditions
[Character string information] of the block condition setting (G2)
■ Setting character string
Set a character string using ASCII code or shift JIS code immediately after the [Size information] within the
"G2" command. Set the update characters, logos and custom characters using ASCII code (single-byte) by
referring to the following "■ Update character, logo and custom character setting code and the control code
in CODE128 and DataMatrix." Implement the setting while noting the following points.
• The character strings except for update character, logo and custom character are saved in the form of shift JIS
code (2-byte character) inside the controller even if they are sent in the ASCII code (1-byte character).
• If barcode or 2D code is specified as the block type, the character strings that are set using ASCII code is saved as ASCII code.
• The maximum number of characters that can be set in a single block is 127 characters of 2-byte character string. (If the ASCII code
such as update character, logo or custom character is mixed, the maximum number of characters is 255 bytes in terms of data size.)
• Use code "%044A" as comma in order to distinguish comma from delimiting code.
• When specifying "%" using ASCII code (single-byte), enter it as “%%”. When specifying "%" using shift JIS
code (double-byte), enter it as "%(double-byte single character)".
Do not set character string information when the operation mode is Machinery Operation Mode
for block types “04” through “08”.
■ Update character, logo and custom character setting code and the control code in CODE128 and DataMatrix.
4
Update characters
As the update character, the setting codes as listed in the following table are sent in ASCII code.
Registering, Requesting and Deleting the Program
Type
Replacement
preset
Zero suppression not applied
Limit preset
Yes
None
Zero suppression is applied
Remarks
Limit preset
None
Yes
%4T■Y
—
—
Year 4
None
%4Y
Year 2
None
%2Y
%2T■Y
—
—
Year 1
None
Yes
%1Y
%1P●Y
%1T■Y
%1P●T■Y
—
—
—
—
Era Name
None
%02G
%02T■G
Right align %2G
Left align %–2G
Right align %2T■G
Left align %–2T■G
None
%02M
%02T■M
Right align %2M Right align %2T■M
Left align %–2M Left align %–2T■M
Yes
%2P●M
%2P●T■M
—
—
None
%02D
%02T■D
Right align %2D
Left align %–2D
Right align %2T■D
Left align %–2T■D
Yes
%2P●D
%2P●T■D
—
—
None
%02h
%02T■h
Right align %2h
Left align %–2h
Right align %2T■h
Left align %–2T■h
Yes
%2P●h
%2P●T■h
—
—
None
%02m
%02T■m
Yes
%2P●m
%2P●T■m
—
—
Second
None
%02s
—
Right align %2s
Left align %–2s
—
365 days
None
%03X
%03T■X
Right align %3X
Left align %–3X
Right align %3T■X
Left align %–3T■X
Yes
%3P●X
%3P●T■X
—
—
None
%1B
%1T■B
Yes
%1P●B
%1P●T■B
Week
Yes
%2P●W
%2P●T■W
Shift Code
Yes
%P●S
—
None
%1R
—
Yes
%1P●R
—
Month
Day
Hour
Minute
—
Day of A Week
Rank
Right align %2m Right align %2T■m
Left align %–2m Left align %–2T■m
—
If replacement preset is set to
"None", the days of the week
from Sunday to Saturday are
marked by the numbers 0 to 6.
—
—
* The preset Nos. indicated by a black dot ● are the numbers 0 to 9. (Note that the preset Nos. in case of 365 days are the
numbers 0 to 3). The limit preset Nos. indicated by a black square ■ are the numbers 0 to 9.
4-20
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Type
Replacement
Zero
suppression
Flush digits
Align digits
None
—
Counter
Yes
Remarks
None
Yes
—
%0kC■C
%0kP●C■C
Automatic
—
%C■C
%P●C■C
Specify digits
Right align
%kC■C
%kP●C■C
Specify digits
Left align
%–kC■C
%–kP●C■C
The counter Nos. 0 to 9 shown in the black
square ■ are the individual counters. The
counter Nos. A to J are the common
counters.The counter Nos. 0 to 9 shown in
the black dot ● are the preset Nos. 0 to 9.
*k indicates the number of digits in the range of 0 to 9 and A.
Type
Logo
Code
Remarks
%L <Filename>
Custom character
%F< Filename >
Workpiece image
%K< Filename >
Photo
%Z< Filename >
Enter a filename within 13 2-byte character or 26
1-byte characters. Workpiece image Custom character
*Only a single logo and a single workpiece image can be registered in each block respectively.
Encoding character string of barcode and 2D code
The encoding characters that can be used for various barcodes are shown below.
Barcode type
Numerals (0 to 9), characters (A to Z),
symbols (–, ., $, /, +, %)
ITF
The start/stop characters are added automatically.
Numerals (0 to 9)
2of5
Only an even number of digits should be entered
Numerals (0 to 9)
NW7
(CODABAR)
—
Numerals (0 to 9), symbols (–, ., $, /, +, :),
start/stop characters (A to D)
Be sure to enter without fail the start/stop characters at
the top and at the end of variables.
Numerals (0 to 9)
Characters are 13 digits for the standard type, and 8 digits for
abbreviated type. (Check digits are added automatically.)
JAN
CODE128
4
Remarks
All characters of ASCII codes, numerals (0 to 9),
upper/lower case characters (A to Z, a to z),
symbols and control codes
Check digits (modulus 103) are added automatically.
*Check digits are not added automatically except for JAN and CODE128.
CODE128 and DataMatrix
CODE128 and DataMatrix can use all of the 128 ASCII code characters as variable. The control codes such
as [ESC], [STX], [ETX], [CR] and [LF] are set in the ASCII code after converting them to the program codes
as shown in the table below. CODE128 uses the three characters of "CODE-A", "CODE-B" and "CODE-C". In
the ML-G9300 series and MD-V9600 series, the start character to be used in accordance with the input
variable is determined automatically and is inserted. The start character doesn't need to be inserted
separately. Set the desired character that you want to input directly.
Control code list
Control code
Program code
Control code
Program code
Control code
Program code
NUL
%000A
CR
%013A
SUB
%026A
SOH
%001A
SO
%014A
ESC
%027A
STX
%002A
SI
%015A
FS
%028A
ETX
%003A
DLE
%016A
GS
%029A
EOT
%004A
DC1
%017A
RS
%030A
ENQ
%005A
DC2
%018A
US
%031A
ACK
%006A
DC3
%019A
DEL
%127A
BEL
%007A
DC4
%020A
FNC1
%901A
BS
%008A
NAK
%021A
FNC2
%902A
HT
%009A
SYN
%022A
FNC3
%903A
LF
%010A
ETB
%023A
FNC4
%904A
VT
%011A
CAN
%024A
FF
%012A
EM
%025A
MLG9300/V9600RS-M-NO4-E
4-21
Registering, Requesting and Deleting the Program
CODE39
Variable
4-2 Setting Various Conditions
Requesting block conditions (F3)
Requesting the block type, position information, speed information, size information and character string
information The position information, speed information, size information and character string information will
have different setting contents (format) depending on the selected block type.
■ Command
1
4
Header F
3
,
9
Program No.
Item
Parameter
Number of bytes
F3
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
Identification Code
Program No..
Block No.
Block No. , Checksum Delimiter
,
Total number of bytes
4
Remarks
11 (9)
■ Response
Parameters after the error status bit are identical to those of the program command (G2) setting the block conditions.
9
6
Registering, Requesting and Deleting the Program
Header F
3
,
0
, Block Type ,
Position
Information
,
Speed
Infor mation
, Size Information ,
Character String
Information
, Checksum Delimiter
The content differs in accordance with the "Block type".
Item
Parameter
Number of bytes
F3
2
Fixed
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Identification Code
Error Status
Block Type
0/1
Remarks
● Data length is fixed to 2 bytes.
00: Characters Horizontal marking
01: Characters Vertical marking
02: Characters Outer circumference of arc
03: Characters Inner circumference of arc
04: Machinery Operation Mode Fixed point
05: Machinery Operation Mode Straight line
06: Machinery Operation Mode Dashed line
07: Machinery Operation Mode Counter clockwise circle/
Oval/Arc/Oval arc
08: Machinery Operation Mode Clockwise circle/Oval/
Arc/Oval arc
09: Barcode, 2D code
–1: Logo
–2: Workpiece image logo
–3: Photo
00 to 09,–1,–2,–3
2
Position Information
—
—
For the format of position information, refer to page 4-12.
● All of the respective parameters are sent in fixed bytes.
Speed Information
—
—
For the format of speed information, refer to page 4-16.
● All of the respective parameters are sent in the fixed bytes.
Size Information
—
—
This item is not set for the processing machinery mode of
block types "04" through "08", the logo of "–1", workpiece
image of "–2", and photo of "–3".
For the format of size information, refer to page 4-16.
● All of the respective parameters are sent in the fixed bytes.
Character String
Information
Shift JIS/ASCII
—
For the format of character string information, refer to page
4-20.
● All of the respective parameters are sent in fixed bytes.
Total number of bytes
4-22
—
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Setting and Requesting Title
Setting title (G4)
Use this command to set title to program.
• Set the title when creating a new program No. If the title is not set, “DEFAULT****” (* means
the program No.) is automatically set.
• The following characters cannot be used in a title:
Single-byte characters: ¥, /, :, *, ?, <, >, |, ‘, period, comma, space
Double-byte characters: Space
■ Command
1
4
Header G
4
9
Program No.
,
Item
Title name
,
Checksum Delimiter
Number of bytes
G4
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
26
❍ Variable length parameter of 26 bytes or less.
Enter the title name within 13 2-byte characters (shift JIS
code) or 26 1-byte characters (ASCII code). If the 2-byte
and 1-byte characters are mixed, a maximum 26 bytes
can be used.
Title Name
—
Total number of bytes
Remarks
34 (32)
■ Response
1
4
Header G
4
,
, Checksum Delimiter
0
Requests the title (F5)
Requesting the title that is set to the program No.
■ Command
1
4
Header F
5
Program No.
,
Item
Checksum Delimiter
Parameter
Number of bytes
F5
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Identification Code
Program No.
,
Total number of bytes
Remarks
7 (6)
■ Response
1
4
Header F
5
,
6
0
,
Item
Title Name
, Checksum Delimiter
Parameter
Number of bytes
Identification code
F5
2
Fixed
Error status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
26
❍ Variable length parameter of 26 bytes or less.
Enter the title name within 13 2-byte characters (shift JIS
code) or 26 1-byte characters (ASCII code).
If the 2-byte and 1-byte characters are mixed, a maximum 26
bytes are sent.
Title name
Total number of bytes
MLG9300/V9600RS-M-NO4-E
—
Remarks
—
4-23
4
Registering, Requesting and Deleting the Program
Parameter
Identification Code
Program No.
,
4-2 Setting Various Conditions
Setting and Requesting the Counter Conditions
Setting counter conditions(G6)
Specify the counter No., and set the counter conditions.
■ Command
4
1
Header
G
6
9
11
, Counter No. ,
Program No.
,
28
17
Step Width
Counter Initial Value
,
39
Counter Top Value
61
,
63
,
50
Counter Final Value
,
Number of Times of Counter Markings
65
, Reset Timing , Count Timing ,
Base
, Checksum Delimiter
If you want to set two or more counter Nos.,
add this data as many times as required.
Item
Identification Code
4
Parameter
Number of bytes
Remarks
Registering, Requesting and Deleting the Program
G6
2
Fixed
Program No.
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Counter No.
0 to 9
A to J
1
Individual counter Nos. become 0 to 9. Common counter
Nos. become A to J.
Step Width
00000 to 10000
5
❍ Variable length parameter of 5 bytes or less.
Counter Initial Value
0000000000 to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Counter Top Value
0000000000 to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Counter Final Value
0000000000 to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Number of Times of
Counter Markings
0000000000 to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Reset Timing
0/1/2/3/4
1
It sets the conditions to reset the counter value.
0: Sensor
1: Forcibly only
2: In the event of turning on the power
3: In the event of switching the programs
4: At the increment of "Daily" (incrementing the daily counter)
Count Timing
0/1
1
It sets the conditions to count-up.
0: Sensor
1: For each marking
02 to 36
2
❍ Variable length parameter of 2 bytes or less.
•
•
•
—
If you want to set two or more counter Nos., the setting
data of counter No. up to the specified base number are
sent as many times as required.
Base
•
•
•
Total number of bytes
Variable
In the case that base number is 11 or more, alphabets are marked as shown below.
10:A,11:B,… 34:Y,35:Z
■ Response
1
Header G
4-24
4
6
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Requesting counter conditions (F7)
Specify the counter No., and set the counter conditions. You can issue the request for conditions of the multiple counter Nos. at one time.
■ Command
1
4
Header F
7
9
Program No.
,
,
, Checksum Delimiter
Counter No.
If you request conditions for multiple counter Nos.,
send the command as many times as required.
Item
Parameter
Identification code
Number of bytes
Remarks
F7
2
Fixed
Program No.
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Counter No.
0 to 9
A to J
1
Individual counter Nos. become 0 to 9. Common
counter Nos. become A to J.
•
•
•
—
If you require multiple counter Nos. at one time, send
the counter No. as many times as required.
•
•
•
Total number of bytes
Variable
4
1
4
Header F
7
,
6
0
12
Step Width
,
23
Counter Initial Value
,
34
45
Counter Final Value
,
,
Registering, Requesting and Deleting the Program
■ Response
Parameters after the error status bit are identical to those of the counter condition setting command (G6)
,
56
Counter Top Value
58
Number of Times of Counter Markings , Reset Timing , Count Timing ,
60
, Checksum Delimiter
Base
When multiple counter Nos. are requested,this bit is sent as many times as requested.
Item
Parameter
Number of bytes
Remarks
Identification Code
F7
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Step Width
00000 to 10000
5
● Data length is fixed to 5 bytes.
Counter Initial Value
0000000000 to
4294967295
10
● Data length is fixed to 10 bytes.
Counter Top Value
0000000000 to
4294967295
10
● Data length is fixed to 10 bytes.
Counter Final Value
0000000000 to
4294967295
10
● Data length is fixed to 10 bytes.
Number of Times of
Markings
0000000000 to
4294967295
10
● Data length is fixed to 10 bytes.
Reset Timing
0/1/2/3
1
It sets the conditions to reset the counter value.
0: Sensor
1: Forcibly only
2: In the event of turning on the power
3: In the event of switching the programs
4: At the increment of "Daily" (incrementing the daily counter)
Count Timing
0/1
1
The conditions to count-up are sent.
0: Sensor
1: For each marking
02 to 36
2
● Data length is fixed to 2 bytes.
—
If conditions for multiple counter Nos. are required, the
parameters starting from step width up to base number
are sent as many parameters as required.
Base
•
•
•
•
•
•
Total number of bytes
MLG9300/V9600RS-M-NO4-E
Variable
4-25
4-2 Setting Various Conditions
Setting and Requesting the Palette Conditions
If you want to set a new palette marking, be sure to send the palette common condition setting (G8). When you
require a coordinate offset for each workpiece, execute the palette individual condition setting (GW)
immediately after the palette common condition setting only when the Scan Direction is set to "3: Specify order".
Setting common palette conditions (G8)
It sets the common conditions for palette marking.
If Movement Marking is selected as the common palette conditions, and if the Machinery
Operation Mode is selected as the block type, palette marking cannot be executed.
■ Command
1
4
Header G
8
9
26
11
33
Row Pitch
,
4
Item
15
19
, Scan Direction , Number of Columns , Number of Rows ,
Program No.
,
39
Marking Start
Palette No.
,
,
Column Pitch
47
Reference Position X-coodinate
,
Reference Position Y-coordinate
, Checksum Delimiter
Registering, Requesting and Deleting the Program
Parameter
Number of bytes
G8
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
0/1/2/3
1
0: No palette marking
1: X-direction has priority.
2: Y-direction has priority.
3: Specify order.
Number of Columns
001 to 200
3
The maximum number of workpieces that can be set is
"row" multiplied by "line" = 10000 workpieces.
Number of Rows
001 to 200
3
❍ Variable length parameter of 3 bytes or less.
Unit: number of workpieces
Column Pitch
00.000 to 65.535
6
Row Pitch
00.000 to 65.535
6
Identification Code
Program No.
Scan Direction
Marking Start
Palette No.
00001 to 10000
5
Reference Position
X-coodinate
–55.000 to 55.000*1
7
Reference Position
Y-coordinate
–55.000 to 55.000*1
7
Total number of bytes
Remarks
❍ Variable length parameter of 6 bytes or less.
Unit: mm
It sets the palette No. that executes marking first of all.
If either X-direction or Y-direction has priority as the scan
direction, set "0001".
If the specified order has priority as the scan direction,
set an arbitrary palette No.
❍ Variable length parameter of 5 bytes or less.
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –15.000 to 15.000
9620: –77.500 to 77.500
53 (44)
*1The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different ranges of settings, the differences are shown in the remarks column.
■ Response
1
Header G
4-26
4
8
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Requesting common palette conditions (F9)
It requests the common conditions for palette marking.
■ Command
1
4
Header F
9
, Checksum Delimiter
Program No.
,
Item
Parameter
Number of bytes
F9
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Identification Code
Program No.
Total number of bytes
Remarks
7 (6)
■ Response
1
4
Header F
9
,
6
0
30
,
8
, Scan Direction ,
36
Marking Start Palette No.
12
Number of Columns , Number of Rows ,
16
23
Column Pitch
,
Row Pitch
44
4
, Reference Position X-coodinate , Reference Position Y-coordinate , Checksum Delimiter
Item
Number of bytes
F9
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
1/2/3
1
1: X-direction has priority.
2: Y-direction has priority.
3: Specify order.
Number of Columns
001 to 200
3
If both of the number of rows and number of columns are
001, the setting that "no palette marking" is enforced.
Number of Rows
001 to 200
3
● Data length is fixed to 3 bytes.
Unit: number of workpieces
Column Pitch
00.000 to 65.535
6
Row Pitch
00.000 to 65.535
6
Scan Direction
Marking Start
Palette No.
00001 to 10000
5
Reference Position
X-coordinate
–55.000 to 55.000*1
7
Reference Position
Y-coordinate
–55.000 to 55.000*1
7
Total number of bytes
Remarks
● Data length is fixed to 6 bytes.
Unit: mm
It sends the palette No. that executes marking first of all.
If either X-direction or Y-direction has priority as the scan
direction, "0001" is sent.
If the "Specify order" is selected as the scan direction, an
arbitrary palette No. is sent.
● Data length is fixed to 5 bytes.
● Data length is fixed to 7 bytes.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
50 (41)
*1 The
parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (ultra-small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have
different ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO4-E
4-27
Registering, Requesting and Deleting the Program
Parameter
Identification Code
4-2 Setting Various Conditions
Setting individual palette conditions (GW)
It sets the coordinate offset of individual workpiece and order of marking in the palette marking
If Movement Marking is selected as the common palette conditions, and if the Machinery
Operation Mode is selected as the block type, palette marking cannot be executed.
■ Command
1
4
Header G W
9
Program No.
,
31
15
Palette No.
,
,
17
To mark/
Not to mark flag
,
23
Palette No.
that is marked next.
, Coordinate offset (X-coordinate)
39
Coordinate offset (angle)
, Coordinate offset (Y-coordinate) ,
, Checksum Delimiter
If you want to change multiple palettes,
add this data as many times as desired.
Item
Identification Code
Program No.
4
Palette No.
Registering, Requesting and Deleting the Program
To Mark/Not to Mark
Flag
Parameter
Number of bytes
GW
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
00001 to 10000
5
Specify a palette No. that you want set.
❍ Variable length parameter of 5 bytes or less.
1
It sets whether to execute marking or not to execute
marking for each palette.
0: Do not mark.
1: To mark
Specify a palette No. in accordance with the setting specified
by the Scan Direction.
When you set the palette No. that becomes the last palette to
execute marking, set "–1" to the palette No. that comes
immediately after the last palette No.
However, the maximum number of palettes that can be sent at
one time is 100.
For details, refer to Tips on page 5-17.
❍ Variable length parameter of 5 bytes or less.
0/1
Remarks
Palette No. that is
marked next.
–0001,00001 to 10000
5
Coordinate Offset
(X-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(Y-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(angle)
–180.00 to 0180.00
7
❍ Variable length parameter of 7 bytes or less.
Unit:mm
—
The program data starting from the palette No. until the
coordinate offset (angle) shall be sent as many as the
number of lines multiplied by number of rows.
However, the maximum number of palettes that can be sent
at one time is 100.
•
•
•
•
•
•
Total number of bytes
❍ Variable length parameter of 7 bytes or less.
Unit: mm
Variable
■ Response
1
Header G W
4
,
0
, Checksum Delimiter
You can set the marking flag of all the palette numbers to be used to [0] (Marking is not
executed). In this case, READY output from the control outputs is turned ON. Marking output
and Marking Complete output are not turned ON after SENSOR input is received though the
READY output is turned OFF momentarily.
4-28
MLG9300/V9600RS-M-NO4-E
4-2 Setting Various Conditions
Requesting individual palette conditions (FX)
It requests the conditions of palette marking for each workpiece.
■ Command
1
4
Header F
X
9
Program No.
,
Palette No.
,
, Checksum Delimiter
To request multiple palettes, add this data as many times as required.
Item
Identification Code
Number of bytes
Remarks
FX
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
00001 to 10000
5
❍ Variable length parameter of 5 bytes or less.
•
•
•
—
To request multiple palettes, send the palette No. as
many times as required. However, the maximum number
of palettes than can be requested at one time is 100.
Program No.
Palette No.
Parameter
•
•
•
Total number of bytes
Variable
4
Registering, Requesting and Deleting the Program
■ Response
1
4
Header F
X
,
6
0
8
To Mark/Not to
Mark flag
,
22
,
14
Palette No.
that is marked next.
, Coordinate Offset (X-coordinate) ,
30
Coordinate Offset (Y-coordinate) , Coordinate Offset (angle)
, Checksum Delimiter
If there are multiple palettes, this data is sent
as many times as the requested number of palettes.
Item
Parameter
Number of bytes
Identification Code
FX
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
1
It sets whether to execute marking or not to execute
marking for each palette.
0: Do not mark.
1: To mark
The pallet No. is sent in accordance with the setting
specified by the Scan Direction.
For the palette No. that becomes the last palette to
execute marking, "–0001" is sent.
For details, refer to Tips on page 5-17.
● Data length is fixed to 5 bytes.
To mark/Not to Mark
Flag
0/1
Remarks
Palette No.
that is marked next.
–0001,
00001 to 10000
5
Coordinate Offset
(X-coordinate)
–32.768 to 032.767
7
Coordinate Offset
(Y-coordinate)
–32.768 to 032.767
7
Coordinate Offset
(angle)
–180.00 to 0180.00
7
● Data length is fixed to 7 bytes.
Unit: °
—
The program data starting from the marking possible/impossible flag
until the coordinate offset (angle) shall be sent as many as the
requested number of palettes. However, the maximum number of
palettes that can be sent at one time is 100.
•
•
•
Total number of bytes
MLG9300/V9600RS-M-NO4-E
•
•
•
● Data length is fixed to 7 bytes.
Unit: mm
Variable
4-29
4-3
Deleting Program Contents
This section describes the procedure to delete the contents that are set in a
program of the specified No.
Deleting Program contents (GD)
You can delete multiple program Nos. from the controller. If you specify "9999" for the program No., you can
delete all program Nos. from the controller.
■ Command
1
4
Header G D
Program No.
,
, Checksum Delimiter
If you want to delete multiple program Nos.,
send this bit as many times as required.
4
Item
Registering, Requesting and Deleting the Program
Identification Code
Program No.
Parameter
Number of bytes
GD
2
Fixed
0000 to 1999/9999
4
❍ Variable length parameter of 4 bytes or less.
If you specify "9999", all program Nos. can be deleted
at once.
•
•
—
If you delete multiple program Nos. at one time, send
the program No. as many times as required.
•
•
Total number of bytes
Remarks
Variable
■ Response
1
Header G
4-30
4
D
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
Chapter
5
Frequently-used Change
Commands and Request
Commands
This chapter describes the frequently used commands such as the
commands to change character strings or marking conditions.
5-1
5-2
5-3
5-4
5-5
5-6
5-7
Changing Character String ..................................................... 5-2
Quick Change of Character String .......................................... 5-3
Requesting Character String ................................................... 5-6
Changing and Requesting Block Position ............................... 5-8
Changing and Requesting Block Marking Flag ..................... 5-11
Changing and Requesting Conditions of
Machinery Operation Mode ................................................... 5-13
Changing and Requesting Conditions of Palette Marking ... 5-17
CAUTION
The setting area shown in this manual applies to the ML-G Series ML-G9310/9311
(standard character specification) Laser Marker.
Where other models [ML-G Series ML-G9320/9321 (small character specification),
ML-G9370/9371 (very small character specification), MD-V Series MD-V9600
(standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different setting area, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO5-E
5-1
5-1
Changing Character String
This section describes the procedure to change an already set character
string.
There are following two types of change command that can be used for changing the character string.
• "C2" command: This command enables you to change the character string of all types of blocks except for
those of the machinery operation mode.
• "H2" command: This command enables you to change the character string in a shorter time than the "C2"
command. However, encoded characters such as update character, logo, custom
characters and barcode cannot be changed.
Note that the "H2" command can only change the character string of the program that is
running at present.
Changing character string (C2)
It specifies the character string to be marked.The character string of multiple block numbers can be changed
at the same time.
■ Command
1
5
4
Header C 2
9
Program No.
,
,
13
Block No.
,
Character String
, Checksum Delimiter
Frequently-used Change Commands and Request Commands
If you want to change multiple blocks,
send this data as many times as desired.
Item
Identification Code
Program No.
Block No.
Character String
Parameter
Number of bytes
C2
2
Fixed
0000 to 1999
4
If the program No. is omitted, the character string of the
program that is running at present will be changed.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (Individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
Shift JIS/ASCII
—
It specifies the character using either the shift JIS code
(2-byte) or ASCII code (1-byte). The maximum
number of characters that can be specified are 127
characters of the shift JIS and ASCII code.
For details of the character string such as update
character to be specified, refer to Chapter "4-2
Setting Various Conditions". (page 4-20)
•
•
•
—
To specify the character string of multiple block numbers,
send the block number and character string as many time
as required.
•
•
•
Total number of bytes
Remarks
Variable
■ Response
1
Header C 2
4
,
0
, Checksum Delimiter
• When entering a comma, be sure to enter it using the shift-JIS code, or use "%044A (singlebyte)" code so that the comma can be distinguished from the delimiting code.
• When specifying "%" using ASCII code (single-byte), enter it as "%% (single-byte)". When
specifying "%" using shift JIS code (double-byte), enter it as "%(double-byte single character)".
5-2
MLG9300/V9600RS-M-NO5-E
5-2
Quick Change of Character String
The data expansion time that is required after changing the character string is
reduced so that the character string can be changed in a short period of time.
During the normal character change when quick change is not selected, a certain amount of calculation time is required
inside the controller after receipt of the "character string changing command (C2)", in order to create the marking data.
Actual marking starts upon completion of the required calculation (expansion calculation).
In order to speed up the character change, you can use the "character string quick change command (H2)". With the
"character string quick change registration command (IR)", you can register the characters to be changed beforehand
(using (IR) command you can register a maximum of 70 characters), and you can specify the target block number to be
changed using the "character string quick change target setting command (C8)". Thus you can prepare the marking data
beforehand. When the above-described setup is complete, you can send the "H2" command to change the character
string quickly by simply entering the new character data.
• When the ordinary character change command (C2) is specified:
Receiving the
character string
Expansion calculation of
marking data
Marking
• When the character string quick change command (H2) is specified:
Receiving the
character string
Exchanging
the data
5
Marking
Time is reduced.
Quick change of character string (H2)
First, specify the desired block that you want to change using the "setting command (C8)". Then specify the
character string that you want to change. You can specify the character string out from the 70 characters that have
already been registered beforehand by the "character string quick change registration command (IR)". Then send
the character string information to execute quick change.
However, encoded characters such as update character, logo, custom characters , barcode (block type) and the
2D code cannot be changed. You can change a single block or multiple number of blocks at one time.
Note that the “H2” command can only change the character string of the program that is running at present.
■ Command
The maximum number of character strings of a single block is 256 bytes.
1
4
Header H 2
,
8
Block No.
, Checksum Delimiter
, Character String
If you want to change multiple blocks,
add this data as many times as desired.
Item
Parameter
Number of bytes
H2
2
Fixed
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
Shift JIS/ASCII
—
It specifies the character using either the shift JIS code
(2-byte) or ASCII code (1-byte).
The maximum number of characters that can be specified
are 127 characters of the shift JIS and ASCII code.
•
•
•
—
To specify the character string of multiple block numbers,
send the block number and character string data as many
time as required.
Identification Code
Block No.
Character String
•
•
•
Total number of bytes
MLG9300/V9600RS-M-NO5-E
Remarks
Variable
5-3
Frequently-used Change Commands and Request Commands
Marking data of the character that has
already been expanded beforehand.
5-2 Quick Change of Character String
■ Response
1
4
Header H 2
,
0
, Checksum Delimiter
• If the "H2" command is used, you cannot change a character string which exceeds the number of
characters that have been set in the block beforehand. If less characters than have been set
beforehand are sent, the insufficient bits are filled by null spaces and are saved.
• When entering a comma, be sure to enter it using the shift-JIS code, or use "%044A (single-byte)"
code so that the comma can be distinguished from the delimiting code.
• When specifying "%" using ASCII code (single-byte), enter it as "%% (single-byte)". When
specifying "%" using shift JIS code (double-byte), enter it as "%(double-byte single character)".
• If you want to change the character string of the block number that is specified as the target
of quick change of character, you can only change the target character of the change that is
already registered by the "IR" command. If you send a character that is outside of the target,
"Quick Change of Character Setup Error" is returned as the response.
If you want to change encoded character strings such as update character, logo, custom
character, barcode (block type) and 2D code, use the "C2" command.
"5-1 Changing Character String" (page 5-2)
Registering the quick change character (IR)
5
You can register up to 70 characters as the characters to be changed at a high speed.
By default setup, numerals, uppercase and lowercase letters have already been registered as the quick
change characters.
The registered characters are overwritten whenever a command is sent.
Frequently-used Change Commands and Request Commands
■ Command
1
Header I
4
R
, Character Character Character
Item
Identification Code
Quick Change Character
Character Character , Checksum Delimiter
Parameter
Number of bytes
IR
2
Fixed
—
It specifies the character using either the shift JIS code
(2-byte) or ASCII code (1-byte).
A maximum of 70 characters can be registered
excluding delimiting comma.
Shift JIS/ASCII
Total number of bytes
Remarks
Variable
■ Response
1
Header I
4
R
0
,
, Checksum Delimiter
• When the quick change characters have already been registered before, and if you want to
change a part of them, you have to send and register not only the characters that you want to
change but also the other characters.
• When entering a comma, be sure to enter it using the shift-JIS code, or use "%044A (singlebyte)" code so that the comma can be distinguished from the delimiting code.
• When specifying "%" using ASCII code (single-byte), enter it as "%% (single-byte)". When
specifying "%" using shift JIS code (double-byte), enter it as "%(double-byte single character)".
Requesting the quick change character string (HS)
It requests the already registered quick change characters.
■ Command
1
Header H S
, Checksum Delimiter
■ Response
1
Header H S
5-4
4
, Character Character Character
Character Character , Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-2 Quick Change of Character String
Item
Parameter
Number of bytes
HS
2
Fixed
—
The registered characters are sent in the shift JIS (2byte) code. A maximum of 70 registered characters
excluding delimiting comma can be sent.
Identification Code
Quick Change Character
Shift JIS
Total number of bytes
Remarks
Variable
If no characters are registered yet, the response shown below is returned and no quick change
character will be sent.
Header H S
0
,
,
, Checksum Delimiter
No character will be sent.
Setting the target block of quick change (C8)
You can specify whether a specific block becomes the target of quick change or not within a single program,
when the character string quick change command (H2) is used.
You can change a single block or multiple number of blocks at one time.
If a target of quick change of character has been registered once, it remains valid unless the
program is deleted or overwritten by a new target using “Marking Builder” or optional touch
panel or with the communication command.
5
1
4
Header C 8
9
Program No.
,
,
13
Block No.
,
Target of Quick
Change of Character
, Checksum Delimiter
If you want to change multiple blocks,
send this data as many times as desired.
Item
Parameter
Number of bytes
C8
2
Fixed
0000 to 1999
4
If program No. is omitted, the target of quick change of
character of the program that is running at present will be
changed.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
Target of Quick
Change of Character
0/1
1
0: Out of target
1: On target
•
•
•
•
•
•
—
If you want to change multiple blocks, you must send the data
starting from the block number up to the target of quick change
of character, as many times as required.
Identification Code
Program No.
Block No.
Total number of bytes
Remarks
Variable
■ Response
1
Header C 8
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-5
Frequently-used Change Commands and Request Commands
■ Command
5-3
Requesting Character String
This section describes the procedure of requesting the already registered
character string of a program.
Requesting Character String
There are following two types of request command that can be used for requesting the character string.
• Command requesting the character string as originally set (B3):
If you use the B3 command, you can get the character string as it was originally registered by
the C2 command or the H2 command.
You can get the update character, logo and custom character in the original data code (such as
%4Y) as they were originally registered.
• Command requesting the character string as it is actually marked (UY):
You can get the character string after it is actually marked. You can use the UY command
conveniently for checking the marked contents upon completion of marking because the
character string such as update character is supplied as it is actually marked.
*The program number that is running at present is the target of this request.
Command requesting the character string as originally set (B3)
This command requests the character string as it is originally registered in each block. The update character, logo and custom
characters are supplied as they are originally registered. You can request the character string of multiple blocks simultaneously.
5
■ Command
Frequently-used Change Commands and Request Commands
1
4
Header B 3
,
9
Program No.
,
, Checksum Delimiter
Block No.
If you request a character string of multiple blocks, send this data as many times as required.
Item
Parameter
Number of bytes
B3
2
Fixed
0000 to 1999
4
If program No. is omitted, the character string of the
program that is running at present will be requested.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (Individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
•
•
•
—
To request a character string of multiple blocks, send
the block number and character string as many times as
required.
Identification Code
Program No.
Block No.
•
•
•
Total number of bytes
Remarks
Variable
■ Response
1
4
Header B 3
,
6
0
, Character String
, Checksum Delimiter
If you request a character string of multiple blocks, send this data as many times as the number of blocks.
Item
Identification Code
Error Status
Character String
Parameter
B3
Number of bytes
2
0/1
1
Shift JIS/ASCII
•
•
•
•
•
•
Total number of bytes
5-6
Remarks
Fixed
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
—
The specified character is sent either in the shift JIS code
(2-byte). (There can be a case that the character
string is sent using the ASCII code (1-byte).
See IMPORTANT on next page.
A sent maximum number of characters that can be are
127 characters of the shift JIS and ASCII code.
—
If character strings of multiple blocks are requested,
the character strings are sent in the order of request.
Variable
MLG9300/V9600RS-M-NO5-E
5-3 Requesting Character String
• The requested character string is sent using the ASCII code (1-byte) I the following cases.
– Update character
– Program code for logo, workpiece image, custom character, photo file
– The encode character string whose block type is of the 2D code, and the encode character string
that is set using the ASCII code (1-byte).
– Control code in CODE128 and DataMatrix.
• If the character string to be sent contains encoded characters such as update character, the maximum
data length of character string becomes 255 bytes.
• If a request for a character string is issued to the blocks whose block type is Machinery Operation Mode
(straight line, dashed line, oval arc, fixed point), an illegal command error is issued.
• If data length of response exceeds 4096 bytes, the "Response data length error" is returned.
In such a case, separate the request so that the response data length does not exceed 4096 bytes.
Command requesting the character string as it is actually marked (UY)
Use this command to request the character string as it is actually marked. The update characters are
supplied not in the character code but as they are actually marked. You can specify the character string
response either in shift JIS code or ASCII code to receive.
■ Command
1
4
Header U Y
9
Program No.
,
Item
Character Code
to be used
, Checksum Delimiter
Number of bytes
UY
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
000 to 255 (Individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
1
It specifies the character code that shall be used
when sending the character string.
0: Character string is sent in ASCII code.
1: Character string is sent in shift JIS code.
Program No.
Character Code
to be used
0/1
Total number of bytes
Remarks
5
13 (10)
■ Response
1
4
Header U Y
,
6
0
, Output Character String
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
UY
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
—
The actually marked character string is returned in the character
code specified by the "Character code to be used" command.
A maximum number of characters that can be sent are 127
characters of the shift JIS and ASCII code.
Character String as
it is actually marked
Shift JIS/ASCII
Total number of bytes
Remarks
Variable
• Be sure to send the request command (UY) for the marking character string upon completion of marking.
If it is sent without marking, an error (S029 (Mark Data Request Error)) is returned.
• If a command requesting character string is sent to a block whose block type is Machinery Operation
Mode (straight line, dashed line, oval arc, fixed point) or logo (including workpiece image), no character
string will be returned.
• Custom characters will be returned as a double byte space.
• If there exists a character that cannot be converted to the ASCII code when the "character code to be
used" is specified as ASCII code, such a character will be replaced by a single-byte space and returned.
• If ASCII code is specified as the "character code to be used", comma is returned as ",".
• If the data length of response exceeds 4096 bytes, the "Response data length error" is returned.
In such a case, separate the request so that the response data length does not exceed 4096 bytes.
• If character string of palette marking is specified, the character string that was marked last will be returned.
MLG9300/V9600RS-M-NO5-E
5-7
Frequently-used Change Commands and Request Commands
Parameter
Identification Code
Block No.
13
, Block No. ,
5-4
Changing and Requesting Block
Position
This section describes the procedure of changing the coordinate of a block
of an already registered program.
Changing and Requesting Block Position
Changing block position (individual) (C0)
Use this command to change the coordinate of each block of an already registered program.
You can change coordinate of a single block or multiple number of blocks at one time.
■ Command
1
4
Header C
0
9
Program No.
,
,
Block No.
13
,
21
X-coodinate or Center X-coodinate
Checksum Delimiter
Y-coordinate or Center Y-coodinate
,
If you want to change coordinate of multiple blocks,
send this data as many times as desired.
Item
Identification Code
5
,
Program No.
Frequently-used Change Commands and Request Commands
Block No.
Parameter
Number of bytes
C0
2
Fixed
0000 to 1999
4
If program No. is omitted, the coordinate of the program
that is running at present is changed.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
X-coordinate
–55.000 to 055.000 *1
X-coordinate
Center X-coordinate
7
Center X-coordinate
–22.000 to 022.000 *2
Remarks
When the Block Type (page 4-11) is either “02”
(Character: Outer circumference of arc) or “03”
(Character: Inner circumference of arc), set the center X
coordinate and the center Y coordinate. For the Block
Types other than “02” and “03” (at the same time
excluding “04” (Machinery Operation Mode: Fixed
point) through “06” (Machinery Operation Mode:
Clockwise circle/Oval/Arc/Oval arc)), set simply the X
coordinate and the Y coordinate.
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1
Y-coordinate
–55.000 to 055.000 *1
Y-coordinate
Center Y-coordinate
7
Center Y-coordinate
–22.000 to 022.000 *2
*2
ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
ML-G 9320/9321: –110.00 to 110.00
9370/9371: –60.000 to 60.000
MD-V 9600: –180.00 to 180.00
9610: –110.00 to 110.00
9620: –310.00 to 310.00
•
•
If you want to change coordinates of multiple blocks at
•
•
—
one time, data starting from the block number up to the
•
•
Y-coordinate must be sent as many times as required.
Total number of bytes
Variable
*1 to 2 The parameter shows the range of settings for ML-G Series ML-G9310/9311 (standard character) in the parameter
column. Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small
character specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620
(wide area)] have different ranges of settings, the differences are shown in the remarks column.
If the total data to be sent starting from header up to delimiter exceeds 4096 bytes, separate
the command into two and send the separated commands one by one.
■ Response
1
Header C 0
5-8
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-4 Changing and Requesting Block Position
Requesting block position (individual) (B1)
Use this command to request the coordinates of each block of an already registered program. You can
request coordinate of a single block or several blocks at one time.
■ Command
1
4
Header B 1
9
Program No.
,
, Checksum Delimiter
, Block No.
If you request coordinate of multiple blocks, send this data as many times as required.
Item
Identification Code
Program No.
Block No.
Parameter
B1
Number of bytes
2
0000 to 1999
4
000 to 255 (Individual)
256 to 260 (common)
•
•
•
•
•
•
Total number of bytes
Remarks
Fixed
If program No. is omitted, the coordinate of the program
that is running at present will be requested.
❍ Variable length parameter of 4 bytes or less.
3
❍ Variable length parameter of 3 bytes or less.
—
If you request coordinates of multiple blocks at one time,
you should send the required amount of block Nos. all
together.
Variable
■ Response
1
4
,
6
0
,
5
14
X-coodinate or Center X-coodinate
,
Y-coordinate or Center Y-coodinate
, Checksum Delimiter
If you request coordinate of multiple blocks,
send this data as many times as required.
Item
Identification Code
Error Status
Parameter
B1
Number of bytes
2
0/1
1
X-coordinate
–55.000 to 055.000 *1
X-coodinate
Center X-coodinate
7
Center X-coordinate
–22.000 to 022.000 *2
Y-coordinate
–55.000 to 055.000 *1
Y-coordinate
Center Y-coodinate
7
Center Y-coordinate
–22.000 to 022.000 *2
Remarks
Fixed
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
When the Block Type (page 4-11) is either “02”
(Character: Outer circumference of arc) or “03”
(Character: Inner circumference of arc), the center X
coordinate and the center Y coordinate are returned.
When the Block Types are other than “02” and “03” (at
the same time excluding “04” (Machinery Operation
Mode: Fixed point) through “06” (Machinery Operation
Mode: Clockwise circle/Oval/Arc/Oval arc)), the X
coordinate and the Y coordinate are returned.
● Data length is fixed to 7 bytes.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: 15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
*2 ML-G 9320/9321: –110.00 to 110.00
9370/9371: –60.000 to 60.000
MD-V 9600: –180.00 to 180.00
9610: –110.00 to 110.00
9620: –310.00 to 310.00
•
•
When coordinates of multiple blocks are requested at one time,
•
•
—
the required amount of X-coordinate data and Y-coordinate data
•
•
are returned repeatedly in the order of requested sequence.
Total number of bytes
Variable
*1 to *2 The parameter shows the range of settings for ML-G Series ML-G9310/9311 (standard character) in the parameter
column. Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (ultra-small
character specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620
(wide area)] have different ranges of settings, the differences are shown in the remarks column.
If data length of response exceeds 4096 bytes, the “Response data length error” will be returned.
In such a case, separate the request so that the response data length does not exceed 4096 bytes.
MLG9300/V9600RS-M-NO5-E
5-9
Frequently-used Change Commands and Request Commands
Header B 1
5-4 Changing and Requesting Block Position
Changing block position (all) (AF)
An offset is given to the marking start coordinates of all blocks within a single program globally.
■ Command
1
4
Header A F
,
9
16
Program No. X-coordinate Offset Value ,
Item
Identification Code
Y-coordinate Offset Value
Parameter
Number of bytes
Remarks
AF
2
Fixed
Program No.
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
X-coordinate
Offset Value
–110.000 to 0110.000*1
8
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1
Y-coordinate
Offset Value
–110.000 to 0110.000*1
Total number of bytes
*1
5
, Checksum Delimiter
8
ML-G 9320/9321: –55.000 to 55.000
9370/9371: –30.000 to 30.000
MD-V 9600: –90.000 to 90.000
9610: –55.000 to 55.000
9620: –77.500 to 77.500
25 (22)
The parameter shows the range of settings for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different ranges of settings, the differences are shown in the remarks column.
Frequently-used Change Commands and Request Commands
■ Response
1
Header A F
5-10
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-5
Changing and Requesting Block
Marking Flag
This section describes the procedure to change and request the flag to
execute marking or not to execute marking on each block.
Changing and Requesting the Block Marking Flag
Changing the block marking flag (C6)
You can specify each block within a single program whether each block shall execute marking or not.
You can change the marking flag of any single block or of several blocks at one time.
■ Command
1
4
Header C 6
9
Program No.
,
13
, Block No. , Marking Flag
, Checksum Delimiter
If you want to change flag of multiple blocks,
send this data as many times as desired.
Item
Number of bytes
C6
2
Fixed
0000 to 1999
4
If program No. is omitted, the target of quick change of
character of the program that is running at present is
changed.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (Individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
0/1
1
0: Do not mark.
1: Mark
•
•
•
—
If you want to change the marking flags of multiple blocks, you
must send the data starting from the block number up to the
marking flag, as many times as required.
Program No.
Block No.
Marking Flag
•
•
•
Total number of bytes
Remarks
Variable
■ Response
1
Header C 6
4
,
0
, Checksum Delimiter
You can set the marking flag of all the block numbers to be used to [0] (Marking is not executed).
In this case, READY output from the control outputs is turned ON. Marking output and Marking
Complete output are not turned ON after SENSOR input is received though the READY output is
turned OFF momentarily.
MLG9300/V9600RS-M-NO5-E
5-11
5
Frequently-used Change Commands and Request Commands
Parameter
Identification Code
5-5 Changing and Requesting Block Marking Flag
Requesting the block marking flag (B7)
Use this command to request the marking flag of each block within a single program.
You can request the marking flag of a single block or of several blocks at one time.
■ Command
1
4
Header B 7
9
Program No.
,
, Block No.
, Checksum Delimiter
If you request the marking flag of multiple blocks,
send this data as many times as required.
Item
Parameter
Number of bytes
B7
2
Fixed
0000 to 1999
4
If program No. is omitted, the coordinates of the program
that is running at present will be requested.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
•
•
•
—
If you want to request marking flags of multiple blocks,
you must send the block number as many times as
required.
Identification Code
Program No.
Block No.
•
•
•
Total number of bytes
5
Remarks
Variable
Frequently-used Change Commands and Request Commands
■ Response
1
4
Header B 7
,
6
0
, Marking Flag
, Checksum Delimiter
If you request marking flags of multiple blocks, this data is added as many times as required.
Item
Identification Code
Parameter
Number of bytes
Remarks
B7
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
To mark/Not
to mark flag
0/1
1
0: Do not mark.
1: mark
•
•
•
—
If you request the marking flags of multiple blocks,
marking flags as many as the number of blocks are
returned in the requested sequence.
•
•
•
Total number of bytes
5-12
Variable
MLG9300/V9600RS-M-NO5-E
5-6
Changing and Requesting Conditions of
Machinery Operation Mode
This section describes the procedure of changing and requesting the
conditions of the block that is set for Machinery Operation Mode.
Operating Conditions of Machinery Operation Mode
Changing conditions of Machinery Operation Mode (C4)
This command changes only the conditions (position information under the operating condition) of the block
that is set for the Machinery Opeaion Mode.
You can change the conditions of any single block or of several blocks at one time. The Machinery Operation
Mode cannot be set to the common blocks.
■ Command
1
4
Header C 4
9
, Program No.
13
, Block No. ,
15
Types of Machinery
Operation Mode
,
Position Information of the
Machinery Operation Mode
, Checksum Delimiter
If you want to change the conditions of multiple blocks
send this data as many times as desired.
Item
2
Fixed
0000 to 1999
4
If program No. is omitted, the condition of the
Machinery Operation Mode of the program that is
running at present will be changed.
❍ Variable length parameter of 4 bytes or less.
Block No.
000 to 255 (individual)
3
❍ Variable length parameter of 3 bytes or less.
Types of Machinery
Operation Mode
0 to 4
1
0: Fixed point
1: Straight line
2: Dashed line
3: Counter clockwise circle/Oval/Arc/Oval arc
4: Clock wise circle/Oval/Arc/Oval arc
Position Information
of the Machinery
Operation Mode
—
—
For the format of position information of Machinery
Operation Mode, refer to page 5-14.
—
If you want to change the conditions of multiple blocks,
you must send the data starting from the block number
up to the position information of Machinery Operation
Mode, as many times as required.
•
•
•
•
•
•
Total number of bytes
Variable
■ Response
1
Header C 4
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-13
Frequently-used Change Commands and Request Commands
Number of bytes
C4
Program No.
5
Remarks
Parameter
Identification Code
5-6 Changing and Requesting Conditions of Machinery Operation Mode
[Position information of the Machinery Operation Mode]
There are three different patterns of position information of Machinery Operation Mode depending on the
types of Machinery Operation Mode . Select a format that suits the specified type of Machinery Operation
Mode .
1. Types of Machinery Operation Mode "0" (Fixed point)
1
9
Fixed Point Output X-coordinate
Item
Fixed Ooint Output
X-coordinate
Fixed Point Output Y-coordinate
,
,
Parameter
Number of bytes
–55.000 to 055.000 *1
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1
Fixed Point Output
Y-coordinate
*1
5
–55.000 to 055.000 *1
7
ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
The parameter shows the range of settings for ML-G Series ML-G9310/9311 (standard character) in the parameter column.
Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (ultra-small character
specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different ranges of settings, the differences are shown in the remarks column.
2. Machinery Operation Mode type "1" (straight line) and "2" (dashed line)
Frequently-used Change Commands and Request Commands
1
9
Start Point X-coordinate
33
,
17
Start Point Y-coordinate
,
,
25
End Point X-coordinate
,
End Point Y-coordinate
40
Solid Length
,
Pitch Length
It is added when the block type is "02" (dashed line).
Item
Start Point
X-coordinate
Parameter
Number of bytes
–55.000 to 055.000 *2
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*2
Start Point
Y-coordinate
–55.000 to 055.000 *2
7
End Point
X-coordinate
–55.000 to 055.000 *3
7
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*3
End Point
Y-coordinate
–55.000 to 055.000 *3
7
Solid Length
(dashed line only)
00.100 to 055.000 *4
6
*2 to 4
5-14
00.100 to 055.000 *4
6
ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
This data is sent only when setting the dashed line.
❍ Variable length parameter of 6 bytes or less.
Unit: mm
*4
Pitch Length
(dashed line only)
ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –45.000 to 45.000
9610: –27.500 to 27.500
9620: –77.500 to 77.500
ML-G 9320/9321: 0.100 to 27.500
9370/9371: 0.100 to 15.000
MD-V 9600: 0.100 to 45.000
9610: 0.100 to 27.500
9620: 0.100 to 65.535
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter
column.Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small
character specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620
(wide area)] have different ranges of settings, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO5-E
5-6 Changing and Requesting Conditions of Machinery Operation Mode
3. Types of Machinery Operation Mode "3" (Counter clockwise circle/Oval/Arc/Oval arc) and "4" (Clockwise
circle/Oval/Arc/Oval arc )
1
9
Center X-coordinate
31
17
Center Y-coordinate
,
38
Starting Angle
Center X-coordinate
Radius Y
,
,
45
Opening Angle
,
Item
24
Radius X
,
Block Angle
,
Parameter
Number of bytes
–220.00 to 220.00 *5
7
Remarks
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*5
Center Y-coordinate
–220.00 to 220.00 *5
7
Radius X
001.00 to 220.00 *6
6
ML-G 9320/9321: –110.00 to 110.00
9370/9371: –60.00 to 60.00
MD-V 9600; –180.00 to 180.00
9610: –110.00 to 110.00
9620: –310.00 to 310.00
❍ Variable length parameter of 6 bytes or less.
Unit: mm
*6
ML-G 9320/9321:1.00 to 110.00
9370/9371:1.00 to 60.00
MD-V 9600:1.00 to 180.00
9610:1.00 to 110.00
9620:1.00 to 310.00
001.00 to 220.00 *6
6
Starting Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
Opening Angle
000.10 to 360.00
6
When you select circle or oval, set the angle to 360.00°.
❍ Variable length parameter of 6 bytes or less.
Unit: °
Block Angle
000.00 to 359.99
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
Radius Y
The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter
column. Where other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small
character specification), MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620
(wide area)] have different ranges of settings, the differences are shown in the remarks column.
If you set an identical value to both radius X and radius Y, you can get a circle or an arc.
■ Supplementary description of parameter
• Fixed point
• Straight line
Y [mm]
• Dashed line
End point
Y [mm]
Y [mm]
Pitch length
10
Solid length
Straight line
Fixed point
3
Start point
3
Start point
2
0
6
X [mm]
0
End point
3
15
X [mm]
0
5
10
X [mm]
• Circle/Arc/Oval/Oval arc
Y [mm]
: Center X-coordinate
: Center Y-coordinate
: Starting angle
: Opening angle
: Radius X
: Radius Y
: Block Angle
0
MLG9300/V9600RS-M-NO5-E
X [mm]
5-15
Frequently-used Change Commands and Request Commands
*5 to 6
5
5-6 Changing and Requesting Conditions of Machinery Operation Mode
Requesting conditions of Machinery operation Mode (B5)
This command requests only the conditions (position information under the block condition) of the block that
is set for the Machinery Operation Mode.
You can request the conditions of a single block or of several blocks at one time.
■ Command
1
4
Header B 5
9
Program No.
,
, Checksum Delimiter
, Block No.
If you request conditions of multiple blocks, send this data as many times as required.
Item
Parameter
Number of bytes
B5
2
Fixed
0000 to 1999
4
If program No. is omitted, the conditions of the Machinery Operation
Mode of the program that is running at present will be requested.
❍ Variable length parameter of 4 bytes or less.
000 to 255 (individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
•
•
•
—
If you want to request conditions of multiple blocks,
you must send the block number as many times as required.
Identification Code
Program No.
Block No.
•
•
•
Total number of bytes
5
Remarks
Variable
Frequently-used Change Commands and Request Commands
■ Response
1
4
Header B 5
,
6
0
,
8
Types of Machinery Operation
Mode
,
Position Information of the Machinery
Operation Mode
, Checksum Delimiter
If you request multiple blocks, this data is returned as many times as required.
Item
Identification Code
Error Status
Parameter
Number of bytes
B5
2
Fixed
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
1
0: Fixed point
1: Straight line
2: Dashed line
3: Counter clockwise circle/Oval/Arc/Oval arc
4: Clock wise circle/Oval/Arc/Oval arc
—
For the format of position information of Machinery
Operation Mode,refer to page 5-14.
● Each parameter is returned containing the maximum
number of bytes.
—
If you request the conditions of multiple blocks,
the data starting from the type of processing machinery
operation position information of processing machinery
operation are returned as often as required in the requested order.
0/1
Types of
Machinery Operation
Mode
Position Information of
the Machinery
Operation Mode
0 to 4
—
•
•
•
•
•
•
Total number of bytes
Remarks
Variable
If data length of response exceeds 4096 bytes, the “Response data length error” is returned.
In such a case, separate the request so that the response data length does not exceed 4096 bytes.
5-16
MLG9300/V9600RS-M-NO5-E
5-7
Changing and Requesting
Conditions of Palette Marking
This section describes the procedure of changing and requesting the
conditions of palette marking.
Changing and Requesting the Coordinate Offset for Palette Marking
Changing the coordinate offset for palette marking (VC)
Use this command to change the coordinate offset (X-coordinate, Y-coordinate and angle) for each palette number.
You can change the coordinate offset of any single block or of several blocks at one time.
■ Command
1
4
Header V C
9
Program No.
,
15
Palette No.
,
,
23
Coordinate Offset (X-coordinate)
,
Coordinate Offset (Y-coordinate)
31
,
, Checksum Delimiter
Coordinate Offset (angle)
If you want to change the coordinate offsets of multiple palettes, send this data as many times as desired.
Item
Parameter
Number of bytes
VC
2
Fixed
0000 to 1999
4
❍Variable length parameter of 4 bytes or less.
00001 to 10000
5
The palette numbers are assigned starting from the top
left toward right in order.
For details, refer to Tips shown on this page.
❍ Variable length parameter of 5 bytes or less.
Coordinate Offset
(X-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(Y-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(angle)
–180.00 to 0180.00
7
❍ Variable length parameter of 7 bytes or less.
Unit: °
•
•
•
—
If you want to change the marking conditions of multiple palettes,
the data starting from palette number up to the coordinate offset
(angle) should be sent as many times as required.
Identification Code
Program No.
•
•
•
Total number of bytes
❍ Variable length parameter of 7 bytes or less.
Unit: mm
Variable
• Explanation of palette number
The palette numbers are assigned starting from the top left toward
right in order. The rule of assigning the palette numbers remains
unchanged even if the scan direction does not agree with this rule.
Marking before correction
• Explanation of each
parameter of
coordinate offset
5
006 007 008 009 010
011 012 013 014 015
016 017 018 019 020
Marking after correction
Coordinate offset
(Y-coordinate)
Reference position
of a palette
001 002 003 004 005
Coordinate offset
(X-coordinate)
Coordinate offset(angle)
You should specify the angle
between the data and X-axis.
If the total data to be sent starting from header up to delimiter exceeds 4096 bytes, separate
the command into two and send the separated commands one by one.
■ Response
1
Header V C
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-17
Frequently-used Change Commands and Request Commands
Palette No.
Remarks
5-7 Changing and Requesting Conditions of Palette Marking
Requesting the coordinate offset for palette marking (UD)
Use this command to request the coordinate offsets (X-coordinate, Y-coordinate and angle) of each palette
number. You can request the coordinate offsets of any single block or of several blocks at one time.
■ Command
1
4
Header U D
9
Program No.
,
,
Palette No.
, Checksum Delimiter
If you want to change the coordinate offsets of multiple palettes,
send this data as many times as desired.
Item
Identification Code
Program No.
Palette No.
Parameter
Number of bytes
UD
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
00001 to 10000
5
The palette numbers are assigned starting from the top
left toward right in order.
For details, refer to Tips on page 5-17.
❍ Variable length parameter of 5 bytes or less.
•
•
•
—
If you want to request coordinate offsets of multiple
palettes, you must send the palette number as many
times as required.
•
•
•
Total number of bytes
5
Remarks
Variable
Frequently-used Change Commands and Request Commands
■ Response
1
4
Header U D
,
14
0
Checksum Delimiter
Item
22
, Coordinate Offset (X-coordinate) , Coordinate Offset (Y-coordinate) , Coordinate Offset (angle)
,
If you request the coordinate offsets of multiple palettes, this data
is returned as many times as specified by the number of palettes.
Parameter
Number of bytes
Identification Code
UD
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Coordinate Offset
(X-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(Y-coordinate)
–32.768 to 32.767
7
Coordinate Offset
(angle)
–180.00 to 0180.00
7
● Data length is fixed to 7 bytes.
Unit: °
•
•
•
—
If you request the coordinate offsets of multiple blocks, the data
starting from the palette number up to the coordinate offset (angle)
are returned as many times as required, in the order of request.
•
•
•
Total number of bytes
Remarks
● Data length is fixed to 7 bytes.
Unit: mm
Variable
If data length of response exceeds 4096 bytes, the "Response data length error" will be returned.
In such a case, separate the request so that the response data length does not exceed 4096 bytes.
5-18
MLG9300/V9600RS-M-NO5-E
5-7 Changing and Requesting Conditions of Palette Marking
Changing the marking ready/not ready status of palette marking (VK)
Use this command to change the marking ready/not ready status for each palette.
You can change the ready/not ready status of any single block or of several blocks at one time.
■ Command
1
4
Header V K
9
Program No.
,
,
15
Palette No.
,
To mark/Not to mark flag
, Checksum Delimiter
If you want to change the coordinate offsets of multiple palettes,
send this data as many times as desired.
Item
Identification Code
Program No.
Parameter
Number of bytes
VK
2
Fixed
Remarks
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Palette No.
00001 to 10000
5
It specifies the palette number for which the marking
ready/not ready flag is set.
For details, refer to Tips on page 5-17.
❍ Variable length parameter of 5 bytes or less.
To mark/Not
to mark flag
0/1
1
0: Do not mark.
1: To mark
—
If you want to change the ready/not ready status of
multiple palettes, the data starting from palette number
up to the marking ready/not ready status should be sent
as many times as required.
•
•
•
•
•
•
Variable
■ Response
1
Header V K
4
,
0
, Checksum Delimiter
You can set the marking flag of all the palette numbers to be used to [0] (Marking is not executed).
In this case, READY output from the control outputs is turned ON. Marking output and Marking
Complete output are not turned ON after SENSOR input is received though the READY output is
turned OFF momentarily.
MLG9300/V9600RS-M-NO5-E
5-19
Frequently-used Change Commands and Request Commands
Total number of bytes
5
5-7 Changing and Requesting Conditions of Palette Marking
Requesting the marking ready/not ready status of palette marking (UL)
Use this command to request the marking ready/not ready status of each palette.
You can request the ready/not ready status of any single block or of several blocks at one time.
■ Command
1
4
Header U L
9
Program No.
,
Item
Identification Code
Program No.
,
15
Top Palette No.
Required Number
, Checksum Delimiter
Parameter
Number of bytes
UL
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Remarks
Top Palette No.
00001 to 10000
5
This specifies the palette number of the top palette that
requests the marking ready/not ready flag.
For details, refer to Tips on page 5-17.
❍ Variable length parameter of 5 bytes or less.
Required Number
00001 to 10000
5
❍ Variable length parameter of 5 bytes or less.
The marking ready/not ready status is sent in the response
as many as required from the specified palettes.
Total number of bytes
5
,
19 (16)
■ Response
Frequently-used Change Commands and Request Commands
1
4
Header U L
,
6
0
, Checksum Delimiter
, To mark/Not to mark flag
If "2" or more is specified as the required number,
this data is returned as many as requested.
Parameter
Number of bytes
Identification code
Item
UL
2
Fixed
Error status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
To mark/Not
to mark flag
0/1
1
0: Do not mark.
1: To mark
•
•
•
—
The marking ready/not ready flag is sent as often as
requested.
•
•
•
Total number of bytes
5-20
Remarks
Variable
MLG9300/V9600RS-M-NO5-E
5-8
Added Commands
This section describes the commands that have been added by the upgrade
of the controller software.
The commands described in this section can be used in the "Controller Software" of the following versions or
later of the ML-G series and the MD-V series.
ML-G Series: 03.11.00
MD-V Series: 02.11.00
Changing the character string to be marked of the Program No. in operation (BL)
It changes the character string to be marked of the Program No. in operation. Only the character string of
one block number can be changed.
■ Command
1
4
Header B L
8
Block No.
,
Character String
,
, Checksum Delimiter
5
Item
Number of bytes
BL
2
Fixed
000 to 255 (Individual)
256 to 260 (common)
3
❍ Variable length parameter of 3 bytes or less.
—
It specifies the character using either the shift JIS code
(2-byte) or ASCII code (1-byte). The maximum
number of characters that can be specified are 127
characters of the shift JIS and ASCII code.
For details of the character string such as update
character to be specified, refer to Chapter "4-2
Setting Various Conditions". (page 4-20)
Identification Code
Block No.
Character String
Shift JIS/ASCII
Total number of bytes
Remarks
Variable
■ Response
1
Header B L
4
,
0
, Checksum Delimiter
• When entering a comma, be sure to enter it using the shift-JIS code, or use "%044A (singlebyte)" code so that the comma can be distinguished from the delimiting code.
• When specifying "%" using ASCII code (single-byte), enter it as "%% (single-byte)". When
specifying "%" using shift JIS code (double-byte), enter it as "%(double-byte single character)".
MLG9300/V9600RS-M-NO5-E
5-21
Frequenlly-used Change Commands and Request Commands
Parameter
5-8 Added Commands
Changing the block marking flag [Specify at once] (D6)
You can specify whether marking shall be performed or not on each block within a single program No.
This command is differ from the C6 command in the point of resetting all the flag statuses that have been
specified just before the command is sent. Whether marking for the specified block No. is performed or not
can be set at once.
You can change the operating condition of any single block or of multiple number of blocks at one time.
■ Command
1
4
Header D 6
9
Program No.
,
,
11
Marking flag
status
,
Block No.
, Checksum Delimiter
If you want to change flag of multiple blocks,
send this data as many times as desired.
Item
Identification Code
Program No.
5
Marking flag status
Frequenlly-used Change Commands and Request Commands
Block No.
Parameter
Number of bytes
D6
2
Fixed
0000 to 1999
4
If program No. is omitted, the target of quick change of
character of the program that is running at present is
changed.
❍ Variable length parameter of 4 bytes or less.
0/1
1
0: Do not mark.
1: Mark
000 to 255 (Individual)
256 to 260 (common)
999 (all)
3
If you specify "999" for marking flag, all of the operating
conditions for all the block numbers are changed to
those that have been set during the marking flag is on.
❍ Variable length parameter of 3 bytes or less.
•
•
•
—
If you want to change the marking flags of multiple blocks, you
must send the data starting from the block number up to the
marking flag, as many times as required.
•
•
•
Total number of bytes
Remarks
Variable
■ Response
1
Header D 6
4
,
0
, Checksum Delimiter
You can set the marking flag of all the block numbers to be used to [0] (Marking is not executed).
In this case, READY output from the control outputs is turned ON. Marking output and Marking
Complete output are not turned ON after SENSOR input is received though the READY output is
turned OFF momentarily.
5-22
MLG9300/V9600RS-M-NO5-E
5-8 Added Commands
Changing marking ready/not ready status of pallet marking (specify at once) (WK)
Use this command to change the marking ready/not ready status for each pallet.
This command is differ from the VK command in the point of resetting all the marking ready/not ready
statuses that have been specified just before the command is sent. Whether marking for specified pallet No.
is performed or not can be set at once.
You can change the ready/not ready status of any single pallet or of multiple number of pallets at one time.
■ Command
1
4
Header W K
,
9
Program No.
,
11
Marking ready/not
ready flag status
Pallet No.
,
, Checksum Delimiter
If you want to change the coordinate offsets of multiple palettes,
send this data as many times as desired.
Item
Identification Code
Program No.
Marking ready/
not ready flag status
Palette No.
Parameter
Number of bytes
Remarks
2
Fixed
4
❍ Variable length parameter of 4 bytes or less.
0/1
1
0: Do not mark.
1: To mark
00000, 00001
to 10000
5
It specifies the palette number for which the marking
ready/not ready flag is set.
If you specify "00000", all of the operating conditions for
all the pallet numbers are changed to those that have
been set during the marking ready/not ready flag is on.
For details, refer to Tips on page 5-17.
❍ Variable length parameter of 5 bytes or less.
•
•
•
—
If you want to change multiple pallets, send this data
number as many times as required.
•
•
•
Total number of bytes
Variable
■ Response
1
Header W K
4
,
0
, Checksum Delimiter
You can set the marking flag of all the palette numbers to be used to [0] (Marking is not executed).
In this case, READY output from the control outputs is turned ON. Marking output and Marking
Complete output are not turned ON after SENSOR input is received though the READY output is
turned OFF momentarily.
MLG9300/V9600RS-M-NO5-E
5-23
5
Frequenlly-used Change Commands and Request Commands
WK
0000 to 1999
Memo
5
Frequenlly-used Change Commands and Request Commands
MLG9300/V9600RS-M-NO5-E
5-24
Chapter
6
Environmental Settings
This chapter describes the environmental settings of controller.
61
Internal Clock ............................................................................6-2
6-2
Correcting the Installation Position ...........................................6-3
6-3
Laser Operating Hours..............................................................6-5
6-4
Cumulative Number of Markings...............................................6-6
6-5
Setting the "Daily" (incrementing the daily counter)..................6-7
CAUTION
The setting area shown in this manual is for the ML-G Series ML-G9310/9311
(standard character specification) Laser Marker.
Where other models [ML-G Series ML-G9320/9321 (small character specification),
ML-G9370/9371 (very small character specification), MD-V Series MD-V9600
(standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)]
have different setting areas, the differences are shown in the remarks column.
MLG9300/V9600RS-M-NO6-E
6-1
6-1
Internal Clock
This section describes the procedures to set and request the internal clock
of controller.
Setting and Requesting Date and Time of Internal Clock
Setting date and time of internal clock (DA)
Use this command to set date and time of internal clock. Calendar of internal clock is valid until January 17, 2038.
■ Command
1
4
Header D A
9
Year
,
Item
Identification Code
12
, Month ,
15
Day
,
18
Hour
21
, Minute , Second , Checksum Delimiter
Parameter
Number of bytes
DA
2
Fixed
Remarks
2000 to 2038
4
● Data length is fixed to 4 bytes.
Month
01 to 12
2
● Data length is fixed to 2 bytes.
Day
01 to 31
2
● Data length is fixed to 2 bytes.
Hour
00 to 23
2
● Data length is fixed to 2 bytes.
It sets the hours in the 24-hours system.
Year
Minute
00 to 59
2
● Data length is fixed to 2 bytes.
Second
00 to 59
2
● Data length is fixed to 2 bytes.
Total number of bytes
6
22 (16)
Environmental Settings
■ Response
1
4
Header D A
0
,
, Checksum Delimiter
Requesting date and time of internal clock (DC)
Use this command to request date and time of internal clock.
■ Command
Header D C
, Checksum Delimiter
■ Response
4
1
Header D C
,
6
0
Item
,
11
Year
14
, Month ,
Day
17
,
20
Hour
23
, Minute , Second , Checksum Delimiter
Parameter
Number of bytes
Identification Code
DC
2
Fixed
Remarks
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
2000 to 2038
4
● Data length is fixed to 4 bytes.
Month
01 to 12
2
● Data length is fixed to 2 bytes.
Day
01 to 31
2
● Data length is fixed to 2 bytes.
2
● Data length is fixed to 2 bytes.
It sets the hours in the 24-hours system.
Year
Hour
00 to 23
Minute
00 to 59
2
● Data length is fixed to 2 bytes.
Second
00 to 59
2
● Data length is fixed to 2 bytes.
Total number of bytes
6-2
24 (17)
MLG9300/V9600RS-M-NO6-E
6-2
Correcting the Installation Position
This section describes the procedure for setting and requesting the
installation position correction commands enabling you to determine the fine
adjustment of installation position at the time of marker installation.
Setting and Requesting Installation Position Correction
Setting the installation position correction (TK)
Use this command to set the correction values for X/Y-coordinates of installation position and of the
installation angle.
■ Command
1
4
Header T K
12
20
, Installation Position Correction (X) , Installation Position Correction (Y) , Installation Angle Correction (θ) , Checksum Delimiter
Parameter
Number of bytes
Identification Code
Item
TK
2
Installation Position
Correction (X)
–32.500 to 32.500*1
7
Installation Position
Correction (Y)
–32.500 to 32.500*1
7
–180.00 to 180.00
Total number of bytes
6
❍ Variable length parameter of 7 bytes or less.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –32.500 to 32.500
9610: –27.500 to 27.500
9620: –32.500 to 32.500
6
❍ Variable length parameter of 6 bytes or less.
Unit: °
25 (22)
*1: The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column. Where
other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (very small character specification),
MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different ranges of
settings, the differences are shown in the remarks column.
■ Response
1
4
Header T K
0
,
, Checksum Delimiter
Relationship between the marker installation direction, the correction of X/Y-coordinates and the correction of
angle (θ) is shown below. Be careful that no area outside the marking area is created where marking cannot
be executed, when correction is implemented.
The marker head that is installed in the direction shown in the following illustration
is used as the reference point of coordinate axes.
Marking area after correction is
implemented.
θ
Y
X
Y
θ
Marking area if correction is
not implemented.(Fixed)
X
The hatched portion
is the area
where marking cannot be executed.
If any part of a character exceeds the limit and goes outside the marking area as the result of
implementation of coordinate correction, the marking program cannot start executing. Therefore,
confirm the setting contents and implement the position correction so that no portion of character
goes outside the marking area.
MLG9300/V9600RS-M-NO6-E
6-3
Environmental Settings
Installation Angle
Correction (θ)
Remarks
Fixed
6-2 Correcting the Installation Position
Requesting the installation position correction (SL)
Use this command to request the correction value for the X/Y-coordinates of installation position and of the
installation angle.
■ Command
Header S L
, Checksum Delimiter
■ Response
1
4
Header S L
,
6
0
Item
6
14
22
, Installation Position Correction (X) , Installation Position Correction (Y) , Installation Angle Correction (θ) , Checksum Delimiter
Parameter
Number of bytes
Identification Code
SL
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Installation Position
Correction (X)
–32.500 to 32.500 *1
7
Installation Position
Correction (Y)
–32.500 to 32.500 *1
7
–180.00 to 180.00
6
Installation Angle
Correction (θ)
Total number of bytes
Remarks
● Data length is fixed to 7 bytes.
Unit: mm
*1 ML-G 9320/9321: –27.500 to 27.500
9370/9371: –15.000 to 15.000
MD-V 9600: –32.500 to 32.500
9610: –27.500 to 27.500
9620: –32.500 to 32.500
● Data length is fixed to 6 bytes.
Unit: °
27 (23)
Environmental Settings
*1: The parameter shows the range of setting for ML-G Series ML-G9310/9311 (standard character) in the parameter column. Where
other models [ML-G Series ML-G9320/9321 (small character specification), ML-G9370/9371 (ultra-small character specification),
MD-V Series MD-V9600 (standard character specification), MD-V9610 (thin line), MD-V9620 (wide area)] have different ranges of
settings, the differences are shown in the remarks column.
6-4
MLG9300/V9600RS-M-NO6-E
6-3
Laser Operating Hours
This section describes the request for laser operating hours.
Requesting the laser operating hours (SG)
Use this command to request the cumulative operating hours when the laser is turned on.
■ Command
Header S G
, Checksum Delimiter
■ Response
1
4
Header S G
,
6
0
, Laser Operating Hours , Checksum Delimiter
Parameter
Number of bytes
Identification Code
Item
SG
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
00000 to 83333
5
● Data length is fixed to 5 bytes.
Unit: hours
Laser Operating Hours
MLG9300/V9600RS-M-NO6-E
6
10 (8)
Environmental Settings
Total number of bytes
Remarks
6-5
6-4
Cumulative Marking Repetition
This section describes the procedure of setting and requesting the
cumulative marking repetition.
Setting and Requesting the Cumulative Marking Repetition
Setting the cumulative marking repetition (TM)
Use this command to change the present value of the cumulative marking repetition-1 and marking
repetition-2 respectively.
■ Command
1
4
Header T M
6
, Cumulative Marking Repetition No. ,
Item
Parameter
Parameter
Number of bytes
Identification Code
TM
2
Fixed
Cumulative Marking
Repetition No.
0/1
1
Specify the number of cumulative marking repetition
0: Cumulative marking repetition-1
1: Cumulative marking repetition-2
0000000000
to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Unit: times
Parameter
Total number of bytes
6
, Checksum Delimiter
Remarks
15 (13)
Environmental Settings
■ Response
1
4
Header T M
,
0
, Checksum Delimiter
Requesting cumulative marking repetition (TO)
Use this command to request the present value of the cumulative marking repetition-1 and the cumulative
marking repetition-2 respectively.
■ Command
1
Header T O
, Checksum Delimiter
■ Response
1
4
Header T O
,
Item
6
0
17
Set Data
,
Set Data
,
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
TO
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Set Data
0000000000
to
4294967295
10
● Data length is fixed to 10 bytes.
Unit: times
Set Data
0000000000
to
4294967295
10
● Data length is fixed to 10 bytes.
Unit: times
Total number of bytes
6-6
Remarks
26 (23)
MLG9300/V9600RS-M-NO6-E
6-5
Setting the "Daily" (incrementing
the daily counter)
This section describes the procedure for setting and requesting the time for
[Incrementing "Daily" (incrementing the daily counter)] that is selected upon
counter reset.
Setting and Requesting the "Daily" Incrementing Time
Setting the "Daily" incrementing time (CS)
Use this command to set the "Daily" incrementing time. Set the time in 24 steps (in units of hour) in the range of 0
o'clock to 23 o'clock.
■ Command
1
4
Header C S
Incrementing
Time
,
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
CS
2
Fixed
Incrementing Time
00, 01, 02, 03, 04,
05, 06, 07, 08, 09,
10, 11, 12, 13, 14,
15, 16, 17, 18, 19,
20, 21, 22, 23
2
❍ Variable length parameter of 2 bytes or less.
Total number of bytes
Remarks
Variable
6
1
Environmental Settings
■ Response
4
Header C S
0
,
, Checksum Delimiter
Requesting the "Daily" incrementing time (CT)
Use this command to request the "Daily" incrementing time.
■ Command
1
Header C T
, Checksum Delimiter
■ Response
4
1
Header C T
,
6
0
Incrementing
Time
,
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
CT
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
00, 01, 02, 03, 04,
05, 06, 07, 08, 09,
10, 11, 12, 13, 14,
15, 16, 17, 18, 19,
20, 21, 22, 23
2
❍ Variable length parameter of 2 bytes or less
Incrementing Time
Total number of bytes
MLG9300/V9600RS-M-NO6-E
Remarks
Variable
6-7
Memo
6
Environmental Settings
6-8
MLG9300/V9600RS-M-NO6-E
Chapter
7
Operation
This chapter describes the commands that are required to operate the
system.
7-1
Flow of Operation......................................................................7-2
7-2
Confirming READY Status ........................................................7-3
7-3
Switching the Program Nos. .....................................................7-4
7-4
Starting Marking........................................................................7-5
7-5
Selecting the Marking Laser and Guide Laser..........................7-6
7-6
Guide Laser ..............................................................................7-8
7-7
Stopping the Marking Laser ......................................................7-9
7-8
Inhibiting Trigger .....................................................................7-10
7-9
Current Value of a Counter .....................................................7-11
7-10 Current Value of Rank.............................................................7-16
MLG9300/V9600RS-M-NO7-E
7-1
7-1
Flow of Operation
This section describes outline of operations to run the system.
Flow of normal operation is shown below.
To run the laser marking system, send the desired commands in accordance with the contents of control you want.
Changing the Mark Data
You can change the character strings, block
coordinates (by referring to chapters 4 and 5),
current values of counters and current values of
ranks as required.
Changing current value of a counter (page 7-11)
Changing current value of a rank (page 7-16)
Switching the marking programs
"GA" command (page 7-4)
7
Sending this command is required only when
the desired program No. that you want to use
for marking is different from the on-going
program No. that is being used for marking.
Confirming the READY status
"RE" command (page 7-3)
Operation
In the case when READY is OFF.
In the case when READY is ON.
Sending the marking start command
"TX" command (page 7-5)
Receiving the "TX" command when marking is
complete
"TX" command (page 7-5)
If you want to change the mark data
If you want to mark the same contents
Before sending the marking start command "TX", be sure to confirm that the controller is in the
READY ON state. If the controller is still in the READY OFF state, marking cannot be started.
Use the READY status check command "RE" to obtain the cause of READY OFF state from its
response message. If an error has occurred, remove the cause of the error and reset the error.
* If no error occurs when the normal response is returned, the READY ON state is established.
7-2
MLG9300/V9600RS-M-NO7-E
7-2
Confirming READY Status
This section describes the procedure to check the controller status (READY
ON/OFF).
Requesting the READY status (RE)
Use this command to confirm the READY status. The "READY ON" state is established when the controller is
ready to start marking.
■ Command
1
Header R E
, Checksum Delimiter
■ Response
1
4
Header R E
,
6
0
, READY State , Checksum Delimiter
Item
Number of bytes
RE
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
1
● Data length is fixed to 1 byte.
0: READY ON
1: READY OFF (An error has occurred or the controller is
under control of terminal block)
2: READY OFF (Program expansion or marking is in progress)
READY State
0/1/2
Total number of bytes
Remarks
6 (4)
■ READY Status
There are three types of response for the READY Status command.
READY Status response
0
1
2
MLG9300/V9600RS-M-NO7-E
READY Status
Description of contents
ON
The marker is in the marking possible state. You can send the marking start
command (TX).
OFF
The controller is in the marking not possible state because an error has
occurred in the laser marker main unit, or the controller is under control of
the input/output terminal block. After confirming the status using the error
check command (EX), take the necessary countermeasures.
OFF
The controller is in the marking not possible state because marking is in
progress, or data expansion is in progress after the set contents of the
program that is being used for marking at present or the program being
registered in index has been changed. Send the READY status request
command (RE) again to confirm the READY ON status. After confirming the
status, start marking.
7-3
7
Operation
Parameter
Identification Code
7-3
Switching the Program Nos.
This section describes the procedure of switching the program Nos. or that
of inquiring the program No. that is being used for running at present.
Switching the Program Nos.
Switching the program Nos. (GA)
Use this command to switch the program Nos. to run the marker.
A maximum of 2000 programs in the range of program Nos. 0000 to 1999 can be registered in the controller.
■ Command
1
4
Header G A
, Program No. , Checksum Delimiter
Item
Parameter
Identification Code
Program No.
Number of bytes
Remarks
GA
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Total number of bytes
7 (6)
■ Response
1
4
Header G A
,
0
, Checksum Delimiter
7
Operation
Requesting program No. (FE)
Use this command to request the program No. that is being used at present to run the marker.
■ Command
1
4
Header F E
, Checksum Delimiter
■ Response
1
4
Header F E
,
6
0
Item
, Program No. , Checksum Delimiter
Parameter
Number of bytes
Identification Code
FE
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Program No.
0000 to 1999
4
● Data length is fixed to 4 bytes.
Total number of bytes
7-4
Remarks
9 (7)
MLG9300/V9600RS-M-NO7-E
7-4
Starting Marking
This section describes the marking start command.
Mark start request (TX)
When the controller receives the command requesting to start marking (TX), marking starts. When marking is
complete, response is returned.
When marking with ML-G Series or MD-V Series, always wear protective goggles.
Class 4 laser product
• Do not look at or touch the direct laser beam or the beam reflected by specular or diffuse reflection.
• Doing so may result in eye or skin injury.
There is a risk of the laser beam causing a fire. Be sure to terminate the path of the laser beam emitted from the ML-G
Series or MD-V Series with a diffuse reflector or absorber with appropriate reflectance and heat absorption characteristics.
• Do not attempt to disassemble the ML-G Series or MD-V Series.
The ML-G Series or MD-V Series does not automatically stop laser emission when the marking unit is disassembled.
Therefore, if someone attempts to disassemble the marking unit, he/she may be exposed to the laser beam and may suffer
eye or skin injury.
• Pay careful attention to the path of the laser beam.
If there is a danger that the operator may be exposed to the laser beam reflected by a specular or diffuse reflection,
interrupt the beam by installing an enclosure with the appropriate reflectance and heat absorption characteristics.
Install the ML-G Series or MD-V Series so that the path of the laser beam is not at the same level as that of the human eye
during operation.
1
Operation
■ Command
Use this command to implement marking using the program No. that is being used at present to run the
marker.
4
Header T X
, Checksum Delimiter
■ Response
When marking is complete, response is returned.
1
4
Header T X
,
0
, Checksum Delimiter
Item
Parameter
Number of bytes
Identification Code
TX
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Total number of bytes
Remarks
4 (3)
• Before sending the marking start command (TX), confirm that the controller is in the READY ON
state. Marking cannot be started while the controller is in the READY OFF state.
"READY status check command (RE)" (page 7-3)
• A response to the marking start command (TX) will not be returned until marking is completed. Set
the "Communication time-out" taking the time required for marking into consideration.
MLG9300/V9600RS-M-NO7-E
7
7-5
7-5
Selecting the Marking Laser and
Guide Laser
This section describes the procedure to have both the marking laser and the
guide laser emitting at the same time, or to only either one of them at a time.
Selecting the Marking Laser and Guide Laser
Only the marking laser is emitting during normal operation.
If you want to have the guide laser emitting tentatively for the purpose of adjusting the marking position, or if you want
to have both the marking laser and guide laser emitting at the same time, perform the operation as described below.
To have only the guide laser emitting tentatively
■ Enabling the guide laser
To have only the guide laser emitting from the normal operating state in which only the marking laser is
energized, follow the steps shown below.
1
Set the guide laser to "ON" using the guide laser setting command (HN).
"Setting Guide Laser (HN)" (page 7-8)
Header H N
2
1
, Checksum Delimiter
Set the marking laser to the STOP state using the marking laser stop command (LQ).
"Setting to Stop (to Resume Emission) of Marking Laser (LQ)" (page 7-9)
Header L Q
7
,
,
1
, Checksum Delimiter
Have only the guide laser emitting by using the mark start command (TX).
Operation
3
"Mark start request (TX)" (page 7-5)
Header T X
, Checksum Delimiter
■ Canceling the Guide Laser
To cancel the guide laser from the state in which only the guide laser is energized, and to have only the
marking laser emitting, follow the steps shown below.
1
Cancel the marking laser inhibition using the marking laser stop command (LQ).
"Setting to Stop (to Resume Emission) of Marking Laser (LQ)" (page 7-9)
Header L Q
2
, Checksum Delimiter
"Setting Guide Laser (HN)" (page 7-8)
,
0
, Checksum Delimiter
Have only the marking laser emitting by using the mark start command (TX).
"Mark start request (TX)" (page 7-5)
Header T X
7-6
0
Set the guide laser to "OFF" using the guide laser setting command (HN).
Header H N
3
,
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-5 Selecting the Marking Laser and Guide Laser
To have both the marking laser and guide laser emitting at the same time
■ Enabling the guide laser
To energize the guide laser too from the operating state in which only the marking laser is emitting, follow the
steps shown below.
1
Set the guide laser to "ON" using the guide laser setting command (HN).
"Setting Guide Laser (HN)" (page 7-8)
Header H N
2
,
1
, Checksum Delimiter
Have both the marking laser and the guide laser emitting simultaneously by using the
marking start command (TX).
"Mark start request (TX)" (page 7-5)
Header T X
, Checksum Delimiter
When only the guide laser is energized, the guide laser beam is emitting to the targeted mark
position. However, when both of the guide laser and the marking laser are emitting
simultaneously, the guide laser beam reaches the target slightly off the mark position due to
different wavelength of light.
7
Operation
MLG9300/V9600RS-M-NO7-E
7-7
7-6
Guide Laser
This section describes the procedure of setting the guide laser.
Setting and Requesting Guide Laser
Setting the guide laser (HN)
Use this command to turn ON or OFF the guide laser.
Guide laser provides the means to confirm the locus of marking laser beforehand.
■ Command
1
4
Header H N
, Laser Status , Checksum Delimiter
Item
Identification Code
Laser Status
Parameter
Number of bytes
HN
2
Fixed
1
0: Guide laser OFF
1: Guide laser ON
0/1
Total number of bytes
Remarks
4 (3)
■ Response
1
7
4
Header H N
,
0
, Checksum Delimiter
Operation
Requesting the guide laser status (GS)
Use this command to request the guide laser status.
■ Command
1
4
Header G S
, Checksum Delimiter
■ Response
1
4
Header G S
,
Item
6
0
, Laser Status , Checksum Delimiter
Parameter
Number of bytes
Identification Code
GS
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1. Error Response" (page 3-2)
Laser Status
0/1
1
0: Guide laser OFF
1: Guide laser ON
Total number of bytes
7-8
Remarks
6 (4)
MLG9300/V9600RS-M-NO7-E
7-7
Stopping the Marking Laser
This section describes the procedure to stop the marking laser or to resume
emission of the marking laser.
Setting and Requesting to Stop the Marking Laser
Setting to Stop (to Resume Emission) of Marking Laser (LQ)
Use this command to enter the marking laser into the stop state. Set the control flag to "1" and send the command.
To cancel the stop state of the marking laser, set the control flag to "0" and send the command. While the marking
laser is in the stop state, the marking laser cannot emit a laser beam, but the guide laser can.
■ Command
1
4
Header L Q
, Control Flag , Checksum Delimiter
Parameter
Number of bytes
Identification Code
Item
LQ
2
Fixed
Control Flag
0/1
1
0: Cancel
1: Stop
Total number of bytes
Remarks
4 (3)
■ Response
1
7
4
Header L Q
0
,
, Checksum Delimiter
Operation
Requesting the marking laser stop state (LS)
Use this command to request the stop state of marking laser.
■ Command
1
Header L
S
, Checksum Delimiter
■ Response
1
4
Header L S
,
6
0
, Control Flag , Checksum Delimiter
Item
Parameter
Number of bytes
Identification Code
LS
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Control Flag
0/1
1
0: Cancelled status
1: Marking laser stop status
Total number of bytes
MLG9300/V9600RS-M-NO7-E
Remarks
6 (4)
7-9
7-8
Inhibiting Trigger
This section describes the procedure to inhibit marking start entry (trigger)
or to cancel it.
Setting and Requesting the Marking Trigger Inhibition
Setting the marking trigger inhibition (canceling the trigger inhibition) (SO)
Use this command to set the trigger-inhibited status. When the controller enters the trigger-inhibited status, the
marking start input (pin-38 on the rear terminal table of the controller) is disabled. At the same time, the marking
start command (TX) cannot be accepted. To establish the trigger-inhibited status, set the control flag to "1" and
send the command. To cancel the trigger-inhibited status, set the control flag to "0" and send the command.
■ Command
1
4
Header S O
, Control Flag , Checksum Delimiter
Item
Identification Code
Control Flag
Parameter
Number of bytes
SO
2
Fixed
1
0: Cancel
1: Inhibit
0/1
Total number of bytes
7
Remarks
4 (3)
■ Response
1
4
Operation
Header S O
,
0
, Checksum Delimiter
Requesting the trigger-inhibited status (SQ)
Use this command to request the trigger-inhibited status.
■ Command
1
4
Header S Q
, Checksum Delimiter
■ Response
1
4
Header S Q
,
0
Item
6
, Control Flag , Checksum Delimiter
Parameter
Number of bytes
Identification Code
SQ
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Control Flag
0/1
1
0: Cancelled status
1: Trigger-inhibited status
Total number of bytes
7-10
Remarks
6 (4)
MLG9300/V9600RS-M-NO7-E
7-9
Current Value of a Counter
This section describes the procedure to set or request the current value of a
counter and the current value of number of times of repetition marking, and
to reset the counter.
Requesting and Changing the Current Value of a Counter
Use the following commands to change or request the current value of a counter.
The counter has the function to implement markings such as serial numbers on workpieces.
Changing the current value of a counter (CM)
Use this command to change the current value of a counter. You can change the current values of multiple
counters simultaneously, starting from any specified counter number.
■ Command
1
4
Header C M
,
9
11
Current Value of a Counter
, Counter No. ,
Program No.
, Checksum Delimiter
If you want to change the current values of multiple counters,
send this data as many times as desired.
Item
Identification Code
Parameter
Number of bytes
Remarks
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Counter No.
0 to 9/A to J
1
Specify the top counter number from which the current
value change starts.
0 to 9: Individual counter
A to J: Common counter
0000000000 to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Set the current value in decimal notation.
•
•
•
—
If you want to change current values of two or more
counters, send the current values of the counters in order
as many times as required.
Current Value
of a Counter
•
•
•
Total number of bytes
Variable
If you want to change current values of two or more counters, be careful that you can change these
values of only the continuing counters having the consecutive counter numbers (no jumping).
■ Response
1
Header C M
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-11
7
Operation
CM
Program No.
7-9 Current Value of a Counter
Requesting the current value of a counter (CN)
Use this command to request the current value of a counter. You can request the multiple numbers of current
values consecutively starting from the specified counter No.
■ Command
1
4
Header C N
,
9
Item
Parameter
Number of bytes
CN
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
0 to 9/A to J
1
Specify the top counter number from which the current
value request starts.
0 to 9: Individual counter
A to J: Common counter
01 to 20
2
● Data length is fixed to 2 bytes.
The former ten counters are the individual counter.
The latter ten counters are the common counters.
Identification Code
Program No.
11
, Counter No. , Requested Number , Checksum Delimiter
Program No.
Counter No.
Requested Number
Total number of bytes
Remarks
12 (9)
■ Response
1
4
Header C N
,
6
0
,
Current Value of a Counter
7
, Checksum Delimiter
When multiple counter Nos. are requested,
this data is returned as many times as requested.
Operation
Parameter
Number of bytes
Identification Code
Item
CN
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
0000000000 to
4294967295
10
● Data length is fixed to 10 bytes.
The current value is sent in decimal notation.
•
•
•
—
If you request current values of two or more counters,
the current values of counters are sent one value after
another continuously as many times as required.
Current Value
of a Counter
•
•
•
Total number of bytes
7-12
Remarks
Variable
MLG9300/V9600RS-M-NO7-E
7-9 Current Value of a Counter
Setting and Requesting the Current Value of Number of Times of Repetition Marking of a Counter
Changing the current value of number of times of repetition marking of a counter (CQ)
Use this command to change the current value of number of times of repetition marking of a counter. You can
change the multiple values from the specified counter No.
■ Command
1
4
Header C Q
9
11
, Counter No. , Current Value of Number of Times of Repetition Marking
Program No.
,
, Checksum Delimiter
If you want to change multiple current values,
send this data as many times as desired.
Item
Parameter
Number of bytes
CQ
2
Fixed
Program No.
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
Specify the top counter number from which changing of
number of times of repetition marking starts.
Counter No.
0 to 9/A to J
1
0 to 9: Individual counter
A to J: Common counter
Current Value of
Number of Times
of Repetition Marking
0000000000
to
4294967295
10
❍ Variable length parameter of 10 bytes or less.
Set the current value in decimal notation.
•
•
•
—
If you want to change the multiple current values of number
of times of repetition marking, send this data as many
times as required.
Identification Code
•
•
•
Total number of bytes
Remarks
Variable
■ Response
1
Header C Q
4
,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-13
7
Operation
If you want to change the current values of number of times of repetition marking of two or more
counters, you can only change these values of only the continuing counters having the
consecutive counter numbers (no jumping).
7-9 Current Value of a Counter
Requesting the current value of number of times of repetition marking of a counter (CR)
Use this command to request the current value of number of times of repetition marking of a counter. You can
request multiple current values of the number of times of repetition marking starting from the specified counter No.
■ Command
1
4
Header C R
,
9
Item
Parameter
Number of bytes
CR
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
0 to 9/A to J
1
Specify the top counter number from which request for the
current value of number of repetition markings starts.
0 to 9: Individual counter
A to J: Common counter
01 to 20
2
● Data length is fixed to 2 bytes.
The former ten counters are the individual counter. The
latter ten counters are the common counters.
Identification Code
Program No.
11
, Counter No. , Requested Number , Checksum Delimiter
Program No.
Counter No.
Requested Number
Total number of bytes
Remarks
12 (9)
■ Response
1
4
Header C R
,
6
0
, Current Value of Number of Times of Repetition Marking
7
, Checksum Delimiter
When multiple counter Nos. are requested,
this data is returned as many times as requested.
Operation
Parameter
Number of bytes
Identification Code
Item
CR
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
0000000000
to
4294967295
10
● Data length is fixed to 10 bytes.
The current value is sent in decimal notation.
•
•
•
—
If multiple current values of the number of times of
repetition marking are requested, this data is returned
consecutively as many times as requested.
Current Value of
Numberof Times of
Repetition Marking
•
•
•
Total number of bytes
7-14
Remarks
Variable
MLG9300/V9600RS-M-NO7-E
7-9 Current Value of a Counter
Resetting the Current Value of Counter and Resetting the Current Value of Number of Times of Repetition Marking
Resetting the respective current values (CZ)
If both of the current value of a counter and the current value of the number of times of repetition marking are
reset, the current value of a counter returns to the top value (in case that the top value and initial value are
different, it returns to initial value) and the current value of the number of times of repetition marking is reset
to "0". You can reset both or either one of the above counters.
■ Command
1
4
Header C
9
Item
Identification Code
Program No.
Counter No.
Parameter
Number of bytes
CZ
2
Fixed
0000 to 1999
4
❍ Variable length parameter of 4 bytes or less.
1
Specify the top counter number from which the current
value change starts.
0 to 9: Individual counter
A to J: Common counter
1
0: Both of the current value of a counter and the current
value of number of times of repetition marking
1: Current value of a counter only
2: Current value of number of times of repetition marking
only
0 to 9/A to J
Reset Conditions
11
, Counter No. , Reset Conditions , Checksum Delimiter
Program No.
Z ,
0/1/2
Total number of bytes
Remarks
11 (8)
7
■ Response
Operation
1
Header C
4
Z ,
0
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-15
7-10
Current Value of Rank
This section describes the procedure of changing and requesting the
current value of rank.
Changing current value of rank (RK)
The rank is the function to classify the workpieces into a maximum of 36 different ranks and to implement the
appropriate markings on the workpieces. Use this command to set the current value of the rank you want to mark.
■ Command
1
4
Header R K
, Current Value of Rank , Checksum Delimiter
Item
Parameter
Identification Code
Current Value of Rank
Number of bytes
Remarks
RK
2
Fixed
00 to 35
2
● Data length is fixed to 2 bytes.
Total number of bytes
5 (4)
■ Response
1
4
Header R K
,
0
, Checksum Delimiter
7
Operation
The ranks apply to all programs as the common values.
Requesting the current value of rank (RM)
Use this command to request the current value of a counter.
■ Command
1
Header R M
, Checksum Delimiter
■ Response
1
4
Header R M
,
6
0
Item
, Current Value of Rank , Checksum Delimiter
Parameter
Number of bytes
Identification Code
RM
2
Fixed
Error Status
0/1
1
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
2
● Data length is fixed to 2 bytes.
Current Value of Rank
00 to 35
Total number of bytes
7-16
Remarks
7 (5)
MLG9300/V9600RS-M-NO7-E
Appendices
Appendices-1 ASCII Code Table .....................................Appendices-2
Appendices-2 Shift-JIS Code Table .................................Appendices-3
Appendices-3 Sample Programs ...................................Appendices-21
Appendices-4 Compatibility of Identification Codes.......Appendices-22
MLG9300/V9600RS-M-APP-E
Appendices-1-1
1
Appendices-
ASCII Code Table
The table below shows the list of ASCII codes.
Low-order 4 bits
High-order 4 bits
Appendices
Appendices-2
MLG9300/V9600RS-M-APP-E
2
Appendices-
Shift-JIS Code Table
The table below shows the list of Shift-JIS codes.
■ JIS level-1 kanji set
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-3
Other Symbols
Shift-JIS Code Table
ShiftJIS
JIS
869E
86AE
86BE
86CE
86DE
86EE
873F
874F
875F
876F
8780
8790
2C20
2C30
2C40
2C50
2C60
2C70
2D20
2D30
2D40
2D50
2D60
2D70
0 1 2 3 4 5 6 7 8 9 A B C D E F
≒ ≡ ∫ ∮ ∑
⊥ ∠
⊿ ∵
Appendices
Appendices-4
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-5
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-6
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-7
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-8
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-9
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-10
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
■ JIS level-2 kanji set
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-11
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-12
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-13
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-14
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-15
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-16
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-17
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-18
MLG9300/V9600RS-M-APP-E
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-19
Shift-JIS Code Table
ShiftJIS
JIS
Appendices
Appendices-20
MLG9300/V9600RS-M-APP-E
3
Appendices-
Sample Program
The sample programs stored in the CD-ROM are created under the
environment of Microsoft ® Visual Basic ® (to be called Visual Basic
hereafter in this manual) 60 Professional Edition.
This appendix contains the sample programs shown below.
ML-G9300 series sample program and MD-V9600 series sample program
Using the following sample programs, you can send changes of character strings of program, switching
of programs and marking start trigger that have already been registered beforehand.
Program list consists of the two forms and one module.
ML-G9300 series sample program and MD-V9600 series sample program
MLG_MDVSample.vbp
Project file of the sample program.
MLG_MDVSample.frm
Form file of the sample program.
MLG_MDVComProtocol.frm
Form file for setting the communication conditions.
MLG_MDVComProtocol.frx
Extension information file of MLG_MDVComProtocol.frm.
MLG_MDVSample.frx
Extension information file of MLG_MDVSample.frm.
MLG_MDVComModule.bas
Standard module in which the procedures related to the data send
and receive are installed.
The communication conditions can be changed as you want using the communication condition setting
screen. (Some conditions are the fixed conditions that cannot be changed.) Note that the error processing is
programmed to stop running the software tentatively as a "Communication error". Please add an appropriate
error processing when the sample programs are referred to.
• Microsoft, Windows and Visual Basic are the registered trademarks of Microsoft Corporation,
United States in United States and other countries.
• KEYENCE Corporation is not liable to any damage or loss that have incurred due to operating
the sample program. Run the sample program at your own risk and responsibility.
MLG9300/V9600RS-M-APP-E
Appendices-21
Appendices
4
Appendices-
Compatibility of Identification Codes
The identification codes of the ML-G9300 series and MD-V9600 series are changed
from the product versions as shown below, for shipments from September 24, 2003.
This section describes the changes in detail and compatibility of identification codes
between the former and new versions.
■ Details of change of identification codes
Former version (old command)
Immediately after the controller receives the sent command, the controller returns a response.
The data expansion occurs and the READY OFF state is established depending on the type of sent command.
If you send the next command while the READY OFF state is set, the command cannot be accepted due to the busy
state (error S009). (Fig. 1)
As shown below, the sequence of command processing should check that the controller is in the READY ON state by
sending the READY status request command. After the READY ON state is confirmed, send the next command. (Fig. 2)
New version (new command)
After the controller has received the sent command and has completed expansion of the received data, the controller
returns a response.
Upon reception of the return, the next command can be sent.
■ Former version
Former version (Sending error)
Time
Former version (Send procedure)
A command is sent.
A command is sent.
Response is returned.
Next command is sent.
(RE) Send
Appendices
Marking data
expansion time
Response is returned.
Marking data
expansion time
READY OFF
Time
(S009) Send
(RE, 0, 1) Send
(RE) Send
BUSY state
Expansion ends.
Expansion ends.
READY ON
Fig. 1
Next command is sent.
(RE, 0, 0) Send
Response is returned.
■ New version
New version (Send procedure)
Fig. 2
A command is sent.
Marking data
expansion time
Time
Response is returned.
Next command is sent.
Appendices-22
Expansion ends.
MLG9300/V9600RS-M-APP-E
Compatibility of Identification Codes
■ Firmware version supporting the new commands and precautions
1. The controller containing the new version of firmware supports programs created using the former commands.
2. The new commands can be used by the controller containing the new version* of firmware only.
* ML-G9300 series
Version 03.00.00
MD-V9600 series Version 02.00.00
Identification Code Compatibility Table
Description
Identification code
Set/Change
Troubleshooting
New
Former
Request
New
Former
Error contents
−
EX
New Program
Start
End
Creating a new Program No.
Registering/Requesting Program contents
XS
YE
Set/Change
Page
Reset
New
Former
FY
EY
3-5、8
Stop
XE
XI
4-5
Request
Delete
Common marking conditions
GO
FO
F1
−
4-6、9
Block conditions
G2
F2
F3
−
4-11、20
Title
G4
F4
F5
−
4-21
Counter conditions
G6
F6
F7
−
4-22、23
−
Common palette conditions
G8
F8
F9
Individual palette conditions
GW
FW
FX
−
Deleting Program contents
−
Changing/Requesting character string
Set/Change
Changing the standard character string
C2
Changing the quick-change character string
B2
H2
4-24、25
4-26、27
GD
FD
4-28
Request
−
−
5-2
−
−
5-3
Registering the quick-change character string
IR
HR
HS
−
5-4
Setting the quick-change character change target
C8
B8
−
−
5-5
B3
−
5-6
−
UY
−
5-7
Set/Change
Request
5-8、9
−
Requesting the setup character string
Requesting marking character string
Changing/Requesting the marking conditions
Individual block
Palette marking
Block coordinate
C0
BO
B1
−
Whole of one setting
AF
ZF
−
−
Coordinate offset
VC
UC
UD
Marking "Yes/No" status
5-10
5-17、18
VK
UK
UL
Block marking flag
C6
B6
B7
−
5-11、12
Processing machinery operation conditions
C4
B4
B5
−
5-13、16
Setup
Set/Change
Request
DA
DC
−
6-2
SL
−
6-3、4
Date and time of internal clock
Installation position correction
TK
SK
5-19、20
Laser operating hours
−
SG
−
6-5
Cumulative mark repetition
TM
TO
−
6-6
Set/Change
Request
Reset
−
RE
−
7-3
FA
FE
−
7-4
−
−
7-5
GN
GS
−
7-8
LS
−
7-9
Operation
READY state check
Switching the Program Nos.
GA
Marking start
Guide laser
Marking laser stop
TX
HN
LQ
Trigger inhibited
SO
SQ
−
7-10
Counter current value
CM
CN
CZ
7-11、12、15
Current value of number of counter repeats
CQ
CR
CZ
7-13、14、15
Changing rank
RK
RM
−
7-16
MLG9300/V9600RS-M-APP-E
Appendices-23
Appendices
Memo
Appendices
Appendices-24
MLG9300/V9600RS-M-APP-E
Index
Index ...........................................................................................Index-2
MLG9300/V9600RS-M-INDEX-E
Index-1-1
Index
2
2D Code ...............................................................4-18
ABC
Index
Absence/presence of checksum............................2-3
ASCII Code Table .................................Appendices-2
Barcode.......................................................4-18, 4-21
Block marking flag [Specify at once] ...................5-22
Block No. .........................................................4-2, 5-2
Cable connection ...................................................1-1
Calendar of internal clock.......................................6-2
Cause of communication error ...............................3-2
Changing and requesting block position ...............5-8
Changing block position (all) ..........................5-10
Changing block position (individual) ................5-8
Requesting block position (individual)..............5-9
Changing and requesting conditions of palette
marking ................................................................5-17
Changing the coordinate offset for palette
marking ...........................................................5-17
Changing marking ready/not ready status
of palette marking ...........................................5-19
Changing marking ready/not ready status
of pallet marking [Specify at once] .................5-23
Requesting marking ready/not ready status
of palette marking ...........................................5-20
Requesting the coordinate offset
for palette marking ..........................................5-18
Changing the block marking flag .........................5-11
Changing the character string of the
Program No. in operation .....................................5-21
Changing character string......................................5-2
Changing current value of rank ............................7-16
[Character string information] of the block
condition setting ..................................................4-20
Setting character string...................................4-20
Update character, logo, custom character,
setting code and the control code in CODE128
and DataMatrix................................................4-20
Checksum .......................................................2-2, 2-3
Checksum calculation method ...............................2-3
Checksum data ......................................................2-3
Circle/Arc/Oval/Oval arc.......................................5-15
Code128 and DataMatrix .....................................4-21
Communication errors ............................................3-7
Communication priority...........................................1-5
Communication protocol .................................2-1, 2-2
Index-2
Communication settings .........................................1-4
Communication settings of external
equipment..............................................................1-4
Communication specifications ........................2-1, 2-7
Compatibility of identification codes...Appendices-22
Confirm the READY status......................................7-3
Confirming the READY status.................................7-3
Correcting Installation Position ...............................6-3
Requesting the installation position correction .6-4
Setting the installation position correction ........6-3
Creating a new program.........................................4-5
Program creation stop command .....................4-5
Program creation end command ......................4-5
Program creation start command .....................4-5
Creating a new program No. ..................................7-4
Cumulative marking repetition................................6-6
Current value of a counter ....................................7-11
Changing the current value of a counter ........7-11
Changing the current value of number of
times of repetition marking of a counter..........7-13
Requesting the current value of a counter......7-12
Requesting the current value of number of
times of repetition marking of a counter..........7-14
Resetting the respective current values..........7-15
Current Value of Rank...........................................7-16
Custom character .................................................4-20
DEF
Dashed line...........................................................5-15
Data structure .........................................................2-2
Deleting program contents...................................4-30
Encoding character string of barcode and
2D code ................................................................4-21
Environmental settings ...........................................6-1
Error cause .............................................................3-5
Error code........................................................3-5, 3-6
Error response ........................................................3-2
Errors ......................................................................3-6
Explanation of palette number..............................5-17
Fixed length parameter ..........................................2-5
Fixed point ............................................................5-15
Flow of operation ....................................................7-2
Changing the mark data ...................................7-2
Confirming the READY status ...........................7-2
Receiving the "TX" command when marking
is completed......................................................7-2
Sending the marking start command................7-2
MLG9300/9600RS-M-IND-E
Index
Switching the marking programs .....................7-2
GHI
Guide laser .............................................................7-8
How to reset error when an error occurs................3-8
How to read the data structure table......................2-4
Data structure....................................................2-4
Detailed data table............................................2-4
Identification code table ............................................3
Inhibiting trigger ...................................................7-10
Interframe time-out error.........................................1-4
Internal clock ..........................................................6-2
Requesting date and time of internal clock ......6-2
Setting date and time of internal clock..............6-2
LMN
Logo ............................................................4-14, 4-20
MARKING BUILDER ...............................................1-4
Marking start coordinate.......................................5-10
Mark start request...................................................7-5
ML Series Communication Compatibility................2-7
Normal response ....................................................3-2
OPQ
Operating conditions of machinery operation
mode.....................................................................5-13
Changing operating conditions of
machinery operation mode .............................5-13
Position information of the machinery
operation mode of operation ..........................5-14
Requesting operating conditions of
machinery operation mode .............................5-16
Operation................................................................7-1
Operation/Error status request ...............................2-9
Operation flow .................................................4-3, 4-4
Character string, barcode, 2D code, logo,
workpiece image and photo .............................4-3
Machinery operation mode ...............................4-4
Oval and oval arc .................................................5-15
Photo.....................................................................4-14
[Position information] of the block condition
setting ..................................................................4-12
Block type (Fixed point) ..................................4-13
Block type (Photo)...........................................4-15
Block types (Counter clockwise-circle/Oval/Arc/
Oval Arc - Clockwise circle/Oval/Arc/Oval arc) ..........4-14
Block types (horizontal marking, vertical marking,
barcode and 2D code) .......................................4-12
Block types (Logo, workpiece image logo photo) ..4-14
Block types (Outer circumference and
inner circumference of arc) .................................4-12
Block types (Straight line and dashed line)........4-13
MLG9300/V9600RS-M-INDEX-E
Horizontal ........................................................4-15
Inner circumference of arc..............................4-15
Block angle and character angle....................4-15
Outer circumference of arc .............................4-15
Vertical marking ..............................................4-15
Priority error ............................................................1-5
Processing machinery operation............................5-7
Program No. ...........................................................4-2
Program No. and block structure ...........................4-2
Quick change of character string...........................5-3
RST
READY status .........................................................7-3
Registering the quick change character ...............5-4
Requesting block conditions ................................4-22
Requesting the block marking flag.......................5-12
Requesting character string ...................................5-6
Command Requesting the character
string as it is actually marked............................5-7
Command Requesting the character
string as originally set......................................5-6
Requesting the marking common conditions.........4-9
Requesting counter conditions.............................4-25
Requesting cumulative number of marking............6-6
Requesting error contents ......................................3-5
Requesting the guide laser status..........................7-8
Requesting the laser operating hours ....................6-5
Requesting the marking laser stop state................7-9
Requesting the trigger-inhibited status ................7-10
Requesting the current value of rank ..................7-16
Requests the title ..................................................4-23
Resetting error ........................................................3-8
RS-232C .................................................................1-2
Connection to external equipment ....................1-2
Signal line specifications......................................2
RS-422A..................................................................1-3
Connection to external equipment ....................1-3
Signal line specifications...................................1-3
Sample Program .................................Appendices-21
Selecting the marking laser and guide laser..........7-6
Canceling the guide laser .................................7-6
Enabling the guide laser ............................7-6, 7-7
To have both the marking laser and
guide laser emitting at the same time ...............7-7
To have only the guide laser emitting
tentatively ..........................................................7-6
Sent command .......................................................3-2
Setting and requesting block conditions..............4-11
Setting and requesting the palette conditions......4-26
Requesting common palette conditions .........4-27
Requesting individual palette conditions ........4-29
Setting common palette conditions.................4-26
Index-3
Index
Index
Index
Setting individual palette conditions ...............4-28
Setting and requesting the marking trigger
inhibition ...............................................................7-10
Setting block conditions .......................................4-11
Setting counter conditions....................................4-24
Setting cumulative of marking repetition ................6-6
Setting the communication conditions ...................2-8
Setting the "Daily" (incrementing the daily counter)....6-7
Setting the "Daily" incrementing time ................6-7
Requesting the "Daily" incrementing time .........6-7
Setting the guide laser............................................7-8
Setting the marking trigger inhibition (canceling the
trigger inhibition)...................................................7-10
Setting the target block of quick change ...............5-5
Setting the common marking conditions ................4-6
Marking direction and parameter......................4-8
Setting of common block ..................................4-8
Trigger delay and the minimum workpiece interval.......4-8
Setting the guide laser............................................7-8
Setting title ............................................................4-23
Setting to stop (to resume emission) of
marking laser ..........................................................7-9
Control flag........................................................7-9
Shift-JIS code table...............................Appendices-3
[Size information] of the block condition
setting .................................................................4-16
Block type (barcode and 2D code) ................4-18
Block types (horizontal marking, vertical
marking,outer circumference of arc and
inner circumference of arc).............................4-16
[Speed information] of the block condition
setting ...................................................................4-16
Straight line...........................................................5-15
Starting Marking .....................................................7-5
Switching the program Nos. ...................................7-4
System configuration and connection ....................1-1
Terminal block control status..................................3-7
Time-out error...........................................1-4, 3-2, 3-4
Time-out time on controller side .............................3-4
Time-out time on external equipment side .............3-4
To Turn ON or OFF the guide laser ........................7-8
Total number of bytes.............................................2-4
Transmission format ...............................................1-3
Troubleshooting......................................................3-1
Types of errors........................................................3-2
Types of header and delimiter................................2-2
Workpiece image logo..........................................4-14
UVW
Update characters................................................4-20
Variable length parameter........................2-4, 2-5, 2-6
Vertical..................................................................4-15
Warning ..................................................................3-7
Index-4
MLG9300/V9600RS-M-INDEX-E
Memo
Index
MLG9300/V9600RS-M-INDEX-E
Index-5
Revision history
Date of printing
Version
Revision contents
July, 2003
Official release
October, 2003
2nd
Identification code is changed.
ML Series Communication Compatibility Table is added
December, 2003
3rd
Setting ranges of the respective parameters of the
MD-V9620 are added.
April, 2004
4th
New commands are added
The command to change the character string of the Program
No. in operation (BL), the command to change the block
marking flag [Specify at once] (D6), the command to change
marking ready/not ready status of pallet marking [Specify at
once] (WK), and the program creation start command (XT) are
added.
Introduction
WARRANTIES AND DISCLAIMERS
The ML-G Series Laser Marker offers high-quality marking using a CO2
laser, whereas the MD-V Series Laser Marker uses a YVO4 laser.
This User's Manual describes the operation procedures for the ML-G Series
or MD-V Series to ensure maximum performance.
Always keep this manual in a safe place for future reference.
Safety Precautions
How to read this manual
This manual describes both the ML-G Series and MD-V Series Laser Markers.
The range of settings described in this manual is for the ML-G Series MLG9310/9311 (standard character type) Laser Marker. Where other models [MLG Series ML-G9320/9321 (small-character type), ML-G9370/9371 (ultra-smallcharacter type), MD-V Series MD-V9600 (standard character type), MD-V9610
(thin line), MD-V9620 (wide area)] have different ranges of settings, the
differences are shown in the remarks column. Refer to the example below.
Example
ML-G 9320/9321: 0.00 to 2.50
9370/9371: 0.00 to 2.50
MD-V 9600: 0.00 to 5.00
9610: 0.00 to 2.50
9620: 0.00 to 5.00
Symbols
The following symbols alert you to important messages.
Be sure to read these messages carefully.
Symbols
Description
Failure to follow instructions may lead to injury (electric shock,
burn, etc).
Failure to follow instructions may lead to product damage.
Indicates an important operating procedure that could easily be
performed incorrectly.
Provides reference materials and useful information on operating
this system.
General Cautions
• At startup and during operation, be sure to continually monitor the
functions and performance of this series.
• We recommend that you take substantial safety measures to avoid injury
or damage in the event of a problem.
• Do not attempt to modify the ML-G Series or MD-V Series, or use it in any
way other than described in the specifications.
• When the ML-G Series or MD-V Series is used in combination with other
instruments, functions and performance may be degraded depending on
the operating conditions and surrounding environment.
The contents of this manual are subject to change without notice.
Trademarks
• Windows is a registered trademark of Microsoft Corporation, U.S.A.
• BarStar Pro module is used for encoding the 2-dimensional code
"DataMatrix". BarStar Pro is a registered trademark of AINIX Corporation,
Japan.
(1) KEYENCE warrants the Products to be free of defects in materials and
workmanship for a period of one (1) year from the date of shipment. If any models or
samples were shown to Buyer, such models or samples were used merely to illustrate
the general type and quality of the Products and not to represent that the Products
would necessarily conform to said models or samples. Any Products found to be
defective must be shipped to KEYENCE with all shipping costs paid by Buyer or
offered to KEYENCE for inspection and examination. Upon examination by KEYENCE,
KEYENCE, at its sole option, will refund the purchase price of, or repair or replace at
no charge any Products found to be defective. This warranty does not apply to any
defects resulting from any action of Buyer, including but not limited to improper
installation, improper interfacing, improper repair, unauthorized modification,
misapplication and mishandling, such as exposure to excessive current, heat,
coldness, moisture, vibration or outdoors air. Components which wear are not
warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products.
They are only suggestions, and it is Buyer's responsibility to ascertain the fitness of the
Products for Buyer's intended use. KEYENCE will not be responsible for any damages
that may result from the use of the Products.
(3) The Products and any samples ("Products/Samples") supplied to Buyer are not
to be used internally in humans, for human transportation, as safety devices or fail-safe
systems, unless their written specifications state otherwise.
Should any Products/Samples be used in such a manner or misused in any way,
KEYENCE assumes no responsibility, and additionally Buyer will indemnify KEYENCE
and hold KEYENCE harmless from any liability or damage whatsoever arising out of
any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE
PROVIDED WITH NO OTHER WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED,
AND STATUTORY WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY
DISCLAIMED. IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE
LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT
LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS
INTERRUPTION, LOSS OF INFORMATION, LOSS OR INACCURACY OF DATA, LOSS
OF PROFITS, LOSS OF SAVINGS, THE COST OF PROCUREMENT OF SUBSTITUTED
GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF
OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN
IF KEYENCE OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE
THIRD PARTY'S CLAIM FOR DAMAGES OR ANY OTHER CLAIM AGAINST BUYER. In
some jurisdictions, some of the foregoing warranty disclaimers or damage limitations
may not apply.
BUYER'S TRANSFER OBLIGATIONS:
If the Products/Samples purchased by Buyer are to be resold or delivered to a third
party, Buyer must provide such third party with a copy of this document, all
specifications, manuals, catalogs, leaflets and written information provided to Buyer
pertaining to the Products/Samples.
ML-G9300 Series/MD-V9600 Series
96M1055
ML-G9300 Series
MD-V9600 Series
RS232C Interface User's Manual
RS232C Interface
User's Manual
Read this manual before using the system in order to achieve maximum
performance.
Keep this manual in a safe place for future reference.
Specifications are subject to change without notice.
KEYENCE CORPORATION
FIGNA Division
2-13, Aketa-cho,Takatsuki-city,
Osaka, 569-0806, Japan
Tel: 072-686-3211
Fax: 072-686-3011
Compatible with MARKING BUILDER version3.1
0044-4 96M1055
Download