Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
96M1055
ML-G9300 Series
MD-V9600 Series
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.
KEYENCE CORPORATION
FIGNA Division
2-13, Aketa-cho,Takatsuki-city,
Osaka, 569-0806, Japan
Tel: 072-686-3211
Fax: 072-686-3011
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.
Laser Classification
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.
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.
MLG9300/V9600RS-M-NO0-E
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.
MLG9300/V9600RS-M-NO0-E
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
XSXT*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
Manual Structure
1
2
3
4
5
6
7
System Configuration
Chapter
Communication
Chapter
Chapter
3
4
Registering, Requesting
Describes the procedures to register, issue requests and delete the program contents with
Chapter
controller.
Frequently-used Change
Commands and Request
Commands
Describes the frequently used commands such as the commands to change character strings
Chapter
Chapter
Environmental Settings
Chapter
Operation
and Connection
Specifications
Troubleshooting
Describes the procedures to check the error contents and to release the error.
or marking conditions.
Appendices
Index
Appendices
Appendices
Index
Index
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
Chapter 1
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
MLG9300/V9600RS-M-NO0-E
Contents
Chapter 5
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
MLG9300/V9600RS-M-NO0-E
Contents
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
Memo
MLG9300/V9600RS-M-NO0-E
Chapter
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.
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.
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.
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.
1-2
Signal name
Description
Signal direction
SD (TXD)
RD (RXD)
Signal ground
SG (GND)
14
Used in RS-422A
15
Used in RS-422A
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.
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
Cable connector
male (25-pins)
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.
Signal name
Description
Signal direction
SDA
RDA
SG (GND)
14
SDB
15
RDB
MLG9300/V9600RS-M-NO1-E
Signal ground
1-3
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-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
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
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
1 to 30000
300
Controller side
Header
Response Delimiter
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
MLG9300/V9600RS-M-NO1-E
1-6
Chapter
MLG9300/V9600RS-M-NO2-E
Communication
Specifications
This chapter describes the communication protocol.
2-1
Communication Protocol...........................................................2-2
2-2
2-3
2-4
2-1
2-1
Communication Protocol
This section describes the data format and data structure of communication
protocol.
Format 1
Header: None, Delimiter: CR (0Dh)
Communication Specifications
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
Program No.
Block No.
Data delimiter
Character string
Checksum Delimiter
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
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.
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
, Checksum ETX
Character Code
Data
Delimiting code
STX G A
47h
41h
2ch
30h
30h
30h
31h
2ch
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
7 ETX
For the checksum calculation program, use the sample program for your reference.
MLG9300/V9600RS-M-NO2-E
2-3
Communication Specifications
2-2
Command
1
Header T
Data
structure
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
Installation position
correction (X)
55.000 to 055.000*1
Installation position
correction (Y)
55.000 to 055.000*1
Installation position
correction ()
000.00 to 359.99
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)
Header T K
, Checksum Delimiter
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
, Checksum Delimiter
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
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"
Command
4
, Checksum Delimiter
, Program No.
Item
Parameter
Number of bytes
GA
Fixed
0000 to 1999
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 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
, Checksum Delimiter
Program No.
MLG9300/V9600RS-M-NO2-E
2-5
Communication Specifications
Header G A
1 0
1 0
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.
05
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
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
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.
Details (command)
Communication Specifications
Flow control
ML communication setting
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
Preset function
2
1
1
Open the [Protocol] text box of the communication setting screen. (Pull down the menu.)
Select the desired protocol: "Keyence Original", "ML9100" type or "ML-9200" type.
2-8
MLG9300/V9600RS-M-NO2-E
Recoverable error
E000
E001
Scanner Error
E002
Shutter Error
E007
E008
System Error
*E013
*E014
*S006
Checksum Error
Format Error
Key-Switch Error
Warning
W000
Software error
*S007
*E016
*S008
*E017
*E018
*E019
T000
Emergency Stop
*E020
T001
Controlling Laser
*E021
No Program Error
T002
Marking Inhibited
*E022
*T003
*E023
*T004
*E024
*T005
Distance Pointer ON
*E025
*E026
Over-Area Error
*E027
*E028
*E029
*E030
*E031
*E032
*E033
*E034
*E035
Restart Error
*E036
*E037
*E038
*E039
*E040
*E041
Communication Specifications
*E015
E100
*:
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
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
3-3
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.
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
Data
, Checksum Delimiter
Header
Identification
code
, Checksum Delimiter
3-2
MLG9300/V9600RS-M-NO3-E
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
S001
S002
S003
S004
S006
Priority Error
S008
No-File Error
S009
Busy Error
S010
S011
S012
S014
S015
S016
S017
S018
S019
S020
S021
S022
S024
S025
Checksum Error
S026
Format Error
S027
S028
S029
S050
S051
S052
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.
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.
Re-sending command
Header C D Delimiter
Normal
Returning response
3-4
MLG9300/V9600RS-M-NO3-E
3-3
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.
Command
Troubleshooting
Header E X
, Checksum Delimiter
Response
1
Header E X
, 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
Fixed
0: Normal operation
1: Error occurs.
Identification Code
Error Status
0/1
Error Cause
Error code
Remarks
When two or more errors occur, response is returned in the following format.
Header E X
MLG9300/V9600RS-M-NO3-E
E 0 0
E 0 0
, W 0 0 0
, Checksum Delimiter
3-5
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
MLG9300/V9600RS-M-NO3-E
WARNING
This WARNING is sent when the controller internal battery voltage drops.
Error code
Error contents
W000
W100*3
W101*3
Error contents
Emergency Stop
T001
Controlling Laser
T002
Trigger Inhibited
T003
T004
T005
Distance Pointer ON
T006
Key-Switch Power ON
T007*4
Controlling LD Temperature
*4
3
Troubleshooting
T000
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
3-7
Command
Header F Y
, Checksum Delimiter
Response
4
Header F Y
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
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
4-3
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.0000
Block A
Block E
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
ABCDEF
G
H
I
JK
LMN
ABCDEF
G
H
JK
LMN I
4-2
MLG9300/V9600RS-M-NO4-E
4-1 Overview
Operation flow of setting (character string, barcode, 2D code, logo, workpiece image and photo)
Setting starts
(page 4-6)
(page 4-6)
(page 5-3)
(page 4-11)
G4 Changing title
G4 Setting title
(page 4-23)
(page 4-23)
(page 4-24)
(page 5-10)
(page 4-26)
(page 5-11)
(page 4-24)
(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 (XSXT) 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
4-1 Overview
Setting starts
G4 Setting title
conditions
(page 4-6)
G4 Changing title
(page 4-23)
(page 4-23)
End of setting
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
Response
4
Response
Header X
Header X
, Checksum Delimiter
Header X
, 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).
Command
Header Y
, Checksum Delimiter
Response
1
Header Y
, Checksum Delimiter
Command
Header X
, Checksum Delimiter
Response
1
Header X
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-5
Header X
4-2
Command
1
Header G
Number of Encoder
Pulses
29
Program No.
11
Movement
Direction
34
Item
Identification Code
Program No.
22
15
Movement
Condition
Trigger Delay
49
57
, Movement Marking Start Position , Movement Marking End Position , Set Common Block ,
66
ContMarkRept
41
60
13
Marking
Direction
73
ContMarkInterval
75
77
Parameter
Number of bytes
G0
Fixed
0000 to 1999
Remarks
Movement Direction
0/1/2/3
0 to 7
Movement Condition
0/1/2
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
Interval
0010.0 to 1200.0
Number of Encoder
Pulses
Time
0000.0 to 0009.9
Trigger Delay
MLG9300/V9600RS-M-NO4-E
Item
Parameter
Number of bytes
Minimum Workpiece
Interval/Fixed Point
Irradiation Time
Movement Marking
Start Position
55.000 to 055.000*2
Remarks
*2
ML-G
55.000 to 055.000*2
00 to 1F
ContMarkRept
00000 to 65535
Time
0000.0 to 0009.9
ContMark Interval
Interval
0001.0 to 1200.0
MD-V
00000 (fixed)
2 (fixed)
0/1
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
, 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
Vertical type
Horizontal type
Marking direction
X
ABC
ABC
Coordinate axes
3
2
6
4
ABC
Y
ABC X Y
0
1
5
7
When "Mirror image: Yes" is selected, the marking as shown below is made.
Entry
Marking
(0,0)
Entry
Marking
(0,0)
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
Fixed to 0.
0 0 0 1 0 0 1 0
1
4-8
MLG9300/V9600RS-M-NO4-E
Command
1
Header F
, Checksum Delimiter
Program No.
Item
Parameter
Number of bytes
F1
Fixed
0000 to 1999
Identification Code
Program No.
Remarks
7 (6)
Response
1
Header F
Moving
Direction
31
10
12
Movement
Condition
63
70
72
Trigger Delay
54
ContMarkRept
74
, Optimized Scan Speed , Scan Optimization Flag , Marking Order Flag , Checksum Delimiter
Item
Identification Code
Error Status
Parameter
Number of bytes
F1
0/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
0 to 7
Movement Condition
0/1/2
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
1: Equal speed
2: Encoder
*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
26
19
Marking Time/Line Speed/
Maximum line Speed
38
Minimum Workpiece Interval/
Fixed Point Irradiation Time
Marking
Direction
Item
Parameter
Number of bytes
0010 to 2000
Remarks
Movement Marking
Start Position
55.000 to 055.000*2
Movement Marking
End Position
55.000 to 055.000*2
00 to 1F
00000 to 65535
ContMarkRept
Time
0000.0 to 0009.9
ContMarkInterval
Distance
0000.0 to 1200.0
00000 (fixed)
2 (fixed)
0/1
*4
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
Header G
Program No.
Block No.
13
16
, Block Type
Position
Information
, Checksum Delimiter
, Speed Information ,
Size Information
Character String
Information
Item
Parameter
Number of bytes
Remarks
G2
Fixed
0000 to 1999
Identification Code
Program No.
Block No.
Block Type
00 to 09 ,1 ,2, 3
Position Information
Speed Information
Size Information
Shift JIS/ASCII
Response
1
Header G
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
4-11
4
Registering, Requesting and Deleting the Program
Command
X-coordinate
17
Y-coordinate
24
Block Angle
Character Angle
Item
4
Registering, Requesting and Deleting the Program
Parameter
Number of bytes
X-coordinate
55.000 to 055.000 *1
Y-coordinate
55.000 to 055.000 *1
Block Angle
000.00 to 359.99
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
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
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*2
Center YCoord
220.00 to 0220.00 *2
ML-G
MD-V
001.00 to 220.00 *3
Starting Angle
000.00 to 359.99
Character Angle
000.00 to 359.99,
360.00
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
Item
Parameter
Number of bytes
Fixed Point
X-coordinate
55.000 to 055.000 *4
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
33
17
25
40
Solid Length
Pitch Length
Parameter
Number of bytes
7
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*5
MD-V
Solid Length
(only dashed line)
00.100 to 55.000 *7
Pitch Length
(only dashed line)
00.100 to 55.000 *7
ML-G
ML-G
MD-V
*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
5.
Block type"07"(Counter clockwise circle, Oval, Arc, Oval arc),"08"(Clockwise circle, Oval, Arc, Oval arc )
1
Center XCoord
Center YCoord
31
17
Item
Center XCoord
Opening Angle
Radius X
Parameter
Block Angle
Number of bytes
-220.00 to 0220.00 *1
Remarks
*1
Center YCoord
-220.00 to 0220.00 *1
Radius X
001.00 to 220.00 *2
ML-G
MD-V
Radius Y
45
38
Starting Angle
24
ML-G
Radius Y
001.00 to 220.00 *2
Starting Angle
000.00 to 359.99
Opening Angle
000.01 to 360.00
Block Angle
000.00 to 359.99
MD-V
X-coodinate
17
Y-coordinate
24
Block Angle
32
Item
X-coodinate
Parameter
Number of bytes
55.000 to 055.000 *3
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*3
Y-coordinate
55.000 to 055.000 *3
Block Angle
000.00 to 359.99
0.200 to 110.000 *4
MD-V
*1 to 4
4-14
0.200 to 110.000 *4
ML-G
ML-G
MD-V
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
X-coodinate
Item
X-coodinate
17
Y-coordinate
24
Block Angle
Parameter
Number of bytes
55.000 to 055.000 *5
, Resolution ,
Reverse
B/W
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*5
ML-G
MD-V
Y-coordinate
55.000 to 055.000 *5
Block Angle
000.00 to 359.99
050 to 800
0/1
Resolution
Reverse B/W
*5
Vertical
Full length
(mm)
Character pitch
(mm)
Character pitch
(mm)
A
B
Character angle
Block Angle
Character pitch ( )
Starting angle ( )
Character pitch ( )
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.
Marking Flag
Approach
Item
Parameter
Marking Flag
Scan Speed
Number of bytes
Remarks
0: Marking is not executed.
1: Marking is executed.
0.00 to 5.00 *1
00001 to 12000 *2
000.0 to 100.0
Marking Power
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.
Approach
Item
Scan Speed
Parameter
Marking Flag
Marking Power
Q-sw Freq
Number of byte
0/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
00001 to 08000 *4
000.0 to 100.0
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.
1. Block type "00" (horizontal marking), "01" (vertical marking), "02" (outer circumference of arc) and "03"
(inner circumference of arc)
1
34
40
23
15
Character Height
Character Width
42
44
30
Skip Cross
Number of Lines
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
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
15
Barcode Height
34
Mark Width
Item
, QR Mode ,
41
Parameter
A: QR password Valid/Invalid
B: Barcode thin line width/2D code cell size
C: Barcode thick-thin ratio/QR version/Symbol size
Remarks
0/1/2/3
0.010 to 1.000
4
Registering, Requesting and Deleting the Program
000.100 to 110.000 *4
0/1
0/1
000000 to FFFFFF
(hexadecimal number)
Cell Size
00.010 to 05.000
4-18
2D Code
00,01 to 05
Mark Width
Error Correction
Rate
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
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
Item
Parameter
Barcode
Thick-Thin Ratio
Thick/Thin Ratio
0.10 to 10.0
QR Version
QR Version
0001 to 0005
Number of bytes
4
Symbol Size
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
Update character, logo and custom character setting code and the control code in CODE128 and DataMatrix.
Update characters
As the update character, the setting codes as listed in the following table are sent in ASCII code.
Type
Replacement
preset
Limit preset
None
Yes
%4TY
Year 4
None
%4Y
Year 2
None
%2Y
%2TY
Year 1
None
Yes
%1Y
%1PY
%1TY
%1PTY
Era Name
None
%02G
%02TG
None
%02M
%02TM
Yes
%2PM
%2PTM
None
%02D
%02TD
Yes
%2PD
%2PTD
None
%02h
%02Th
Yes
%2Ph
%2PTh
None
%02m
%02Tm
Yes
%2Pm
%2PTm
Second
None
%02s
365 days
None
%03X
%03TX
Yes
%3PX
%3PTX
None
%1B
%1TB
Yes
%1PB
%1PTB
Week
Yes
%2PW
%2PTW
Shift Code
Yes
%PS
None
%1R
Yes
%1PR
Month
Day
Hour
Minute
Day of A Week
Rank
* 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
Type
Replacement
Zero
suppression
Flush digits
Align digits
None
Counter
Yes
Remarks
None
Yes
%0kCC
%0kPCC
Automatic
%CC
%PCC
Specify digits
Right align
%kCC
%kPCC
Specify digits
Left align
%kCC
%kPCC
Code
Remarks
%L <Filename>
Custom character
Workpiece image
Photo
*Only a single logo and a single workpiece image can be registered in each block respectively.
ITF
Numerals (0 to 9)
2of5
Numerals (0 to 9)
NW7
(CODABAR)
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
Remarks
*Check digits are not added automatically except for JAN and CODE128.
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
CODE39
Variable
Command
1
Header F
Program No.
Item
Parameter
Number of bytes
F3
Fixed
0000 to 1999
Identification Code
Program No..
Block No.
Remarks
11 (9)
Response
Parameters after the error status bit are identical to those of the program command (G2) setting the block conditions.
9
Header F
, Block Type ,
Position
Information
Speed
Infor mation
, Size Information ,
Character String
Information
, Checksum Delimiter
Item
Parameter
Number of bytes
F3
Fixed
Identification Code
Error Status
Block Type
0/1
Remarks
00 to 09,1,2,3
Position Information
Speed Information
Size Information
Character String
Information
Shift JIS/ASCII
4-22
MLG9300/V9600RS-M-NO4-E
Command
1
Header G
Program No.
Item
Title name
Checksum Delimiter
Number of bytes
G4
Fixed
0000 to 1999
26
Title Name
Remarks
34 (32)
Response
1
Header G
, Checksum Delimiter
Command
1
Header F
Program No.
Item
Checksum Delimiter
Parameter
Number of bytes
F5
Fixed
0000 to 1999
Identification Code
Program No.
Remarks
7 (6)
Response
1
Header F
Item
Title Name
, Checksum Delimiter
Parameter
Number of bytes
Identification code
F5
Fixed
Error status
0/1
26
Title name
MLG9300/V9600RS-M-NO4-E
Remarks
4-23
4
Registering, Requesting and Deleting the Program
Parameter
Identification Code
Program No.
Command
4
Header
11
, Counter No. ,
Program No.
28
17
Step Width
39
63
50
65
Base
, Checksum Delimiter
Parameter
Number of bytes
Remarks
G6
Fixed
Program No.
0000 to 1999
Counter No.
0 to 9
A to J
Step Width
00000 to 10000
0000000000 to
4294967295
10
0000000000 to
4294967295
10
0000000000 to
4294967295
10
Number of Times of
Counter Markings
0000000000 to
4294967295
10
Reset Timing
0/1/2/3/4
Count Timing
0/1
02 to 36
Base
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
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
Command
1
Header F
Program No.
, Checksum Delimiter
Counter No.
Parameter
Identification code
Number of bytes
Remarks
F7
Fixed
Program No.
0000 to 1999
Counter No.
0 to 9
A to J
Variable
Header F
12
Step Width
23
34
45
Response
Parameters after the error status bit are identical to those of the counter condition setting command (G6)
,
56
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
Fixed
Error Status
0/1
Step Width
00000 to 10000
0000000000 to
4294967295
10
0000000000 to
4294967295
10
0000000000 to
4294967295
10
Number of Times of
Markings
0000000000 to
4294967295
10
Reset Timing
0/1/2/3
Count Timing
0/1
02 to 36
Base
MLG9300/V9600RS-M-NO4-E
Variable
4-25
Command
1
Header G
26
11
33
Row Pitch
Item
15
19
Program No.
39
Marking Start
Palette No.
Column Pitch
47
, Checksum Delimiter
Parameter
Number of bytes
G8
Fixed
0000 to 1999
0/1/2/3
0: No palette marking
1: X-direction has priority.
2: Y-direction has priority.
3: Specify order.
Number of Columns
001 to 200
Number of Rows
001 to 200
Column Pitch
00.000 to 65.535
Row Pitch
00.000 to 65.535
Identification Code
Program No.
Scan Direction
Marking Start
Palette No.
00001 to 10000
Reference Position
X-coodinate
55.000 to 55.000*1
Reference Position
Y-coordinate
55.000 to 55.000*1
Remarks
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
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
Command
1
Header F
, Checksum Delimiter
Program No.
Item
Parameter
Number of bytes
F9
Fixed
0000 to 1999
Identification Code
Program No.
Remarks
7 (6)
Response
1
Header F
30
, Scan Direction ,
36
12
16
23
Column Pitch
Row Pitch
44
Item
Number of bytes
F9
Fixed
Error Status
0/1
1/2/3
Number of Columns
001 to 200
Number of Rows
001 to 200
Column Pitch
00.000 to 65.535
Row Pitch
00.000 to 65.535
Scan Direction
Marking Start
Palette No.
00001 to 10000
Reference Position
X-coordinate
55.000 to 55.000*1
Reference Position
Y-coordinate
55.000 to 55.000*1
Remarks
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
Parameter
Identification Code
Command
1
Header G W
Program No.
31
15
Palette No.
17
To mark/
Not to mark flag
23
Palette No.
that is marked next.
39
, Checksum Delimiter
Palette No.
To Mark/Not to Mark
Flag
Parameter
Number of bytes
GW
Fixed
0000 to 1999
00001 to 10000
0/1
Remarks
0001,00001 to 10000
Coordinate Offset
(X-coordinate)
32.768 to 32.767
Coordinate Offset
(Y-coordinate)
32.768 to 32.767
Coordinate Offset
(angle)
180.00 to 0180.00
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.
Variable
Response
1
Header G W
, 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
Command
1
Header F
Program No.
Palette No.
, Checksum Delimiter
Item
Identification Code
Number of bytes
Remarks
FX
Fixed
0000 to 1999
00001 to 10000
Program No.
Palette No.
Parameter
Variable
4
Registering, Requesting and Deleting the Program
Response
1
Header F
To Mark/Not to
Mark flag
22
14
Palette No.
that is marked next.
30
, Checksum Delimiter
Item
Parameter
Number of bytes
Identification Code
FX
Fixed
Error Status
0/1
To mark/Not to Mark
Flag
0/1
Remarks
Palette No.
that is marked next.
0001,
00001 to 10000
Coordinate Offset
(X-coordinate)
32.768 to 032.767
Coordinate Offset
(Y-coordinate)
32.768 to 032.767
Coordinate Offset
(angle)
180.00 to 0180.00
MLG9300/V9600RS-M-NO4-E
Variable
4-29
4-3
Command
1
Header G D
Program No.
, Checksum Delimiter
Item
Identification Code
Program No.
Parameter
Number of bytes
GD
Fixed
0000 to 1999/9999
Remarks
Variable
Response
1
Header G
4-30
, Checksum Delimiter
MLG9300/V9600RS-M-NO4-E
Chapter
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
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
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.
Command
1
Header C 2
Program No.
13
Block No.
Character String
, Checksum Delimiter
Item
Identification Code
Program No.
Block No.
Character String
Parameter
Number of bytes
C2
Fixed
0000 to 1999
Shift JIS/ASCII
Remarks
Variable
Response
1
Header C 2
, 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
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
Exchanging
the data
Marking
Time is reduced.
Command
The maximum number of character strings of a single block is 256 bytes.
1
Header H 2
Block No.
, Checksum Delimiter
, Character String
Parameter
Number of bytes
H2
Fixed
Shift JIS/ASCII
Identification Code
Block No.
Character String
MLG9300/V9600RS-M-NO5-E
Remarks
Variable
5-3
Response
1
Header H 2
, 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)
Command
1
Header I
Item
Identification Code
Quick Change Character
Parameter
Number of bytes
IR
Fixed
Shift JIS/ASCII
Remarks
Variable
Response
1
Header I
, 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)".
Command
1
Header H S
, Checksum Delimiter
Response
1
Header H S
5-4
Item
Parameter
Number of bytes
HS
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
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
, Checksum Delimiter
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.
Header C 8
Program No.
13
Block No.
Target of Quick
Change of Character
, Checksum Delimiter
Item
Parameter
Number of bytes
C8
Fixed
0000 to 1999
Target of Quick
Change of Character
0/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.
Remarks
Variable
Response
1
Header C 8
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-5
Command
5-3
Command
Header B 3
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
Fixed
0000 to 1999
Identification Code
Program No.
Block No.
Remarks
Variable
Response
1
Header B 3
, 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
Shift JIS/ASCII
5-6
Remarks
Fixed
"1" is set when an error occurs.
"3-1 Error Response" (page 3-2)
Variable
MLG9300/V9600RS-M-NO5-E
Command
1
Header U Y
Program No.
Item
Character Code
to be used
, Checksum Delimiter
Number of bytes
UY
Fixed
0000 to 1999
Program No.
Character Code
to be used
0/1
Remarks
13 (10)
Response
1
Header U Y
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
UY
Fixed
Error Status
0/1
Character String as
it is actually marked
Shift JIS/ASCII
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
Parameter
Identification Code
Block No.
13
, Block No. ,
5-4
Command
1
Header C
Program No.
Block No.
13
21
Checksum Delimiter
Item
Identification Code
Program No.
Block No.
Parameter
Number of bytes
C0
Fixed
0000 to 1999
X-coordinate
55.000 to 055.000 *1
X-coordinate
Center X-coordinate
7
Center X-coordinate
22.000 to 022.000 *2
Remarks
Y-coordinate
55.000 to 055.000 *1
Y-coordinate
Center Y-coordinate
7
Center Y-coordinate
22.000 to 022.000 *2
*2
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
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
Command
1
Header B 1
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
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.
Variable
Response
1
14
, Checksum Delimiter
Parameter
B1
Number of bytes
2
0/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
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
Header B 1
Command
1
Header A F
16
Item
Identification Code
Parameter
Number of bytes
Remarks
AF
Fixed
Program No.
0000 to 1999
X-coordinate
Offset Value
110.000 to 0110.000*1
Y-coordinate
Offset Value
110.000 to 0110.000*1
, Checksum Delimiter
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.
Response
1
Header A F
5-10
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-5
Command
1
Header C 6
Program No.
13
, Checksum Delimiter
Number of bytes
C6
Fixed
0000 to 1999
0/1
0: Do not mark.
1: Mark
Program No.
Block No.
Marking Flag
Remarks
Variable
Response
1
Header C 6
, 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
Command
1
Header B 7
Program No.
, Block No.
, Checksum Delimiter
Item
Parameter
Number of bytes
B7
Fixed
0000 to 1999
Identification Code
Program No.
Block No.
Remarks
Variable
Response
1
Header B 7
, 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
Fixed
Error Status
0/1
To mark/Not
to mark flag
0/1
0: Do not mark.
1: mark
5-12
Variable
MLG9300/V9600RS-M-NO5-E
5-6
Command
1
Header C 4
, Program No.
13
, Block No. ,
15
Types of Machinery
Operation Mode
, Checksum Delimiter
Item
Fixed
0000 to 1999
Block No.
Types of Machinery
Operation Mode
0 to 4
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
Variable
Response
1
Header C 4
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-13
Number of bytes
C4
Program No.
Remarks
Parameter
Identification Code
Item
Fixed Ooint Output
X-coordinate
Parameter
Number of bytes
55.000 to 055.000 *1
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*1
55.000 to 055.000 *1
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)
17
25
40
Solid Length
Pitch Length
Item
Start Point
X-coordinate
Parameter
Number of bytes
55.000 to 055.000 *2
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*2
Start Point
Y-coordinate
55.000 to 055.000 *2
End Point
X-coordinate
55.000 to 055.000 *3
End Point
Y-coordinate
55.000 to 055.000 *3
Solid Length
(dashed line only)
00.100 to 055.000 *4
*2 to 4
5-14
00.100 to 055.000 *4
Pitch Length
(dashed line only)
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
3. Types of Machinery Operation Mode "3" (Counter clockwise circle/Oval/Arc/Oval arc) and "4" (Clockwise
circle/Oval/Arc/Oval arc )
1
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
Remarks
Variable length parameter of 7 bytes or less.
Unit: mm
*5
Center Y-coordinate
220.00 to 220.00 *5
Radius X
001.00 to 220.00 *6
001.00 to 220.00 *6
Starting Angle
000.00 to 359.99
Opening Angle
000.10 to 360.00
Block Angle
000.00 to 359.99
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.
Dashed line
End point
Y [mm]
Y [mm]
Pitch length
10
Solid length
Straight line
Fixed point
Start point
3
Start point
2
X [mm]
End point
15
X [mm]
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
*5 to 6
Command
1
Header B 5
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
Fixed
0000 to 1999
Identification Code
Program No.
Block No.
Remarks
Variable
Response
1
Header B 5
, 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
Fixed
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
0/1
Types of
Machinery Operation
Mode
Position Information of
the Machinery
Operation Mode
0 to 4
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
Command
1
Header V C
Program No.
15
Palette No.
23
31
, Checksum Delimiter
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
Fixed
0000 to 1999
00001 to 10000
Coordinate Offset
(X-coordinate)
32.768 to 32.767
Coordinate Offset
(Y-coordinate)
32.768 to 32.767
Coordinate Offset
(angle)
180.00 to 0180.00
Identification Code
Program No.
Variable
Explanation of each
parameter of
coordinate offset
Coordinate offset
(Y-coordinate)
Reference position
of a palette
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
, Checksum Delimiter
MLG9300/V9600RS-M-NO5-E
5-17
Palette No.
Remarks
Command
1
Header U D
Program No.
Palette No.
, Checksum Delimiter
Item
Identification Code
Program No.
Palette No.
Parameter
Number of bytes
UD
Fixed
0000 to 1999
00001 to 10000
Remarks
Variable
Response
1
Header U D
14
Checksum Delimiter
Item
22
Parameter
Number of bytes
Identification Code
UD
Fixed
Error Status
0/1
Coordinate Offset
(X-coordinate)
32.768 to 32.767
Coordinate Offset
(Y-coordinate)
32.768 to 32.767
Coordinate Offset
(angle)
180.00 to 0180.00
Remarks
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
Command
1
Header V K
Program No.
15
Palette No.
, Checksum Delimiter
Item
Identification Code
Program No.
Parameter
Number of bytes
VK
Fixed
Remarks
0000 to 1999
Palette No.
00001 to 10000
To mark/Not
to mark flag
0/1
0: Do not mark.
1: To mark
Variable
Response
1
Header V K
, 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
Command
1
Header U L
Program No.
Item
Identification Code
Program No.
15
Required Number
, Checksum Delimiter
Parameter
Number of bytes
UL
Fixed
0000 to 1999
Remarks
00001 to 10000
Required Number
00001 to 10000
19 (16)
Response
Header U L
, Checksum Delimiter
Parameter
Number of bytes
Identification code
Item
UL
Fixed
Error status
0/1
To mark/Not
to mark flag
0/1
0: Do not mark.
1: To mark
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
Header B L
Block No.
Character String
, Checksum Delimiter
5
Item
Number of bytes
BL
Fixed
Identification Code
Block No.
Character String
Shift JIS/ASCII
Remarks
Variable
Response
1
Header B L
, 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
Parameter
Command
1
Header D 6
Program No.
11
Marking flag
status
Block No.
, Checksum Delimiter
Item
Identification Code
Program No.
Block No.
Parameter
Number of bytes
D6
Fixed
0000 to 1999
0/1
0: Do not mark.
1: Mark
Remarks
Variable
Response
1
Header D 6
, 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
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
Header W K
Program No.
11
Marking ready/not
ready flag status
Pallet No.
, Checksum Delimiter
Item
Identification Code
Program No.
Marking ready/
not ready flag status
Palette No.
Parameter
Number of bytes
Remarks
Fixed
0/1
0: Do not mark.
1: To mark
00000, 00001
to 10000
Variable
Response
1
Header W K
, 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
MLG9300/V9600RS-M-NO5-E
5-24
Chapter
Environmental Settings
This chapter describes the environmental settings of controller.
61
6-2
6-3
6-4
6-5
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.
Command
1
Header D A
Year
Item
Identification Code
12
, Month ,
15
Day
18
Hour
21
Parameter
Number of bytes
DA
Fixed
Remarks
2000 to 2038
Month
01 to 12
Day
01 to 31
Hour
00 to 23
Year
Minute
00 to 59
Second
00 to 59
22 (16)
Environmental Settings
Response
1
Header D A
, Checksum Delimiter
Command
Header D C
, Checksum Delimiter
Response
4
Header D C
Item
11
Year
14
, Month ,
Day
17
20
Hour
23
Parameter
Number of bytes
Identification Code
DC
Fixed
Remarks
Error Status
0/1
2000 to 2038
Month
01 to 12
Day
01 to 31
Year
Hour
00 to 23
Minute
00 to 59
Second
00 to 59
6-2
24 (17)
MLG9300/V9600RS-M-NO6-E
6-2
Command
1
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
Installation Position
Correction (X)
32.500 to 32.500*1
Installation Position
Correction (Y)
32.500 to 32.500*1
180.00 to 180.00
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
Header T K
, 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.
Y
X
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
Command
Header S L
, Checksum Delimiter
Response
1
Header S L
Item
14
22
, Installation Position Correction (X) , Installation Position Correction (Y) , Installation Angle Correction () , Checksum Delimiter
Parameter
Number of bytes
Identification Code
SL
Fixed
Error Status
0/1
Installation Position
Correction (X)
32.500 to 32.500 *1
Installation Position
Correction (Y)
32.500 to 32.500 *1
180.00 to 180.00
Installation Angle
Correction ()
Remarks
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
Command
Header S G
, Checksum Delimiter
Response
1
Header S G
Parameter
Number of bytes
Identification Code
Item
SG
Fixed
Error Status
0/1
00000 to 83333
MLG9300/V9600RS-M-NO6-E
10 (8)
Environmental Settings
Remarks
6-5
6-4
Command
1
Header T M
Item
Parameter
Parameter
Number of bytes
Identification Code
TM
Fixed
Cumulative Marking
Repetition No.
0/1
0000000000
to
4294967295
10
Parameter
, Checksum Delimiter
Remarks
15 (13)
Environmental Settings
Response
1
Header T M
, Checksum Delimiter
Command
1
Header T O
, Checksum Delimiter
Response
1
Header T O
Item
17
Set Data
Set Data
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
TO
Fixed
Error Status
0/1
Set Data
0000000000
to
4294967295
10
Set Data
0000000000
to
4294967295
10
6-6
Remarks
26 (23)
MLG9300/V9600RS-M-NO6-E
6-5
Command
1
Header C S
Incrementing
Time
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
CS
Fixed
Incrementing Time
Remarks
Variable
Environmental Settings
Response
4
Header C S
, Checksum Delimiter
Command
1
Header C T
, Checksum Delimiter
Response
4
Header C T
Incrementing
Time
Item
, Checksum Delimiter
Parameter
Number of bytes
Identification Code
CT
Fixed
Error Status
0/1
Incrementing Time
MLG9300/V9600RS-M-NO6-E
Remarks
Variable
6-7
Memo
6
Environmental Settings
6-8
MLG9300/V9600RS-M-NO6-E
Chapter
Operation
This chapter describes the commands that are required to operate the
system.
7-1
Flow of Operation......................................................................7-2
7-2
7-3
7-4
Starting Marking........................................................................7-5
7-5
7-6
7-7
7-8
7-9
MLG9300/V9600RS-M-NO7-E
7-1
7-1
Flow of Operation
This section describes outline of operations to run the system.
Operation
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
Command
1
Header R E
, Checksum Delimiter
Response
1
Header R E
Item
Number of bytes
RE
Fixed
Error Status
0/1
READY State
0/1/2
Remarks
6 (4)
READY Status
There are three types of response for the READY Status command.
READY Status response
0
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
7-3
7
Operation
Parameter
Identification Code
7-3
Command
1
Header G A
Item
Parameter
Identification Code
Program No.
Number of bytes
Remarks
GA
Fixed
0000 to 1999
7 (6)
Response
1
Header G A
, Checksum Delimiter
7
Operation
Command
1
Header F E
, Checksum Delimiter
Response
1
Header F E
Item
Parameter
Number of bytes
Identification Code
FE
Fixed
Error Status
0/1
Program No.
0000 to 1999
7-4
Remarks
9 (7)
MLG9300/V9600RS-M-NO7-E
7-4
Starting Marking
This section describes the marking start command.
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
Header T X
, Checksum Delimiter
Item
Parameter
Number of bytes
Identification Code
TX
Fixed
Error Status
0/1
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-5
7-5
Set the guide laser to "ON" using the guide laser setting command (HN).
"Setting Guide Laser (HN)" (page 7-8)
Header H N
, 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
, Checksum Delimiter
Have only the guide laser emitting by using the mark start command (TX).
Operation
, Checksum Delimiter
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
, Checksum Delimiter
, 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
Set the guide laser to "OFF" using the guide laser setting command (HN).
Header H N
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
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.
Set the guide laser to "ON" using the guide laser setting command (HN).
"Setting Guide Laser (HN)" (page 7-8)
Header H N
, 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.
Command
1
Header H N
Item
Identification Code
Laser Status
Parameter
Number of bytes
HN
Fixed
0/1
Remarks
4 (3)
Response
1
Header H N
, Checksum Delimiter
Operation
Command
1
Header G S
, Checksum Delimiter
Response
1
Header G S
Item
Parameter
Number of bytes
Identification Code
GS
Fixed
Error Status
0/1
Laser Status
0/1
7-8
Remarks
6 (4)
MLG9300/V9600RS-M-NO7-E
7-7
Command
1
Header L Q
Parameter
Number of bytes
Identification Code
Item
LQ
Fixed
Control Flag
0/1
0: Cancel
1: Stop
Remarks
4 (3)
Response
1
Header L Q
, Checksum Delimiter
Operation
Command
1
Header L
, Checksum Delimiter
Response
1
Header L S
Item
Parameter
Number of bytes
Identification Code
LS
Fixed
Error Status
0/1
Control Flag
0/1
0: Cancelled status
1: Marking laser stop status
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.
Command
1
Header S O
Item
Identification Code
Control Flag
Parameter
Number of bytes
SO
Fixed
0: Cancel
1: Inhibit
0/1
Remarks
4 (3)
Response
1
Operation
Header S O
, Checksum Delimiter
Command
1
Header S Q
, Checksum Delimiter
Response
1
Header S Q
Item
Parameter
Number of bytes
Identification Code
SQ
Fixed
Error Status
0/1
Control Flag
0/1
0: Cancelled status
1: Trigger-inhibited status
7-10
Remarks
6 (4)
MLG9300/V9600RS-M-NO7-E
7-9
Command
1
Header C M
11
, Counter No. ,
Program No.
, Checksum Delimiter
Item
Identification Code
Parameter
Number of bytes
Remarks
Fixed
0000 to 1999
Counter No.
0 to 9/A to J
0000000000 to
4294967295
10
Current Value
of a Counter
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
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-11
7
Operation
CM
Program No.
Command
1
Header C N
Item
Parameter
Number of bytes
CN
Fixed
0000 to 1999
0 to 9/A to J
01 to 20
Identification Code
Program No.
11
Program No.
Counter No.
Requested Number
Remarks
12 (9)
Response
1
Header C N
, Checksum Delimiter
Operation
Parameter
Number of bytes
Identification Code
Item
CN
Fixed
Error Status
0/1
0000000000 to
4294967295
10
Current Value
of a Counter
7-12
Remarks
Variable
MLG9300/V9600RS-M-NO7-E
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
Header C Q
11
Program No.
, Checksum Delimiter
Item
Parameter
Number of bytes
CQ
Fixed
Program No.
0000 to 1999
Counter No.
0 to 9/A to J
0 to 9: Individual counter
A to J: Common counter
Current Value of
Number of Times
of Repetition Marking
0000000000
to
4294967295
10
Identification Code
Remarks
Variable
Response
1
Header C Q
, 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).
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
Header C R
Item
Parameter
Number of bytes
CR
Fixed
0000 to 1999
0 to 9/A to J
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
Identification Code
Program No.
11
Program No.
Counter No.
Requested Number
Remarks
12 (9)
Response
1
Header C R
, Checksum Delimiter
Operation
Parameter
Number of bytes
Identification Code
Item
CR
Fixed
Error Status
0/1
0000000000
to
4294967295
10
Current Value of
Numberof Times of
Repetition Marking
7-14
Remarks
Variable
MLG9300/V9600RS-M-NO7-E
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
Header C
Item
Identification Code
Program No.
Counter No.
Parameter
Number of bytes
CZ
Fixed
0000 to 1999
0 to 9/A to J
Reset Conditions
11
Program No.
Z ,
0/1/2
Remarks
11 (8)
Response
Operation
Header C
Z ,
, Checksum Delimiter
MLG9300/V9600RS-M-NO7-E
7-15
7-10
Command
1
Header R K
Item
Parameter
Identification Code
Current Value of Rank
Number of bytes
Remarks
RK
Fixed
00 to 35
5 (4)
Response
1
Header R K
, Checksum Delimiter
7
Operation
Command
1
Header R M
, Checksum Delimiter
Response
1
Header R M
Item
Parameter
Number of bytes
Identification Code
RM
Fixed
Error Status
0/1
00 to 35
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
Appendices-
Low-order 4 bits
High-order 4 bits
Appendices
Appendices-2
MLG9300/V9600RS-M-APP-E
Appendices-
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-3
Other Symbols
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
Appendices
Appendices-4
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-5
ShiftJIS
JIS
Appendices
Appendices-6
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-7
ShiftJIS
JIS
Appendices
Appendices-8
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-9
ShiftJIS
JIS
Appendices
Appendices-10
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-11
ShiftJIS
JIS
Appendices
Appendices-12
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-13
ShiftJIS
JIS
Appendices
Appendices-14
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-15
ShiftJIS
JIS
Appendices
Appendices-16
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-17
ShiftJIS
JIS
Appendices
Appendices-18
MLG9300/V9600RS-M-APP-E
ShiftJIS
JIS
Appendices
MLG9300/V9600RS-M-APP-E
Appendices-19
ShiftJIS
JIS
Appendices
Appendices-20
MLG9300/V9600RS-M-APP-E
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.
MLG9300/V9600RS-M-APP-E
Appendices-21
Appendices
Appendices-
Time
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
Identification code
Set/Change
Troubleshooting
New
Former
Request
New
Former
Error contents
EX
New Program
Start
End
XS
YE
Set/Change
Page
Reset
New
Former
FY
EY
3-58
Stop
XE
XI
4-5
Request
Delete
GO
FO
F1
4-69
Block conditions
G2
F2
F3
4-1120
Title
G4
F4
F5
4-21
Counter conditions
G6
F6
F7
4-2223
G8
F8
F9
GW
FW
FX
Set/Change
C2
B2
H2
4-2425
4-2627
GD
FD
4-28
Request
5-2
5-3
IR
HR
HS
5-4
C8
B8
5-5
B3
5-6
UY
5-7
Set/Change
Request
5-89
Block coordinate
C0
BO
B1
AF
ZF
Coordinate offset
VC
UC
UD
5-10
5-1718
VK
UK
UL
C6
B6
B7
5-1112
C4
B4
B5
5-1316
Setup
Set/Change
Request
DA
DC
6-2
SL
6-34
TK
SK
5-1920
SG
6-5
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
CM
CN
CZ
7-111215
CQ
CR
CZ
7-131415
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
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
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
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
December, 2003
3rd
April, 2004
4th
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.
96M1055
ML-G9300 Series
MD-V9600 Series
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.
KEYENCE CORPORATION
FIGNA Division
2-13, Aketa-cho,Takatsuki-city,
Osaka, 569-0806, Japan
Tel: 072-686-3211
Fax: 072-686-3011