Table of contents
I. System Configuration (Hardware/Software)
I. Mitsubishi Electric Product Hardware Configuration
II. Mitsubishi Electric Product Software Configuration
III. Keyence Hardware Configuration
IV. Keyence Software Configuration
VIII. Troubleshooting
I. CPU Errors
II. Communication Unit Errors
III. Control Command Execution Errors
IV. AutoID Navigator Connection Errors
0/25
Function
A
B
C
D
Base unit
Power supply unit
CPU unit
Ethernet interface unit
Model
Q35B
Q61P-A1
Q03UDECPU
QJ71E71-100
GX Developer v8.**S
This software is used to configure and program the Mitsubishi Electric PLC.
The software version must be 8 or higher before you can perform operation described in this manual.
Applicable models
Q series, L series, QnA series, A series, and FX series
Communication interface
Serial communication (RS-232C), USB, Ethernet
1/25
2D code reader
SR-600 series
Communicatio
n unit N-L1
LAN cable
OP-66843 or category 5e
or higher STP cross cable
(for direct connection)
2/25
100-120 VAC
BL-1300 or SR-600
Ethernet hub
or switch
N-L1
Ethernet
24 VDC
Note:
The N-L1 cannot be connected to the Ethernet port built in the CPU unit of
the Mitsubishi Electric Q series. A QJ71E71 is required for connection.
3/25
Setting
Baud rate
Parity
Data bits
Stop bit
Multi-drop link
RTS/CTS
Value
Setting
Even
8 bits
1 bit
Disable
Enable
Handshaking
Format length
Checksum
Header
Delimiter
4/25
Value
Disable
None
Excluded
Excluded
None
CR
Setting
Baud rate
Parity
Data bits
Stop bit
Multi-drop link
RTS/CTS
Value
115200 bps
Even
8 bits
1 bit
Disable
Enable
Setting
PLC Link
Handshaking
Format length
Checksum
Header
Delimiter
5/25
Value
Disable
None
Excluded
Excluded
None
CR
Basic setting
Connected device settings
Setting
Value
Setting
Value
IP address
192.168.0.1
IP address
192.168.0.100
Subnet mask
255.255.255.0
Port No.
9004
0. 0. 0. 0
Connection request
Default gateway
Value
Port No.
9004
Setting
Password
RAS
Connection request Disable
Specify any numbers as the IP address and port number.
The PLC setting must match this setting.
6/25
Setting
Baud rate
Parity
Data bits
Stop bit
Value
115200 bps
Even
8 bits
1 bit
TCP transmission timin100
RTS/CTS
Enable
For details on how to manipulate and configure the N-L1, see the N-L1
Technical Guide.
7/25
Engineering
PC
A connector
B connector
USB
PLC series:
PLC Type:
Program type:
Label setting:
Project name:
QCPU(Qmode)
Q03UDE
Ladder
Do not use label
KYE_BL-SR_Ethern * The name shown at left is a sample name.
Note:
Note that the above program is only a sample. Enter values that are appropriate
for the actual system configuration.
8/25
Note:
Note that the above program is only a sample. Enter values that are appropriate for the actual system configuration.
9/25
Ethernet
0000
Network No.
Group No.:
Station No.
Mode:
Online
10/25
Protocol:
Open system:
Fixed buffer communication procedure:
Existence confirmation:
Host station Port No.
Transmission target device IP address:
Transmission target device Port No.:
TCP
Active
No procedure
No confirm
232C
192.168.0.1
232C
By selecting [Enable] for [Pairing open], [Receive] and [Send] are selected
respectively for fixed buffers 1 and 2, and the settings for connection No. 1
are reflected on the settings for connection No. 2.
After all settings are configured, close the window by clicking [End].
Note:
Note that the above program is only a sample. Enter values that are appropriate for the actual system configuration.
11/25
12/25
You can confirm the range of available device numbers by selecting [PLC parameter] - [Device].
13/25
vii. Conversion
When program creation is completed, select [Convert] - [Convert] from the menu.
You can write up to 24 lines without conversion.
Make sure to perform conversion before writing to PLC in step viii. below.
14/25
15/25
M0:
M20:
M110:
D100=0:
F0:
M1100:
When the open instruction turns ON, the "ZP.OPEN" connection open command is executed.
"U0": Unit I/O, K1: number of the connection being opened, D100: command execution type
Upon abnormal command termination, M100 and M101 turn ON and M103 is set (and held).
D101: Check the control data, and solve the problem according to the Q Series documentation.
Connection 1 open instruction
When F0 turns ON, M1100 is
turned ON for one scan.
D100=0
Configure open settings using
parameters.
Upon normal termination of open command execution, M0, M20, and M110 turn ON.
16/25
M102:
F2:
M2000:
M1201:
"U0": Unit I/O, K1: number of the connection being closed, D200: system area (no data set)
Upon abnormal command termination, M200 and M201 turn ON and M203 is set (and held).
D201: Check the control data, and solve the problem according to the Q Series documentation.
When the M0 open completion
signal turns OFF, M1200 is turned
ON for one scan.
Upon normal termination of close command execution, M0 and M20 turn OFF.
17/25
M8001
M40
When code reading is normally completed, it is considered that a signal is received in the fixed buffer.
T0
After confirmation of the presence of a signal, M8001 is reset (released from held status) to end read processing.
If read data does not return within K2 = 0.2 second after code reading
starts, the program considers that a timeout has occurred and resets M8001 (releases it from held status)
to force read processing to terminate.
Code read instruction
When F1 turns ON, M8000 is
turned ON for one scan.
v. Timer ON program
iv. When code read program execution starts, a timer ON command is sent to the code reader.
X19:
M0:
M3000:
Turned ON for one scan when M8001 (code read in progress) turns ON.
The timer command "LON" and the "ZP.BUFSND" data transmission command are executed.
D300:
D301:
D302:
"U0": Unit I/O, K2: number of the transmission-target connection, D3000: system area (no data set)
Upon abnormal command termination, M300 and M301 turn ON and M303 is set (and held).
D3001: Check the control data, and solve the problem according to the Q Series documentation.
If the condition is satisfied, M3000 will
be turned ON for one scan upon the
leading edge of M8001.
18/25
M0:
M4000:
D400:
D401:
D402:
D403:
"U0": Unit I/O, K2: number of the transmission-target connection, D4000: system area (no data set)
Upon abnormal command termination, M400 and M401 turn ON and M403 is set (and held).
D4001: Check the control data, and solve the problem according to the Q Series documentation.
19/25
M0:
M40:
Data being received exists in the fixed buffer. The "ZP.BUFRCV" data reception command is executed.
Before reception starts, 100 words of the previously received data are deleted.
You can freely specify whether to delete the previously received data and the number of data words to be deleted.
"U0": Unit I/O, K1: number of the reception-target connection, D5000: system area (no data set)
D500: Received data (data word count varies depending on the reception status)
Upon abnormal command termination, M500 and M501 turn ON and M503 is set (and held).
D5001: Check the control data, and solve the problem according to the Q Series documentation.
20/25
2. Type "F0" (read execution signal) in the [Device] field and then click the [FORCE ON] button.
21/25
4. Type "M0" in the [Device] field and then click the [Start monitor] button.
5. After confirming that M0 and M20 turn ON, force F0 to turn OFF.
22/25
Sample barcode
* K E Y E N C E *
23/25
VIII. Troubleshooting
I. CPU Errors
If a CPU error occurs, select [Diagnostics] - [PLC diagnostics] from the menu to start the PC diagnostics monitor.
Identify the error that has occurred, and solve the problem according to the Mitsubishi Electric Q Series documentation.
24/25
After open command execution, an M103 (abnormal open command termination) error occurred.
Check D101 (open command completion status), and solve the problem according to the
Mitsubishi Electric Q Series documentation.
ii
After close command execution, an M203 (abnormal close command termination) error occurred.
Check D201 (close command completion status), and solve the problem according to the
Mitsubishi Electric Q Series documentation.
iii After transmission command execution, an M303 or M403 (abnormal transmission command termination) error occurred.
Check D3001 and D4001 (transmission command completion status), and solve the problem
according to the Mitsubishi Electric Q Series documentation.
iv After reception command execution, an M503 (abnormal reception command termination) error occurred.
Check D5001 (reception command completion status), and solve the problem according to the
Mitsubishi Electric Q Series documentation.
9600 bps
Parity
Even
Delimiter
CR
Data bits
7 bits
Header
None
Stop bit
1 bit
115200 bps
Parity
Even
Delimiter
CR
Data bits
8 bits
Header
None
Stop bit
1 bit
25/25
1084-1 600F04