Download as pdf or txt
Download as pdf or txt
You are on page 1of 36

D47GB

Safety Precautions
EtherCAT Compatible
• Do not use this product with the purpose of protecting the
Communication Unit human body or a part of the human body.

SR-EC1 • Do not use this product in an application that may cause death,
serious injury or serious property damage due to a failure with
this product occurring, such as nuclear power plants, on
DANGER
aircrafts, trains, ships, or vehicles, used within medical
PROFINET CC-C Compatible equipment, playground equipment, roller coasters and other
rides, etc.
Communication Unit • Do not use this product in a hazardous location and/or

SR-PN1
potentially explosive atmosphere.
• If the product is used in a manner not specified by this manual,
the protection provided by the product may be impaired.
User’s Manual WARNING
• You must perform a sufficient risk assessment for the machine
where this product is to be installed prior to installing this
product. Provide appropriate protective fail-safe measures on
the machine independent from this product in case a failure with
this product should occur.
When this product is used with a high load and under a high
ambient operating temperature, the surface of the main unit will
CAUTION
become hot. To prevent burns, avoid touching the main unit
without additional protection.

Precautions for wiring


Use power supply which provides overcurrent protection against
WARNING over allowable current. (Up to 16 A for V1 and for V2; up to 24 A for
V1 and V2 combined)
• Check the pin layout of the connection port, and then wire it
correctly.
This manual describes the handling, operation, and precautions for the following • Apply voltage within the rated range when using the product.
products compatible with the KEYENCE SR-X/SR Series of code readers. This product is a communication unit that should be used with a
DC power supply. Do not apply AC voltage. Also, do not use a
load that exceeds the rated range.
• EtherCAT Compatible Communication Unit SR-EC1
• Use an insulated stabilizing power supply.
• PROFINET CC-C Compatible Communication Unit SR-PN1 • Do not apply excessive tensile force to the cable.
NOTICE
• Ensure that the cable tip is not submerged in water during
Read this manual carefully and thoroughly understand its contents in order to take wiring work.
full advantage of the performance and functions of these products. Keep this • Do not place the cables connected to this product together with
manual in a safe place for future reference. power supply cables for other products.
• Isolate the cables as far away as possible from any sources of
noise.
Symbols • Power this device from a dedicated power supply if there is a
possibility of noise or interference from other devices.
The following symbols alert you to important messages. Be sure to read these
messages carefully.

Indicates a hazardous situation which, if not avoided, will result in


DANGER
death or serious injury.
Indicates a hazardous situation which, if not avoided, could result
WARNING
in death or serious injury.
Indicates a hazardous situation which, if not avoided, could result
CAUTION
in minor or moderate injury.
Indicates a situation which, if not avoided, could result in product
NOTICE
damage as well as property damage.

Important Indicates cautions and limitations that must be followed during


operation.

Point
Indicates additional information on proper operation.

Reference Indicates tips for better understanding or useful information.

Indicates the reference pages in this manual or the reference pages in


separate manuals.

Trademarks
• Windows and Visual Studio are trademarks or registered trademarks of Microsoft
Corporation in the United States and other countries.
• EtherCAT® is registered trademark and patented technology, licensed by
Beckhoff Automation GmbH, Germany.

1 GB SR-EC1/PN1 UM
Table of Contents
Safety Precautions ........................................................................... 1

Chapter 1 Before Using the Product


1-1 Description of Package Contents .................................................... 4
1-2 Part Names ....................................................................................... 5

Chapter 2 Connection and Wiring


2-1 Code Reader Connection ................................................................ 8
2-2 Power Supply Connection ................................................................ 8
2-3 Ethernet Connection ......................................................................... 9
2-4 USB Connection ............................................................................... 9
2-5 IN Port Connection ......................................................................... 10
2-6 Installing the Communication Unit ................................................. 10
2-7 Internal Circuit Diagram ................................................................. 11

Chapter 3 AutoID Network Navigator


3-1 Connecting ..................................................................................... 14
3-2 Checking Print Quality .................................................................... 14
3-3 Sending Settings ............................................................................ 15
3-4 Communication Unit Control Commands ....................................... 15

Chapter 4 EtherCAT
4-1 EtherCAT Overview ........................................................................ 18
4-2 Process Data Object Communication ............................................ 19
4-3 Mailbox Communication Overview.................................................. 20
4-4 Error List ......................................................................................... 23
4-5 Operation Examples ....................................................................... 23

Chapter 5 PROFINET
5-1 PROFINET Overview ...................................................................... 26
5-2 Cyclic Communication ................................................................... 26
5-3 Error List ......................................................................................... 29
5-4 Operation Examples ....................................................................... 29

Chapter 6 Specifications
6-1 Specifications ................................................................................. 32
6-2 Dimensions ..................................................................................... 32
6-3 Troubleshooting: When an Error Occurs on the Communication
Unit ................................................................................................. 33
6-4 Precautions on Regulations and Standards ................................... 34
6-5 Software License Agreement ......................................................... 34
6-6 Copyright Indications ..................................................................... 35

GB SR-EC1/PN1 UM 2
1 Before Using the Product

1-1 Description of Package Contents 4


Options 4

1-2 Part Names 5


Part Names and Functions 5
Error Analysis with LEDs 5

D47GB GB SR-EC1/PN1 UM
IN port cables
1-1 Description of Package SR-X300/X100 Series
M12 female to M12 male

Contents M12 male

A Communication
unit

Main unit × 1 M12 waterproof cap × 3 OP-88764 M12 male to M12 male

+
B
SR-2000/1000 Series

M12 male
M12 male to M12 male

B
Instruction manual × 1 (Separate M12 waterproof caps are attached
to the PWR OUT port, the IN port, and the Cable Cable description Model Length
ECAT OUT or ETH2 port.) OP-88776 2m
M12 female (12 pins, straight) -
A OP-88777 5m
M12 male (12 pins, straight)
Attach the included waterproof caps to the connectors that will not OP-88778 10 m
be used. Also, the waterproof specifications of the product are only OP-88779 2m
met when all connectors and waterproof caps are tightened with the M12 male (12 pins, straight) -
B OP-88780 5m
appropriate torque. M12 male (12 pins, straight)
OP-88781 10 m
[With cables connected]
Power supply ports: 0.4 N•m
NOTICE
EtherCAT ports:0.4 N•m
PROFINET ports: 0.4 N•m
IN ports: 0.8 N•m
HEAD port: 0.8 N•m
[With waterproof caps connected]
All ports: 0.1 N•m

Options
Power supply cables
Communication Communication
unit unit

A B

Cable Cable description Model Length


OP-88782 2m
A M12 female (L-code, straight) - strand wires OP-88783 5m
OP-88784 10 m
OP-88785 0.3 m
M12 male (L-code, straight) - M12 female
B OP-88786 2m
(L-code, straight)
OP-88787 10 m

Ethernet cables

Communication Communication
Master
unit unit

A B
RJ45 M12 male M12 male M12 male

Cable Cable description Model Length


OP-87230 2m
A M12 male (D-code, straight) - RJ45 OP-87231 5m
OP-87232 10 m
OP-88788 0.3 m
M12 male (D-code, straight) - M12 male OP-88789 2m
B
(D-code, straight) OP-88790 5m
OP-88791 10 m

GB SR-EC1/PN1 UM 4
SR-PN1
1-2 Part Names
PWR BF SF

Part Names and Functions


SR-EC1 ETH 1 ETH 2

USB Type C Device ID setting switches

EtherCAT ports:
ECAT IN, SD RD
IN port HEAD port ECAT OUT

Power supply ports:


PWR IN,
PWR OUT

 Device ID setting switches

When the unit is normally operating


Setting range: Operating status POWER LED
000 to FFFH
Initial value: 000H Power OFF Off

Power ON (in operation) Solid green

Connected to PC Solid blue


USB Type C Device ID
HEAD LED
SR-PN1 Operating status
SD RD

HEAD sending  Flashing green -

HEAD receiving -  Flashing green


USB Type C

Operating status ECAT IN / ECAT OUT /ETH 1 / ETH 2

Ethernet Link status Solid green


PROFINET ports:
ETH1, Ethernet communication status Flashing green
ETH2
IN port HEAD port
When an error occurs
Power supply ports:
PWR IN, <SR-EC1>
PWR OUT
LED
Operating status
ECAT RUN ECAT ERROR

Error Analysis with LEDs Off Initialization No error

Blinking*1 Pre Operational Invalid Configuration


SR-EC1 Single flash*2 Safe Operational Local Error

Process Data Watchdog Timeout/


ECAT ECAT Double flash*3 -
EtherCAT Watchdog Timeout
PWR ERR RUN ERR
Lit Operational Application controller failure

*1 Blinks once per 200 ms


*2 Repeatedly lights up for 200 ms and turns OFF for 1 s
ECAT IN ECAT OUT
*3 Repeatedly lights up for 200 ms, turns OFF for 200 ms, lights up for 200 ms,
and turns OFF for 1 s

LED
Operating status
POWER ERROR

Send buffer overflow  Flashing yellow  Solid yellow


Error
Other errors*  Flashing green  Solid red

<SR-PN1>
SD RD
LED
Operating status
POWER BF SF

Duplicate IP
 Flashing red  Solid red -
address

Error Send buffer


 Flashing yellow  Solid red -
overflow

Other errors*  Flashing green -  Solid red

* Send the “%ERRSTAT” command to the communication unit to check the


response content.

5 GB SR-EC1/PN1 UM
GB SR-EC1/PN1 UM 6
2 Connection and Wiring

2-1 Code Reader Connection 8


Wiring to the HEAD Port 8

2-2 Power Supply Connection 8


Wiring the Power Supply 8

2-3 Ethernet Connection 9


Wiring the Ethernet Cable 9

2-4 USB Connection 9


Connecting the USB Cable 9

2-5 IN Port Connection 10


Wiring to the IN Ports 10

2-6 Installing the Communication Unit 10


Installation Location 10
Installation Method 10
Grounding 10

2-7 Internal Circuit Diagram 11

7 GB SR-EC1/PN1 UM
2-1 Code Reader Connection 2-2 Power Supply Connection
Connect the SR-X/SR Series to the HEAD port of this communication unit.
Wiring the Power Supply
Wiring to the HEAD Port This communication unit has an input power supply port (IN) and an output power
supply port (OUT). These ports enable daisy chain connections between the
Communication unit pin layout power supplies of different units.

It is also possible to connect two systems of power supplies (V1 and V2) to this
Pin communication unit. However, devices connected to this unit can only be supplied
Name Description
M12 A-code, number power through V1.
12 pins, female 1 24V (V1) 24 V power supply output (V1)

2 3 11 2 0V (V1) Power supply GND (V1) Point


10 Turn the power supply OFF before wiring.
4 3 SGND RS-232C GND
1
4 RXD RS-232C receive
9 5
5 OUT2 Output terminal 2
12 6 Power supply daisy chain connection
8 7 6 OUT1 Output terminal 1
7 IN1 Input terminal 1 When daisy chaining together the power supplies, wire the power supply OUT
8 INCOM IN terminal common terminal (PWR OUT) of the unit that will supply power to the power supply IN
9 OUTCOM OUT terminal common terminal (PWR IN) of the unit that will receive the supplied power.
10 OUT3 Output terminal 3 Power supply
11 IN2 Input terminal 2
12 TXD RS-232C transmit

Install and remove connection cables with the power


NOTICE disconnected. For the reading settings of each code reader, refer
to its user’s manual.

Target code readers


IN OUT IN OUT IN
SR-X300/X100 Series and SR-2000/1000 Series

• The largest current flows from the power supply source to the
power supply connector of the first wired module. Ensure that
the current of the power supply connector of this module is 16 A
or less for V1 and V2, respectively, and is 24 A or less in total for
NOTICE V1 and V2 combined.
• Consider the current consumption of this communication unit
and of the device connected to the communication unit. For the
current consumption of this communication unit, refer to
“General Specifications (Page 32)”.

Communication unit pin layout


PWR IN PWR OUT
(M12 male, L-code) (M12 female, L-code)
FE FE

1 4 4 1

2 3 3 2

Pin number Description


1 24 VDC (V1)
2 GND (V2)
3 GND (V1)
4 24 VDC (V2)

GB SR-EC1/PN1 UM 8
2-3 Ethernet Connection 2-4 USB Connection

Wiring the Ethernet Cable Connecting the USB Cable


Communication unit pin layout 1 Confirm the orientation and insert the connector straight so that it is
not tilted.
ECAT IN/ ETH1 ECAT OUT/ ETH2
(M12 female, D-code) (M12 female, D-code)
1 2
2 3

1 4
4 3

No. Description No. Description


1 TX+ 1 TX+
2 RX+ 2 RX+
3 TX- 3 TX-
4 RX- 4 RX- When connecting, insert the connector straight so it does not tilt.
NOTICE
Otherwise, the connector pin may be damaged.
[SR-EC1]
• Network topologies: ring and line
• ECAT IN (IN port)
Connect this to the OUT port on the master EtherCAT device.
• ECAT OUT (OUT port)
NOTICE Connect this to the IN port on the slave EtherCAT device.
[SR-PN1]
• Network topology: star, ring, and line
• ETH1/2
Normal communication is possible regardless of which ports
the master and slave devices are connected to.

9 GB SR-EC1/PN1 UM
2-5 IN Port Connection 2-6 Installing the
Communication Unit
Wiring to the IN Ports
Connect M12 connector cables. Installation Location
• Do not install this product in a location where it may become
Communication unit pin layout submerged in a liquid. Doing so may lead to electric shock and
damage due to insulation defects.
WARNING
• The shock resistance energy level (IEC 61010-1) of the case is
(M12 female, A-code) 1 J. Do not install this product in environments that directly
1 2
subject it to strong impacts.
• Do not install the product in a location exposed to radiant heat
from a heat source.
4 3
• Install the product in a location that is well ventilated.
NOTICE
5 • Mount on a flat surface. If the surface on which this product will
be mounted is uneven, unnecessary force will be applied to the
communication unit, which may lead to malfunctions.
Pin number Description If there is no load on the connector cable, there are no limitations on the installation
1 24 VDC (V1) orientation or on the distance between the installation location and surrounding objects.
2 IN2
3 GND (V1)
4 IN1
Installation Method
5 (No connection)
To secure the communication unit in place, insert screws into the two holes in the
middle at the top and bottom of the unit or into the holes in the four corners of the unit.
IO device input is applied directly to the IN terminal of the code reader.
Communication unit
Outside of Inside of
communication unit communication unit
24 V(V1)
24 V(V1)

IN1/2
Internal
circuit
M6
0 V(V1) 2.6 N•m or less

M12 A-code, 5 pins


0 V(V1)
Grounding
The following three points conduct with the mounting surface via the mounting screws.
1. Ethernet/EtherCAT connector shell
2. HEAD connector shell
3. Power FE pin
If these parts should not be connected to the mounting surface, use plastic
screws to attach the unit to this surface.

GB SR-EC1/PN1 UM 10
Precautions when communicating with external
devices via USB 2-7 Internal Circuit Diagram
There is conductivity between the 0 V pin of the power supply of the
communication unit and SG of the USB port. Voltage differences with the SG of
external equipment may cause damage to the communication unit and/or the
external equipment. For example, when using a positive ground (grounding on the
24 V side), if a voltage difference occurs, current will flow in the following circuit, 1 24 VDC
possibly leading to device damage. Do not wire devices as shown below. Overcurrent V1
protection 3 GND
PWR IN
External power Communication unit PC or other 4 24 VDC
V2
supply external equipment 2 GND
+24 V +24 V

USB port SG SG USB port 1 24 VDC


0V 0V V1
FG 3 GND
PWR OUT
4 24 VDC

Main circuit
V2
2 GND

Overcurrent 1 24 VDC
protection
V1 IN
3 GND

Overcurrent
protection 1 24 VDC

2 GND
Overcurrent V1 HEAD
protection 8 INCOM
(24 V)
9 OUTCOM
(GND)

11 GB SR-EC1/PN1 UM
GB SR-EC1/PN1 UM 12
3 AutoID Network Navigator

3-1 Connecting 14
Installing AutoID Network Navigator 14
USB Connection 14

3-2 Checking Print Quality 14


Matching Level 14
Code Quality Verification 14
Code Quality Verification Function Settings 14

3-3 Sending Settings 15


Sending Settings 15

3-4 Communication Unit Control Commands 15

13 GB SR-EC1/PN1 UM
3-1 Connecting 3-2 Checking Print Quality
Use AutoID Network Navigator when using the code verification function, using
matching level, and/or analyzing errors. Matching Level
The matching level is a numeric value that indicates how easily the SR-X/SR Series
Generally, the settings of devices that participate in the network via EtherCAT or
read a code. The higher the value, the easier it is to read the code. (The value
PROFINET CC-C communication are configured from the master unit. Configure
ranges from 0 to 100.)
the network settings of this communication unit according to the configuration
procedure of each master unit.

Installing AutoID Network Navigator


98 74
Execute “Setup.exe” in [AutoID Network Navigator] - [Setup] folder of the SR-
H8W, and then install the program by following the instructions on the screen. Matching Level
Set whether or not to use the matching level.
* Refer to the AutoID Network Navigator Specifications: “6-1 Specifications” Judgment
(Page 32). Set the matching level threshold. The Matching Level Unstable bit
Verification threshold
turns on when the reading results are below the threshold.

Important • To install the software, log on as a user with Administrator rights.


• Install “.Net Framework 4.6.1” and “Visual C++ 2017 Runtime (x86)” Code Quality Verification
before you install AutoID Network Navigator. You do not have to
install them again if they are already installed. The code quality verification function verifies the 2D code scanned with the SR-X/
• A screen prompting a restart may be displayed during installation. In SR Series according to a marking quality evaluation specified by a third-party
this case, execute a restart. After restarting, installation resumes institution.
automatically. If installation does not resume, execute [Setup.exe]
again.
• If the UAC (User Account Control) dialog box is displayed during the
installation, click [Continue].
• Exit all active applications before starting the installation. The
installation of the software may be impeded by security software. A F
• To uninstall AutoID Network Navigator, double-click the
corresponding program in the list shown in the following location. Code quality verification
From the [Control Panel] screen, click [Uninstall a program]. You can select from the following verification standards:
• ISO/IEC 15415
• ISO/IEC TR29158(AIM DPM-1-2006)
• ISO/IEC 15416
USB Connection • SAE AS9132

1 Connect the OP-88569 cable to the USB port of the PC.


Verification threshold
Set the threshold for the verification result. The Unstable bit for the
corresponding code quality verification turns on when the reading
2 Double-click the “AutoID Network Navigator” shortcut on the desktop. results are below the threshold.

Code Quality Verification Function Settings


Configuration procedure on code reader side
If the following information is displayed, the connection has been established.
1 Select all the check boxes of the items that you want to verify.

2 Select all the check boxes for adding data to the items that you want
to verify.

3 Click [Send Configuration].

Configuration procedure on communication unit side


1 Select all the check boxes of the items that you want to verify.

2 Click [Send Configuration].

GB SR-EC1/PN1 UM 14
3-3 Sending Settings 3-4 Communication Unit
Control Commands
Send the settings that you have selected with AutoID Network Navigator to the
communication unit. Sending the settings changes the settings on the
communication unit.  Reset
Command
Function Parameter Response
name
Sending Settings Reset %RESET - OK,%RESET

1 Click [Send Configuration]. The communication unit is reset after it outputs a response.

 Send buffer clear


Command
Function Parameter Response
name
Send buffer clear %BCLR - OK,%BCLR
Clear the send buffer of the communication unit.
When the settings are being changed, the display of the
[Send Configuration] icon changes to that shown below.  Saving/loading settings
Command
Function Parameter Response
name
Save settings* %SAVE - OK,%SAVE

2 When a message indicating that the transmission is complete is Load saved settings %LOAD - OK,%LOAD

displayed, click [OK]. Initialize settings %DFLT - OK,%DFLT


* If you turn the power off before executing the %SAVE command, the settings
3 When you finish configuring the settings, click the following button. that you have configured will be discarded.
The communication between AutoID Network Navigator and the
 Other commands
communication unit will be disconnected.
Command
Function Parameter Response
name
OK,%KEYENCE, SR-EC1 or
Version confirmation %KEYENCE - SR-PN1,v
v: Version
OK,%CMDSTAT,m
m = none: No processing
Obtain the command status %CMDSTAT - wait: Wait for setting
application
update: Updating
OK,%EMAC,n
Obtain the MAC address %EMAC -
n=MAC address (12byte)
OK,%ERRSTAT,m
This completes the setting procedure. m = None: No error
system: System error
update: Update error
Important • Communication between the communication unit and a PLC or other Obtain the error status %ERRSTAT -
cfg: Set value error
communication device is enabled when the connection with AutoID ip: IP address duplication
Network Navigator is disconnected. over: Buffer overflow
• Note that data cannot be sent to a PLC or similar device while the profinet: PROFINET error
communication unit is connected to AutoID Network Navigator. OK,%BUSYSTAT,m
m = none: No processing
Obtain the BUSY status %BUSYSTAT - update: Update
processing
file: Saving the file

15 GB SR-EC1/PN1 UM
GB SR-EC1/PN1 UM 16
4 EtherCAT

4-1 EtherCAT Overview 18


What Is EtherCAT? 18
Process Data Object Communication and Mailbox Communication 18
List of Operation-confirmed Master Units 18
SR-EC1 EtherCAT Communication Specifications 18
Usable Functions 18
EtherCAT Master Settings 18

4-2 Process Data Object Communication 19


Process Data Object Communication Overview 19
Assigning Modules 19

4-3 Mailbox Communication Overview 20


Mailbox Communication Overview 20
Object Dictionary 20
Communication Profile Area 20
Input Area 20
Output Area 22

4-4 Error List 23

4-5 Operation Examples 23

17 GB SR-EC1/PN1 UM
EtherCAT Master Settings
4-1 EtherCAT Overview Procedure before EtherCAT Communication
The EtherCAT master configuration required for using the SR-EC1 with an
What Is EtherCAT? EtherCAT system is explained in this section.

EtherCAT is a real-time field bus based on Ethernet. This technology was Point
This manual covers only EtherCAT master functions and settings
developed by the German manufacturer, Beckhoff. To use EtherCAT with the required for communication with the communication unit. For
SR-X300/X100/2000/1000, use the SR-EC1. additional details, refer to the EtherCAT master or applicable
configuration software manual.

Process Data Object Communication and


Mailbox Communication 1 Install the ESI file into the configuration software.
The function of the SR-EC1 in the EtherCAT system is defined by the ESI file.
In EtherCAT, there is Process Data Object communication that handles periodic To set up the SR-EC1 for the first time with the configuration software, install
sending and receiving of data, and there is also Mailbox communication that the ESI file into the configuration software.
handles sending and receiving of commands/responses arbitrarily. Typically
Process Data Object communication is used.
2 Add the SR-EC1 to the EtherCAT system.
Object Dictionary Using the configuration software, add the SR-EC1 to the EtherCAT system.
Typically, the SR-EC1 can be added manually, or automatically by connecting
The Object Dictionary is an information table within the EtherCAT device. This
the SR-EC1 to the EtherCAT system and then scanning the network.
table enables operations between the application and communication sections.

Process Data Object communication 3 Assign the modules to use to slots.


Cyclic communication between the master and slave is possible with Process Using the configuration software, assign the modules for the Process Data
Data Object communication. Objects (PDO) required for the application.
“4-2 Process Data Object Communication” (Page 19)
Mailbox communication
In Mailbox communication, commands and responses are exchanged as Reference The volume of data exchanged and the load can be reduced by not
necessary. assigning unnecessary Process Data Objects as cyclic
communication targets. This product can change the assignment of
Process Data Objects according to the data exchanged over EtherCAT
List of Operation-confirmed Master Units or the number of connected sensors.

4 Assign the objects to the application program’s inputs and outputs.


Manufacturer Master series Software Assign the Process Data Objects to the application program’s inputs and
Bechoff CX-5000, TwinCAT(PC) TwinCAT outputs.
Create a communication program when using the Mailbox communication
Omron NJ-100, NX-100 Sysmac studio
function.
Codesys Codesys(PC) Codesys

5 Set the start-up command.


SR-EC1 EtherCAT Communication Use the configuration software to set the start-up command, for example, the
Specifications SR-EC1 parameters.
Reference With EtherCAT, the values of objects not stored in non-volatile memory
Communication type EtherCAT IO are lost when the power turns OFF, so the slave application sets the
Supported protocol CoE prescribed values when the power turns ON. To ensure that set
operations are always performed, the EtherCAT master can
automatically set values by issuing a CoE start-up command to the
Usable Functions slave.

Function Description
Sync Manager assignments
Controls timing input ON/OFF. SR-EC1 Sync Manager function assignments are as follows.
Timing input control
Timing input with the parameter bank specified is possible. SM: Sync Manager
Data handshake Whether to write read data to the PLC can be controlled.
Size
Errors that occurred on the main unit can be checked. SM Type Overview
(bytes)
Error handling After error factors are eliminated, the SR-EC1 can be restored from the
error state. 0 128 Output Used with Mailbox communication.
Statistical 1 128 Input “4-3 Mailbox Communication Overview” (Page 20)
information Read count and read data update count can be checked. Max.
acquisition 2 Output
260 Used with Process Data Object communication.
Operation status “4-2 Process Data Object Communication” (Page 19)
I/O status can be checked and read data can be acquired. Max.
acquisition 3 Input
274
The following commands can be used on the code reader.
• PRON
• PROFF Meaning of each item
• WP,400 to 404,…
Command • TUNE,b Item Value Meaning
operation control • TQUIT INT Signed integer
• BLOAD
UINT Unsigned integer
• RESET Data type
• BCLR STR(x) Character string (x bytes)
• HCLR BOOL Boolean value
RO Read possible
Attribute RW Read/write possible
WO Write possible
- PDO assignment disabled
PDO
 PDO assignment enabled
- Start-up assignment disabled
Start-up
 Start-up assignment enabled

GB SR-EC1/PN1 UM 18
Sync Manager 3 (TxPDO for device → master)

4-2 Process Data Object Process Data Object map

Index Name
Size
Process Data Object details

Sub Index Name


Data
Attribute
Assignable

Communication (Byte)
0x01 Read Complete
Type
BIT RO
data index
0x6002:01
Result and Status 0x02 Error BIT RO 0x6000:03
0x1A00 3
(Basic) 2byte
0x03 Result Data Size RO 0x6009:03
Process Data Object Communication UINT
0x01 Read Complete BIT RO 0x6002:01
Overview 0x02 Command Complete BIT RO 0x6002:05

This function performs cyclic (constant period) data communication between the 0x03 Error BIT RO 0x6000:03
SR-EC1 and the EtherCAT master. 0x04 Buffer Overflow Error BIT RO 0x6000:04
Sync Managers 2 and 3 are used with Process Data Object (PDO) 0x05 General Error BIT RO 0x6000:05
communication. Part of the data arranged in the Object Dictionary is assigned to a 0x06 IN1 Status BIT RO 0x6004:01
Process Data Object and exchanged. There are two types of process data 0x07 IN2 Status BIT RO 0x6004:02
objects, the RxPDO which sends data from the EtherCAT master to the SR-EC1, 0x08 OUT1 Status BIT RO 0x6004:05
and TxPDO which sends data from the SR-EC1 to the EtherCAT master. 0x09 OUT2 Status BIT RO 0x6004:06
0x0A OUT3 Status BIT RO 0x6004:07
SR-EC1 Result and Status
0x1A01 9 0x0B BUSY BIT RO 0x6001:01
EtherCAT master (Extended)
0x0C MODE BUSY BIT RO 0x6001:04
0x0D ERR BUSY BIT RO 0x6001:05
0x0E READY BIT RO 0x6001:07
Result Data Ready 2byte
0x0F RO 0x6009:01
Count UINT
Constant period Process data Result Data Update 2byte
TxPDO 0x10 RO 0x6009:02
Count UINT
RxPDO 2byte
0x11 Result Data Size RO 0x6009:03
UINT
1byte
0x12 General Error Code RO 0x6007:08
UINT
0x01 Result Data Available BIT RO 0x6000:01
0x02 Result Data Strobe BIT RO 0x6000:02
1byte
0x03 Fragment No. RO 0x6000:09
Result and Status UINT
Assigning Modules 0x1A02
(Handshake)
4
Remaining No. of 1byte
0x04 RO 0x6000:0A
Fragments UINT
Sync Manager 2 (RxPDO for master → device)
1byte
0x05 Fragment Size RO 0x6000:0B
Process Data Object map Process Data Object details UINT
Size Data Assignable 0x01 Unstable BIT RO 0x6005:01
Index Name Sub Index Name Attribute
(Byte) Type data index Matching Level
0x02 BIT RO 0x6005:02
0x01 Read Request BIT RW 0x7000:01 Unstable
Control Data
0x1600 1 0x02 Read Complete Clear BIT RW 0x7001:01 ISO/IEC 15415
(Basic) 0x03 BIT RO 0x6005:03
0x03 Data and Error Clear BIT RW 0x7001:07 Unstable

0x01 Read Request BIT RW 0x7000:01 0x04 AIM DPM Unstable BIT RO 0x6005:04

0x02 Read Complete Clear BIT RW 0x7001:01 SAE AS9132


0x05 BIT RO 0x6005:05
Unstable
0x03 Data and Error Clear BIT RW 0x7001:07 Matching Level and
0x1A03 ISO/IEC 15416
0x04 Command Request BIT RW 0x7000:06 Code Quality 5 0x06 BIT RO 0x6005:06
Verification Unstable
Control Data Command Request
0x1601 3 0x05 BIT RW 0x7001:06 1byte
(Extended) Complete Clear 0x07 Matching Level RO 0x6006:01
UINT
1byte
0x06 Bank Number RW 0x7003:01 1byte
UINT 0x08 ISO/IEC15415 Grade RO 0x6006:02
UINT
1byte
0x07 User Data Size RW 0x7004:01 1byte
UINT 0x09 AIM DPM Grade RO 0x6006:03
UINT
Control Data Result Data
0x1602 1 0x01 BIT RW 0x7002:01 1byte
(Handshake) Acknowledgement 0x0A ISO/IEC15416 Grade RO 0x6006:04
UINT
User Data User Data ARRAY
0x1610 8 0x01 RW 0x7005:01 Result Data Result Data ARRAY
(max 8Bytes) (max 8Bytes) OF BYTE 0x1A10 8 0x01 RO 0x600A:01
(max 8Bytes) (max 8Bytes) OF BYTE
User Data User Data ARRAY
0x1611 16 0x01 RW 0x7006:01 Result Data Result Data ARRAY
(max 16Bytes) (max 16Bytes) OF BYTE 0x1A11 16 0x01 RO 0x600B:01
(max 16Bytes) (max 16Bytes) OF BYTE
User Data User Data ARRAY
0x1612 32 0x01-0x02 RW 0x7007:01 Result Data Result Data ARRAY
(max 32Bytes) (max 30Bytes) OF BYTE 0x1A12 32 0x01-0x02 RO 0x600C:01
(max 32Bytes) (max 30Bytes) OF BYTE
User Data User Data ARRAY
0x1613 64 0x01-0x03 RW 0x7008:01 Result Data Result Data ARRAY
(max 64Bytes) (max 30Bytes) OF BYTE 0x1A13 64 0x01-0x03 RO 0x600D:01
(max 64Bytes) (max 30Bytes) OF BYTE
User Data User Data ARRAY
0x1614 128 0x01-0x05 RW 0x7009:01 Result Data Result Data ARRAY
(max 128Bytes) (max 30Bytes) OF BYTE 0x1A14 128 0x01-0x05 RO 0x600E:01
(max 128Bytes) (max 30Bytes) OF BYTE
User Data User Data ARRAY
0x1615 256 0x01-0x09 RW 0x700A:01 Result Data Result Data ARRAY
(max 256Bytes) (max 30Bytes) OF BYTE 0x1A15 256 0x01-0x09 RO 0x600F:01
(max 256Bytes) (max 30Bytes) OF BYTE
*1 Control Data (Basic) and Control Data (Extended) cannot be used at the same
time.
*2 Setting Control Data (Handshake) enables the handshake function. In all other
situations, the handshake function is disabled.
*3 Select the User Data size from the options from 0x1610 to 0x1615.

19 GB SR-EC1/PN1 UM
Input Area
4-3 Mailbox Communication Input address PLC ← SR-EC1
Overview Index: 0x6000
Module name: Handshake and General Error Status
Sub Data
Mailbox Communication Overview Index
Name Description
type
Attribute Data description

Result Data This displays whether read 0: No read data


This function performs acyclic data communication between the EtherCAT master 0x01 BIT RO
Available data exists or not.*1 1: Read data available
and the SR-EC1. Sync Managers 0 and 1 are used with this function. All data 0 → 1: Read data
arranged in the Object Dictionary can be exchanged. Result Data This turns ON when read update
0x02 BIT RO
For details on the commands and function blocks used in Mailbox communication, Strobe data update is complete.*1 complete
refer to the EtherCAT master manual. 1 → 0: -
This bit turns ON when the
0: No error
0x03 Error “Buffer Overflow Error” or BIT RO
1: Error
Object Dictionary “General Error” bit turns ON.
Buffer This turns ON when a buffer 0: No error
0x04 BIT RO
Items such as all SR-EC1 settings, the SR-EC1 status, and the status of code Overflow Error overflow error occurs. 1: Error
readers connected to the SR-EC1 are grouped and arranged in the Object This turns ON when a
communication or main unit
Dictionary as objects. Each object is addressed with a 16-bit index written as a
error occurs. It does not turn
4-digit hexadecimal value. ON when a buffer overflow 0: No error
0x05 General Error BIT RO
error occurs. 1: Error
An overview of the Object Dictionary specified with CoE (CANopen over When this turns ON, an error
EtherCAT) is given below. code is output to “General
Error Code.”
Index (HEX) Object Description This represents the fragment 1byte 0 to 255 : Fragment
0x09 Fragment No. RO
0000 to 0FFF Data Type Area* number of the read data.*1 UINT number
This represents the number
Setting area for identification Remaining No. 1byte 0 to 255 : Remaining
0x0A of remaining fragments of RO
information, EtherCAT communication of Fragments UINT fragments
1000 to 1FFF Communication Profile Area the read data.*1
function settings, process data
assignments, etc. This represents the size of 1byte 0 to 255 : Result Data
0x0B Fragment Size RO
fragments of the read data.*1 UINT Fragment Size
6000 to 6FFF Input Area Input process data area
*1 Used only when handshake is enabled.
7000 to 7FFF Output Area Output process data area • Handshake is a communication procedure to make the permission system
* Not used with this device. This area is reserved for the system. for read data writing.

Reference In each index, the parameter of an object having a sub-index 0


Index: 0x6001
indicates the number of objects (number of entries) in that index. The
Module name: Busy Status
number of entries can be used when retrieving a list of data with the
program, etc. Sub Data
Name Description Attribute Data description
Index type
This bit turns ON when any
0: -
Communication Profile Area 0x01 BUSY of the following BUSY bits BIT RO
1: BUSY state
turn ON.
This area stores information for communication such as device information for the This represents the MODE 0: -
0x04 MODE BUSY BIT RO
SR-EC1 units in the EtherCAT system. BUSY state. 1: MODE BUSY state
This represents the ERR 0: -
Sub Data 0x05 ERR BUSY BIT RO
Index Name Description Attribute PDO Value BUSY state. 1: ERR BUSY state
Index type
This represents the READY
Indicates the 0: -
4byte 00001389H(5001) 0x07 READY state. This continues to be BIT RO
1000H - Device type device type of the RO - 1: READY state
UINT Modular Device ON in non-“BUSY” states.
product.
Indicates the model
1008H - Device name STR(7) RO - SR-EC1 Index: 0x6002
of the product.
Indicates the Module name: Completion Status
1009H - Hardware version hardware version of STR(8) RO - V1.00
Sub Data
the product. Name Description Attribute Data description
Index type
Indicates the Read This turns ON when reading 0: -
100AH - Software version software version of STR(8) RO - V1.00 0x01 BIT RO
Complete is complete.*1 1: Complete*2
the product.
This turns ON when
Identity Object Command 0: -
0x05 command execution is BIT RO
Complete 1: Complete
4byte complete.
01H Vendor ID Vendor ID RO - 00000541H(1345)
UINT
*1 This bit also turns ON when the character string of “ERROR” is output when a
4byte
02H Product code Product code RO - 000003E8H(1000) reading error occurs.
UINT
1018H *2 This returns to 0 when the applicable clear bit is set to ON or when the Output
4byte
03H Revision number Revision number RO - 00000001H Area “Reading Start Request” bit is set to ON.
UINT
4byte
04H Serial number Serial number RO - ********
UINT

GB SR-EC1/PN1 UM 20
Index: 0x6004 Index: 0x6009
Module name: Terminal Status Module name: Read Result Status
Sub Data Sub Data
Name Description Attribute Data description Name Description Attribute Data description
Index type Index type
This represents the IN1 0: OFF Result Data 2byte
0x01 IN1 Status BIT RO 0x01 Read data ready count RO 0 to 65535*1
terminal status. 1: ON Ready Count UINT
This represents the IN2 0: OFF Result Data 2byte
0x02 IN2 Status BIT RO 0x02 Read data update count RO 0 to 65535*1
terminal status. 1: ON Update Count UINT
This represents the OUT1 0: OFF Result Data 2byte
0x05 OUT1 Status BIT RO 0x03 Read data length RO 0 to 65535*2
terminal status. 1: ON Size UINT
This represents the OUT2 0: OFF *1 If the count is 65535, it will be reset to 0 when the next read data arrives.
0x06 OUT2 Status BIT RO
terminal status. 1: ON *2 When the header, terminator, and append data are set to the read data of the
This represents the OUT3 0: OFF code reader, the header, terminator, append data, and inter-delimiter are also
0x07 OUT3 Status BIT RO
terminal status. 1: ON
output. [CR] has been set to the terminator as the default setting. Accordingly,
• When checking the writing of read data, use the “Read Complete” bit, not the [CR] is appended after the read data for output.
OUT1 to OUT3 statuses. Depending on the communication load, the ON • The read data is cleared each time that a code is read.
statuses of the OUT terminals and reading completion may not be synchronized.
Index: 0x600A
Index: 0x6005 Module name: Result Data 8 Byte
Module name: Unstable Read Status
Sub Data
Name Description Attribute Data description
Sub Data Index type
Name Description Attribute Data description
Index type ARRAY
Unstable reading status 0: Stable Result Data OF
0x01 Unstable BIT RO 0x01 Read data (8 bytes) RO Read data
OR of each Unstable 1: Unstable (8Byte) BYTE
Matching [0...7]
Matching level judgment 0: Stable
0x02 Level BIT RO
result unstable 1: Unstable
Unstable
Index: 0x600B
ISO/IEC Module name: Result Data 16 Byte
ISO/IEC 15415 verification 0: Stable
0x03 15415 BIT RO
result unstable 1: Unstable
Unstable Sub Data
Name Description Attribute Data description
Index type
ISO/IEC TR
AIM DPM 0: Stable
0x04 29158 (AIM DPM) BIT RO ARRAY
Unstable 1: Unstable
verification result unstable Result Data OF
0x01 Read data (16 bytes) RO Read data
SAE AS9132 SAE AS9132 verification 0: Stable (16Byte) BYTE
0x05 BIT RO [0...15]
Unstable result unstable 1: Unstable
ISO/IEC
ISO/IEC 15416 verification 0: Stable
0x06 15416 BIT RO Index: 0x600C
result unstable 1: Unstable
Unstable Module name: Result Data 32 Byte
Sub Data
Index: 0x6006 Name Description Attribute Data description
Index type
Module name: Matching Level and Total Evaluation Grade Status ARRAY
Result Data OF
Sub Data 0x01 Read data (32 bytes) RO Read data
Name Description Attribute Data description (32Byte) BYTE
Index type
[0...31]
Matching 1byte
0x01 Matching level RO 100 to 0*1
Level UINT
4 : A*1 Index: 0x600D
3 :B Module name: Result Data 64 Byte
ISO/IEC ISO/IEC 15415 total 1byte
0x02 RO 2 :C
15415 Grade evaluation grade UINT Sub Data
1 :D Name Description Attribute Data description
Index type
0 :F
*1 ARRAY
4 :A
Result Data OF
3 :B 0x01 Read data (64 bytes) RO Read data
AIM DPM ISO/IEC 29158 total 1byte (64Byte) BYTE
0x03 RO 2 :C
Grade evaluation grade UINT [0...63]
1 :D
0 :F
4 : A*1 Index: 0x600E
3 :B Module name: Result Data 128 Byte
ISO/IEC 15416 total evaluation 1byte
0x04 RO 2 :C
15416 Grade grade UINT Sub Data
1 :D Name Description Attribute Data description
Index type
0 :F
ARRAY
Result Data
*1 When multiple codes are read, this is not shown. 0x01 Read data (128 bytes) OF BYTE RO Read data
(128Byte)
When the “Read Complete Clear” bit or the “Data and Error Clear” bit in Output [0...127]
Area is turned ON, the value returns to 0.
Index: 0x600F
Index: 0x6007 Module name: Result Data 256 Byte
Module name: Operation Result Status
Sub Data
Name Description Attribute Data description
Sub Index type
Name Description Data description
Index ARRAY
Result Data
General Error The error code is output to the 0x01 Read data (256 bytes) OF BYTE RO Read data
0x08 Error code* (256Byte)
Code applicable location. [0...255]
* For error codes, refer to “4-4 Error List” (Page 23). * Select Result Data 8 Byte, Result Data 16 Byte, Result Data 32 Byte, Result Data
64 Byte, Result Data 128 Byte, or Result Data 256 Byte.

21 GB SR-EC1/PN1 UM
Index: 0x7005
Output Area Module name: User Data 8 Byte

Output address PLC → SR-EC1 Sub


Name Description
Data
Attribute Data description
Index type
Index: 0x7000 ARRAY
Module name: Read Request and Control User Data OF User Data
0x01 User data (max. 8 bytes) RW
(8Byte) BYTE (max 8 Bytes)
Sub Data [0...7]
Name Description Attribute Data description
Index type
0 → 1: Start reading
0x01 Read Request Reading start request*1 BIT RW Index: 0x7006
1 → 0: Stop reading
Module name: User Data 16 Byte
0 → 1: Start command
Command execution Sub Data
0x06 Command start request*2*3 BIT RW Name Description Attribute Data description
Request 1 → 0: Stop command Index type
execution ARRAY
*1 When specifying a bank, specify a value in the Parameter Bank Number module. User Data OF User Data
0x01 User data (max. 16 bytes) RW
(16Byte) BYTE (max 16 Bytes)
*2 Read Request and Command Request cannot be used at the same time.
[0...15]
*3 The following commands can be used.
• PRON
• PROFF Index: 0x7007
• WP,400 to 404,… Module name: User Data 32 Byte
• TUNE,b Sub Data
Name Description Attribute Data description
• TQUIT Index type
• BLOAD ARRAY
• RESET User Data OF User Data
0x01 User data (max. 32 bytes) RW
(32Byte) BYTE (max 32 Bytes)
• BCLR
[0...31]
• HCLR

Index: 0x7008
Index: 0x7001
Module name: User Data 64 Byte
Module name: Clear Status, Data, and Error
Sub Data
Sub Data Name Description Attribute Data description
Name Description Attribute Data description Index type
Index type
ARRAY
Read
0 → 1: Complete clear User Data OF User Data
0x01 Complete Reading complete clear*1 BIT RW 0x01 User data (max. 64 bytes) RW
1 → 0: - (64Byte) BYTE (max 64 Bytes)
Clear
[0...63]
Command
Request Command operation 0 → 1: Complete clear
0x06 BIT RW Index: 0x7009
Complete complete clear 1 → 0: -
Clear Module name: User Data 128 Byte
Data and 0 → 1: Error clear
0x07 Error status and data clear*2 BIT RW Sub Data
Error Clear 1 → 0: - Index
Name Description
type
Attribute Data description

*1 When Complete bits are cleared, Error/Failure bits of each operation are also ARRAY
cleared. User Data OF User Data
0x01 User data (max. 128 bytes) RW
*2 The following error statuses and data are cleared. (128Byte) BYTE (max 128 Bytes)
[0...127]
• Buffer overflow error
• General error
• Result data acquisition count Index: 0x700A
• Result data update count Module name: User Data 256 Byte
• Result data stored in the transmission buffer Sub Data
Name Description Attribute Data description
• Matching level Index type
• Code quality verification result ARRAY
User Data OF User Data
0x01 User data (max. 256 bytes) RW
Index: 0x7002 (256Byte) BYTE (max 256 Bytes)
[0...255]
Module name: Hand Shake
Sub Data
Name Description Attribute Data description
Index type
0 → 1: Writing to result
Result Data
Result data update data device
0x01 Acknowledgement BIT RW
permitted*1 permitted
(Result Data Latch)
1 → 0: -

*1 This functions only when handshake is enabled.

Index: 0x7003
Module name: Bank Number*1
Sub Data
Name Description Attribute Data description
Index type
1byte
0x01 Bank Number Bank number for reading RW 1 to 16: Bank number
UINT
*1 Input a bank number here, and then start reading. Then, reading is performed
with the bank number specified.
If reading is started with a value other than 1 to 16 input, the alternate reading
will be performed.

Index: 0x7004
Module name: User Data Size
Sub Data
Name Description Attribute Data description
Index type
User Data 1byte
0x01 User data size*1 RW 0 to 255: User data size
Size UINT
*1 Terminator is not necessary.

GB SR-EC1/PN1 UM 22
4-4 Error List 4-5 Operation Examples
Example 1) Trigger method: Level trigger. Handshaking: Disabled.
Error code Error Meaning
0 No error Reading success/operation success Input : PLC ĸ SR-EC1
ĸ
Refer to “Return of Command Error Code” in Output : PLC ĺ SR-EC1
ĺ
the SR-X Series User’s Manual. 100 is added
100 to 199 Command error Direction Signal name When reading is successful When reading fails
to each listed error code to obtain the Output
ĺ Read request
displayed value. Barcode/2D code
Read Complete
Another operation instruction was received
Control instruction reception Input
Read Complete
120 during operation. (Operation instruction is not ĸ
error Output
executed.) ĺ Read Complete Clear
Input
User Data specification is invalid. (Specified ĸ OUT1 Status(OK)
220 User Data error
size is outside the range.) Input
OUT2 Status(ERROR)
ĸ
Shortage of specified size (The size of Result Input
Read Data Ready Count
230 EtherCAT data update error ĸ m m+1 m m+1

Data is beyond the limit.) Input


ĸ Read Data Update Count m m+1 m m+1

Input
ĸ Result Data Read data ERROR

1 “Read request” is set to ON (1).


2 When “Read request” goes ON (1), the HEAD connected to the SR-EC1
starts reading.
3 When the code is read, its data is written into “Result Data.” Then “Read
Complete” goes ON (1).
4 “Read request” is set to OFF (0).
5 It is confirmed that “Read Complete” is ON (1), and then “Read Complete
Clear” is set to ON (1).
6 When “Read Complete Clear” is set to ON (1), “Read Complete” is set to
OFF (0).
7 It is confirmed that “Read Complete” is OFF (0), and then “Read Complete
Clear” is set to OFF (0).

Example 2) Trigger method: Level trigger. Handshaking: Enabled.

Attribute Signal name When reading is successful When reading fails


Output
ĺ Read request
Barcode/2D code
Read Complete
Input Read Complete
ĸ
Output Read Complete Clear
ĺ
Input Result Data Available
ĸ
Output Result Data
ĺ Acknowledgement
Input Result Data Strobe
ĸ
Input OUT1 Status(OK)
ĸ
Input OUT2 Status(ERROR)
ĸ
Input Read Data Ready Count m m+1 m m+1
ĸ
Input Read Data Update Count m m+1 m m+1
ĸ
Input Result Data Read data ERROR
ĸ

1 “Read request” is set to ON (1).


2 When “Read request” goes ON (1), the HEAD connected to the SR-EC1
starts reading.
3 When the code is read, “Read Complete” and “Result Data Available” go
ON (1).
4 “Read request” is set to OFF (0).
5 It is confirmed that “Read Complete” is ON (1), and then “Read Complete
Clear” is set to ON (1).
6 When “Read Complete Clear” is set to ON (1), “Read Complete” is set to
OFF (0).
7 It is confirmed that “Read Complete” is OFF (0), and then “Read Complete
Clear” is set to OFF (0).
8 It is confirmed that “Result Data Available” is ON (1), and then “Result Data
Acknowledgement” is set to ON (1).
9 When “Result Data Acknowledgement” is set to ON (1), the data is written
into “Result Data.” “Result Data Strobe” is set to ON (1).
10 It is confirmed that “Result Data Strobe” is ON (1), and then “Result Data
Acknowledgement” is set to OFF (0).
11 When “Result Data Acknowledgement” is set to OFF (0), “Result Data
Available” and “Result Data Strobe” are set to OFF (0).

23 GB SR-EC1/PN1 UM
Example 3) Trigger method: Level trigger. Handshaking: Enabled. Reading
results greater than or equal to TxPDO size.

Direction Signal name When reading is successful When reading fails


Output Read Request
ĺ
Bar Code Read Complete
Input Read Complete
ĸ
Output Read Complete Clear
ĺ
Input Result Data Available
ĸ
Output Result Data Acknowledgement …
ĺ
Input Result Data Strobe …
ĸ
Input OUT1 Status (OK)
ĸ
Input OUT2 Status (ERROR)
ĸ
Input Result Data Ready Count m m+1 m m+1
ĸ
Input m m+1 m m+1
ĸ Result Data Update Count
Input Result Data Result Data … Result Data Result Data Result Data
ĸ
Input Fragment No. 0 1 2… n 0 0 1 0
ĸ
Input Remaining No. of Fragments 0 n n-1… 1 0 0 1 0
ĸ
Input Fragment Size 0 Max Size Max Size Remain Data Size 0 0 Result Data Size 0
ĸ

1 “Read request” is set to ON (1).


2 When “Read request” goes ON (1), the HEAD connected to the
communication unit starts reading.
3 When the code is read, “Read Complete” and “Result Data Available” go
ON (1).
4 “Read request” is set to OFF (0).
5 It is confirmed that “Read Complete” is ON (1), and then “Read Complete
Clear” is set to ON (1).
6 When “Read Complete Clear” is set to ON (1), “Read Complete” is set to
OFF (0).
7 It is confirmed that “Read Complete” is OFF (0), and then “Read Complete
Clear” is set to OFF (0).
8 It is confirmed that “Result Data Available” is ON (1), and then “Result Data
Acknowledgement” is set to ON (1).
9 When “Result Data Acknowledgement” is set to ON (1), the data is written
into “Result Data.” “Result Data Strobe” is set to ON (1).
10 It is confirmed that “Result Data Strobe” is ON (1), and then “Result Data
Acknowledgement” is set to OFF (0).
11 When “Result Data Acknowledgement” is set to OFF (0), the value of
“Remaining No. of Fragments” is decreased by one, and “Result Data
Strobe” is set to OFF (0).
12 Steps 8. to 11. are repeated until “Remaining No. of Fragments” is zero.

Example 4) Using the command function

Direction Signal name


Output User Data
ĺ User Data 0
Output
ĺ User Data Size User Data Size 0
Output Command Request
ĺ
Input Command Complete
ĸ
Output
ĺ Command Complete Clear
Input Result Data Command response result
ĸ

1 A command is set in “User Data,” and the command size is entered in


“User Data Size.”
2 “Command Request” is turned ON (1), which turns ON “Command
Complete.”
3 It is confirmed that “Command Complete” is ON (1), and then “Command
Complete Clear” is set to ON (1).
4 When “Command Complete Clear” is set to ON (1), “Command Complete”
is set to OFF (0).
5 It is confirmed that “Command Complete” is OFF (0), and then “Command
Request” is set to OFF (0).

Point
• The signal directions are indicated as shown below.
Input
← : PLC ← SR-EC1
Output
→ : PLC → SR-EC1

• The following describes OUT1 and OUT2 operation when operation


settings of the HEAD connected to the SR-EC1 and Multi I/O settings
are in their factory default settings.
• The “Read Data Ready Count” and “Read Data Update Count”
values may differ depending on the operation status and
communication frequency. For example, when a code is read and
then the reading of the next code finishes before the updating of the
PLC data finishes, the result data ready count will be larger than the
expected value by one.
• “One-shot trigger” cannot be used on a code reader connected to
the SR-EC1. Always use “Level trigger.”

GB SR-EC1/PN1 UM 24
5 PROFINET

5-1 PROFINET Overview 26


What Is PROFINET? 26
List of Operation-confirmed PLCs 26
SR-PN1 PROFINET Communication Specifications 26
List of Usable Functions (Timing Input Control, Data Handshake, Etc.) 26

5-2 Cyclic Communication 26


Cyclic Communication 26
PLC-side Settings 26
Memory Maps 26

5-3 Error List 29

5-4 Operation Examples 29

25 GB SR-EC1/PN1 UM
5-1 PROFINET Overview 5-2 Cyclic Communication

What Is PROFINET? Cyclic Communication


PROFINET is the open communication standard specified by PI (PROFIBUS & Cyclic communication is a high-speed communication method in which data is sent
PROFINET International). PROFINET compatible devices can communicate with and received periodically at intervals ranging from milliseconds to hundreds of
each other regardless of vendor. The SR-PN1 is a communication unit compliant milliseconds. Also, you can control the SR-PN1 by referencing and updating variables
with Conformance Class C and designed for use with the SR-X300/X100/2000/ and devices within the PLC. This makes it easy to write PLC-side programs.
1000. When communicating cyclically via PROFINET with the SR-PN1, SR-PN1 functions are
assigned to the PLC devices.

List of Operation-confirmed PLCs


Siemens PLCs
PLC series Software Version
S7-1500/1200/400/300 TIA Portal Ver. 16.0 and later
SR-PN1 information area SR-PN1 information area

Reading result Reading result


SR-PN1 PROFINET Communication Handshake information Handshake information

Specifications Device status Device status

Busy/error information Busy/error information


Communication type PROFINET IO
Statistical information Statistical information
Communication cycle
Communication cycle 1 ms or more
Set with PLC
NetLoad Class NetLoad Class 3
Conformance Class Conformance Class C PLC instruction area PLC instruction area

GSDML file version 2.42 Reading instruction Reading instruction

Handshake instruction Handshake instruction

List of Usable Functions (Timing Input Tuning Tuning

Control, Data Handshake, Etc.)


Function Description Important • Communication settings such as the communication cycle and data
Controls timing input ON/OFF. size are set on the PLC. When there is a large load on a network that
Timing input control connects many devices including PROFINET devices, delays or
Timing input with the parameter bank specified is possible.
Read OK data can be set as preset data. packet loss may occur. Perform thorough verification before operation.
Preset data control • The maximum read length is 1008 digits.
Also, preset data can be registered or deleted from the PLC.
Tuning Tuning can be executed by specifying the parameter bank.
Data handshake Whether to write read data to the PLC can be controlled.
Errors that occurred on the main unit can be checked. PLC-side Settings
Error handling After error factors are eliminated, the SR-PN1 can be restored from
the error state.  S7 Series configuration
Statistical information
Read count and read data update count can be checked. We have prepared information regarding connecting the S7 Series and the SR-PN1.
acquisition
Download the information from the KEYENCE website.
Operation status
I/O status can be checked and read data can be acquired.
acquisition

Memory Maps
I address Input address PLC ← SR-PN1

 Bit area
In the following areas, information is divided by bit.
Information is represented with 0 or 1.

Slot: 1
Module name: Handshake and General Error Status Bits
Size Bit
Name Description Data description
(Byte) address
This bit turns ON when the
0: No error
0 Error “Buffer Overflow Error” or
1: Error
“General Error” bit turns ON.
Result Data This displays whether read 0: No read data
1
Available data exists or not.*1 1: Read data available
0 → 1: Read data update
Result Data This turns ON when read
2 complete
Strobe data update is complete.*1
1 → 0: -

1 Buffer Overflow This turns ON when a buffer 0: No error


6
Error overflow error occurs. 1: Error
This turns ON when a
communication or main unit
error occurs. It does not
turn ON when a buffer
7 General Error
overflow error occurs.
When this turns ON, an
error code is output to “Slot
8: General Error Code.”
*1 Used only when handshake is enabled.
• Handshake is a communication procedure to make the permission system
for read data writing.

GB SR-EC1/PN1 UM 26
Slot: 2  Word area/byte area
Module name: BUSY Status Bits In the following areas, information is represented with the following units.
Size Bit
Name Description Data description
(Byte) address Slot: 7
This bit turns ON when any Module name: Matching Level and Total Evaluation Grade Status
0: -
0 BUSY of the following BUSY bits
1: BUSY state Word Data
turn ON. Size Name Description
address description
0: -
3 MODE BUSY MODE BUSY Matching Matching
1: MODE BUSY state 0 100 to 0*1
1 Level level
0: -
4 ERR BUSY ERR BUSY 4 : A*1
1: ERR BUSY state ISO/IEC
3 :B
READY ISO/IEC 15415 total
0: - 1 2 :C
6 READY This continues to be ON in 15415 Grade evaluation
1: READY state 1 :D
non-“BUSY” states. grade
0 :F
ISO/IEC TR 4 : A*1 When multiple codes are read,
Slot: 3 8 byte 29158 (AIM 3 :B
AIM DPM 0 is shown.
Module name: Completion Status Bits 2 DPM) total 2 :C
Grade
evaluation 1 :D
Size Bit grade 0 :F
Name Description Data description
(Byte) address
4 : A*1
This turns ON when reading 0: - 15416 total 3 :B
0 Read Complete ISO/IEC
is complete.*1 1: Complete*2 3 evaluation 2 :C
15416 Grade
1 This turns ON when grade 1 :D
Command 0: -
5 command execution is 0 :F
Complete 1: Complete*2
complete.
*1 When multiple codes are read, 0 is shown.
*1 This bit also turns ON when the character string of “ERROR” is output when a When the “Read Complete Clear” bit in Output Assemblies is turned ON, the
reading error occurs. value returns to 0.
*2 This returns to 0 when the applicable clear bit is set to ON or when the Q
Address “Reading Start Request” bit is set to ON. Slot: 8
Module name: Operation Result Status
Slot: 5
Module name: Terminal Status Bits Size Word
Name Description Data description
(Byte) address
Size Bit General Error The error code is output to
(Byte) address
Name Description Data description 20 8 Error code*
Code the applicable location.
This represents the IN1 0: OFF
0 IN1 Status * For error codes, refer to “Error List (Page 29)”.
terminal status. 1: ON
This represents the IN2 0: OFF
1 IN2 Status Slot: 9
terminal status. 1: ON
Module name: Read Data *** Byte*1
This represents the OUT1 0: OFF
1 4 OUT1 Status
terminal status. 1: ON Size Word
Name Description Data description
This represents the OUT2 0: OFF (Byte) address
5 OUT2 Status
terminal status. 1: ON Result Data
0 Read data ready count 0 to 65535*2
This represents the OUT3 0: OFF Ready Count
6 OUT3 Status
terminal status. 1: ON Result Data
1 Read data update count 0 to 65535*2
Update Count
When checking the writing of read data, use the “Read Complete” bit, not the 8+
OUT1 to OUT3 statuses. Depending on the communication load, the ON statuses 3 Result Data Size Read data length 0 and above*3
Data
of the OUT terminals and reading completion may not be synchronized. size Byte area
32Byte
64Byte Result Data Read data Read data*3
Slot: 6 128Byte
Module name: Unstable Read Status Bits 246Byte
Size Bit *1 Select one from Read Data 32 Byte, Read Data 64 Byte, Read Data 128 Byte,
Name Description Data description
(Byte) address and Read Data 246 Byte.
Unstable reading status 0: Stable *2 If the count is 65535, it will be reset to 0 when the next read data arrives.
0 Unstable
OR of each Unstable 1: Unstable *3 When the header, terminator, and append data are set with the read data of
Matching Level Matching level judgment 0: Stable the code reader, the header, terminator, append data, and inter-delimiter are
1
Unstable result unstable 1: Unstable
also output. [CR] has been set to the terminator as the default setting.
ISO/IEC 15415 ISO/IEC 15415 verification 0: Stable
2 Accordingly, [CR] is appended after the read data for output.
Unstable result unstable 1: Unstable
• If the code reader is set to silent mode, read data is not output.
1 ISO/IEC TR
AIM DPM 0: Stable • The read data is cleared each time that a code is read.
3 29158 (AIM DPM)
Unstable 1: Unstable
verification result unstable
SAE AS9132 SAE AS9132 verification 0: Stable When handling read data exceeding 246 bytes, use Slot: 9 “Read Data 246 Byte”
4 and also use Slots 10 to 12. Using all of the Slots 9 to 12 enables handling of data
Unstable result unstable 1: Unstable
ISO/IEC 15416 ISO/IEC 15416 verification 0: Stable up to 1008 bytes.
5
Unstable result unstable 1: Unstable
Slot: 10
Module name: Read Data Ex 254 Byte
Size Bit
Name Description Data description
(Byte) address
254 254Byte Result Data Read data (247 to 500 bytes) Read data

27 GB SR-EC1/PN1 UM
Slot: 11  Word area/byte area
Module name: Read Data Ex 254 Byte In the following areas, information is represented with the following units.
Size Bit
(Byte) address
Name Description Data description Slot: 16
Module name: Parameter Bank Number*1
254 254Byte Result Data Read data (501 to 754 bytes) Read data
Size Word
Name Description Data description
(Byte) address
Slot: 12
2 0 Bank Number Bank number 1 to 16: Bank number
Module name: Read Data Ex 254 Byte*4
• Input a bank number here, and then start reading. Then, reading is performed
Size Bit
(Byte) address
Name Description Data description with the bank number specified.
If reading is started with a value other than 1 to 16 input, the alternate reading
254 254Byte Result Data Read data (755 to 1008 bytes) Read data
will be performed.
*4 This module cannot be used when the S7-1200 Series is used.
It can be used with the S7-1500/300/400.
Slot: 17
Module name: User Data *** byte*1
Size Word
Q address Output address PLC → SR-PN1 (Byte) address
Name Description Data description

0 User Data Size User data size*2


 Bit area Byte area
2+User
In the following areas, information is divided by bit. 32Byte
Data
Information is represented with 0 or 1. 64Byte User Data User data*2
Size
128Byte
252Byte
Slot: 13
*1 Select one from User Data 32 Byte, User Data 64 Byte, User Data 128 Byte,
Module name: Latch and Error Clear Control Bits
and User Data 252 Byte.
Size Bit *2 Terminator is not necessary.
Name Description Data description
(Byte) address
0 → 1: Writing to result
Result Data Result data update data device
1
Latch permitted*1 permitted
1 1 → 0: -
0 → 1: Error clear
7 Error Clear Error clear*2
1 → 0: -
*1 This functions only when handshake is enabled.
*2 The following error statuses and data are cleared.
• Buffer overflow error
• General error
• Result data acquisition count
• Result data update count
• Result data stored in the transmission buffer
• Matching level
• Code quality verification result

Slot: 14
Module name: Operation Instruction Control Bits
Size Bit
Name Description Data description
(Byte) address
0 → 1: Start reading
0 Read Request Reading start request*1
1 → 0: Stop reading
0 → 1: Start command
1
Command execution
5 Command start request*2*3
Request 1 → 0: Stop command
execution
*1 When specifying a bank, specify a value in the Parameter Bank Number module.
*2 Read Request and Command Request cannot be used at the same time.
*3 The following commands can be used.
• PRON
• PROFF
• WP,400 to 404,…
• TUNE,b
• TQUIT
• BLOAD
• RESET
• BCLR
• HCLR

Slot: 15
Module name: Completion Clear Control Bits
Size Bit
Name Description Data description
(Byte) address
Read Complete 0 → 1: Complete clear
0 Reading complete clear*1
Clear 1 → 0: -
1 Command
Command operation 0 → 1: Complete clear
5 Request
complete clear 1 → 0: -
Complete Clear
*1 When Complete bits are cleared, Error/Failure bits of each operation are also
cleared.

GB SR-EC1/PN1 UM 28
5-3 Error List 5-4 Operation Examples
Example 1) Trigger method: Level trigger. Handshaking: Disabled.
Error code Error Meaning
0 No error Reading success/operation success Input : PLC ĸ SR-PN1
ĸ
Refer to “Return of Command Error Code” in Output : PLC ĺ SR-PN1
ĺ
the SR-X Series User’s Manual. 100 is added
100 to 199 Command error Direction Signal name When reading is successful When reading fails
to each listed error code to obtain the
Output
Read request
displayed value. ĺ
Barcode/2D code
Another operation instruction was received Read Complete
Control instruction reception Input
120 during operation. (Operation instruction is not ĸ
Read Complete
error
executed.) Output Read Complete Clear
ĺ
User Data specification is invalid. (Specified Input OUT1 Status(OK)*1
220 User Data error ĸ
size is outside the range.) Input OUT2 Status(ERROR)*2
ĸ
Shortage of specified size (The size of Result Input
230 PROFINET data update error ĸ
Read Data Ready Count *2 m m+1 m m+1
Data is beyond the limit.)
Input Read Data Update Count *2 m m+1 m m+1
ĸ
Input Result Data
ĸ Read data ERROR

1 “Read request” is set to ON (1).


2 When “Read request” goes ON (1), the HEAD connected to the SR-PN1
starts reading.
3 When the code is read, its data is written into “Result Data.” Then “Read
Complete” goes ON (1).
4 “Read request” is set to OFF (0).
5 It is confirmed that “Read Complete” is ON (1), and then “Read Complete
Clear” is set to ON (1).
6 When “Read Complete Clear” is set to ON (1), “Read Complete” is set to
OFF (0).
7 It is confirmed that “Read Complete” is OFF (0), and then “Read Complete
Clear” is set to OFF (0).

Example 2) Trigger method: Level trigger. Handshaking: Enabled.

Attribute Signal name When reading is successful When reading fails


Output
ĺ Read request
Barcode/2D code
Read Complete
Input Read Complete
ĸ
Output Read Complete Clear
ĺ
Input Result Data Available
ĸ
Output Result Data Latch
ĺ
Input Result Data Strobe
ĸ
Input OUT1 Status(OK)*1
ĸ
Input OUT2 Status(ERROR)*2
ĸ
Input
ĸ Read Data Ready Count *2 m m+1 m m+1

Input m m+1 m m+1


ĸ Read Data Update Count *2
Input Read data ERROR
ĸ Result Data

1 “Read request” is set to ON (1).


2 When “Read request” goes ON (1), the HEAD connected to the SR-PN1
starts reading.
3 When the code is read, “Read Complete” and “Result Data Available” go
ON (1).
4 “Read request” is set to OFF (0).
5 It is confirmed that “Read Complete” is ON (1), and then “Read Complete
Clear” is set to ON (1).
6 When “Read Complete Clear” is set to ON (1), “Read Complete” is set to
OFF (0).
7 It is confirmed that “Read Complete” is OFF (0), and then “Read Complete
Clear” is set to OFF (0).
8 It is confirmed that “Result Data Available” is ON (1), and then “Result Data
Latch” is set to ON (1).
9 When “Result Data Latch” is set to ON (1), the data is written into “Result
Data.” “Result Data Strobe” is set to ON (1).
10 It is confirmed that “Result Data Strobe” is ON (1), and then “Result Data
Latch” is set to OFF (0).
11 When “Result Data Latch” is set to OFF (0), “Result Data Available” and
“Result Data Strobe” are set to OFF (0).

29 GB SR-EC1/PN1 UM
Example 3) Using the command function

Direction Signal name


Output User Data
ĺ User Data 0
Output
ĺ User Data Size User Data Size 0
Output Command Request
ĺ
Input Command Complete
ĸ
Output
ĺ Command Complete Clear
Input Result Data Command response result
ĸ

1 A command is set in “User Data,” and the command size is entered in


“User Data Size.”
2 “Command Request” is turned ON (1), which turns ON “Command
Complete.”
3 It is confirmed that “Command Complete” is ON (1), and then “Command
Complete Clear” is set to ON (1).
4 When “Command Complete Clear” is set to ON (1), “Command Complete”
is set to OFF (0).
5 It is confirmed that “Command Complete” is OFF (0), and then “Command
Request” is set to OFF (0).

Point
• The signal directions are indicated as shown below.
Input
← : PLC ← SR-PN1
Output
→ : PLC → SR-PN1

• The following describes OUT1 and OUT2 operation when operation


settings of the HEAD connected to the SR-PN1 and Multi I/O settings
are in their factory default settings.
• The “Read Data Ready Count” and “Read Data Update Count”
values may differ depending on the operation status and
communication frequency.
For example, when a code is read and then the reading of the next
code finishes before the updating of the PLC data finishes, the result
data ready count will be larger than the expected value by one.
• “One-shot trigger” cannot be used on a code reader connected to
the SR-PN1. Always use “Level trigger.”

GB SR-EC1/PN1 UM 30
6 Specifications

6-1 Specifications 32
General Specifications 32
Setup Software (AutoID Network Navigator) 32

6-2 Dimensions 32

6-3 Troubleshooting: When an Error Occurs on the Communication Unit 33


When an Error Occurs on the Communication Unit 33
Unable to Install AutoID Network Navigator or the Communication Unit Driver 33
Unable to Connect to AutoID Network Navigator 33
Data Is Not Output Through the Ethernet Interface 33

6-4 Precautions on Regulations and Standards 34

6-5 Software License Agreement 34

6-6 Copyright Indications 35


Revision History 36
WARRANTIES AND DISCLAIMERS 36

31 GB SR-EC1/PN1 UM
6-1 Specifications 6-2 Dimensions

General Specifications Unit: mm

Model SR-EC1 SR-PN1


EtherCAT PROFINET
Type Maximum when cover is open:
communication unit communication unit
78.5
SR-X300 Series, SR-X100 Series,
Target code readers
SR-2000 Series, SR-1000 Series
Connector type M12, 4 pins, female, D-code
Communication
100 Mbps
Network speed
specifications Supported (100)
EtherCAT PROFINET 60
Ø7.3
network 27
Mounting hole

6.2
Supported profile CoE Conformance Class C
Power supply IN: M12, 5 pins, male, L-code
Connector type
Power supply OUT: M12, 5 pins, female, L-code
Power voltage 24 VDC -20 to +25%
Power supply
Up to 16 A for V1 and for V2;
specifications Allowable current

92.6
up to 24 A for V1 and V2 combined*
Power
Approx. 1.6 W
consumption 24

Connector type M12, 12 pins, female, A-code

169.5
181.8
Communication
RS-232C compliant
Head interface standard
41.6

28
Communication 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600,
speed 115200 bps
Connector type M12, 5 pins, female, A-code

28
Power supply
2A
capability
Number of inputs 2
Digital input Input type PNP
Minimum ON
15 VDC Ø6.3
voltage 28 34
Mounting hole
Maximum OFF (135)
0.2 mA
current
Connector USB Type-C
USB Communication
USB 2.0 High Speed compliant
standard
Enclosure rating IP65/67 (IEC60529)
Operating
ambient 0 to +45°C
temperature
Environmental Storage ambient
-10 to +50°C
resistance temperature
Operating
35%RH to 85%RH (no condensation)
ambient humidity
Storage ambient
35%RH to 85%RH (no condensation)
humidity
Weight Approx. 270 g
* When using an OP-88782 – OP-88787 power cable, ensure that the load is at
most 12 A for each of V1 and V2 and that the total load is 20 A or less.

Setup Software (AutoID Network Navigator)


Model SR-H8W
Windows 11 Professional or higher
Supported operating
Windows 10 Professional or higher 32-bit/64-bit
system
Windows 8 Professional or higher 32-bit/64-bit (excluding Windows RT)
Processor: 2.0 GHz or higher, memory: 8 GB or more,
required free space on hard disk: 1 GB or more
Running environment (space is also required for saving data)
DVD-ROM drive (required for installation),
screen resolution: 1440 × 1080 or higher

• .NET Framework 4.6.1 or higher is installed.


• Microsoft Visual C++ redistributable packages (x86) for Visual Studio 2015,
2017, and 2019 are installed.

GB SR-EC1/PN1 UM 32
Unable to Install AutoID Network Navigator
6-3 Troubleshooting: When or the Communication Unit Driver
an Error Occurs on the Check the following points, and then install the software again.
• Administrator rights
Communication Unit To install the software, log on as a user with Administrator rights.
• Security software
The installation may be impeded by security software. Temporarily disable the
When an Error Occurs on the security software.

Communication Unit
Unable to Connect to AutoID Network
Check the POWER LED and ERROR LED on the communication unit and the LED
patterns. Navigator
When an error occurs • USB connection
“3-1 Connecting” (Page 14)
<SR-EC1>

LED
Operating status Data Is Not Output Through the Ethernet
ECAT RUN ECAT ERROR

Off Initialization No error


Interface
Blinking*1 Pre Operational Invalid Configuration • Communication settings confirmation
Single flash*2 Safe Operational Local Error Check that the settings for communication between the communication unit and
the host device are correct.
Process Data Watchdog Timeout/
Double flash*3 - • Wiring
EtherCAT Watchdog Timeout
If you are using a hub or other intermediary device between the communication
Lit Operational Application controller failure
unit and the host device, remove the intermediary device to establish a direct
*1 Blinks once per 200 ms connection, and then check if it is possible to communicate.
*2 Repeatedly lights up for 200 ms and turns OFF for 1 s
• Security settings
*3 Repeatedly lights up for 200 ms, turns OFF for 200 ms, lights up for 200 ms,
and turns OFF for 1 s Check whether communication is being blocked by the security settings of the
network devices.
LED • Head and communication unit settings
Operating status
POWER ERROR Check that the RS-232C settings of the connected code reader and of the head
of the communication unit are compatible.
Send buffer overflow  Flashing yellow  Solid yellow
Error
Other errors*  Flashing green  Solid red

<SR-PN1>

LED
Operating status
POWER BF SF

Duplicate IP
 Flashing red  Solid red -
address

Error Send buffer


 Flashing yellow  Solid red -
overflow

Other errors*  Flashing green -  Solid red

1. Check the following three points.


• PLC and communication unit communication channels (Example: check
whether the Ethernet cable is disconnected)
• Check that the PLC and the communication unit are set up correctly.
• Check that the specified communication unit address exists in the PLC.
2. Send the “%ERRSTAT” command to the communication unit to check the
response content.

Connect the communication unit to a PC with a USB cable, send an “%ERRSTAT”


command using the AutoID Network Navigator terminal, and check the response.

 Measures to handle response content


Message Remedy
file Contact your nearest KEYENCE office.
factparam Contact your nearest KEYENCE office.
csum Contact your nearest KEYENCE office.
An error occurred during PROFINET communication. Send the %DFLT
profinet command to initialize the settings, and then configure the settings again.
Check the communication between the communication unit and the PLC.
An error occurred because the upper limit of the send buffer was
over exceeded.
Cycle power to the communication unit.
A duplicate IP address is present on the network.
ip Configure the network settings so that no duplicate IP addresses are
present.
An error occurred during a communication unit firmware update.
update Cycle power to the communication unit, and then execute the update
again.

33 GB SR-EC1/PN1 UM
6-4 Precautions on Regulations 6-5 Software License Agreement
and Standards
NOTICE TO USER: PLEASE READ THIS SOFTWARE LICENSE AGREEMENT
(THIS “AGREEMENT”) CAREFULLY. BY USING ALL OR ANY PORTION OF THE
CE and UKCA Markings [SR-H8W] (THIS “SOFTWARE”), YOU ARE AGREEING TO BE BOUND BY ALL
THE TERMS AND CONDITONS OF THIS AGREEMENT. IF YOU DO NOT AGREE
KEYENCE Corporation has confirmed, on the basis of the following TO ANY TERMS OF THIS AGREEMENT, DO NOT USE THIS SOFTWARE.
specifications, that this product complies with the essential requirements of
the applicable EU Directive(s) and UK regulations. Be sure to consider the 1. Definition
following specifications when using this product in the Member States of the 1.1 “use” or “using” means to access, install, download, copy or
European Union and in the United Kingdom. otherwise benefit from using the functionality of this Software.
1.2 “This Software” means the software and all associated documentation
 EMC Directive (CE) and Electromagnetic Compatibility
provided by KEYENCE.
Regulations (UKCA)
• Applicable Standard (BS) EN61326-1, Class A 2. Grant of License.
Conditioned upon compliance with all of the terms and conditions of this
These specifications do not give any guarantee that the end-product with this Agreement, KEYENCE grants you a nonexclusive and nontransferable
product incorporated complies with the essential requirements of the EMC license to install this Software on all computers used by your entity in order
Directive and Electromagnetic Compatibility Regulations. The manufacturer of to use the KEYENCE product. You may make one copy of this Software for
the end-product is solely responsible for the compliance of the end-product backup or archive purposes only.
itself according to the EMC Directive and Electromagnetic Compatibility
3. Restrictions.
Regulations.
3.1 Except for installation of updates or new functions provided by
KEYENCE, you may not modify or add any function to this Software.
CSA Certificate 3.2 You may not reverse engineer, decompile or disassemble this
This product complies with the following CSA and UL standards and has been Software.
certified by CSA. 3.3 You may not create derivative works based on this Software.
Applicable Standards CAN/CSA C22.2 No.61010-1 3.4 Other than expressly stated by KEYENCE, you may not resell,
UL61010-1 retransfer, rent or otherwise redistribute this Software to any third
Be sure to consider the following specifications when using this product as a parties.
product certified by CSA.
• Overvoltage Category I 4. Intellectual Property Rights.
• Use this product under pollution degree 3. Except as expressly stated herein, KEYENCE reserves all right, title and
interest in this Software, and all associated copyrights, trademarks, and
• Use this product at an altitude of 2000 m or less.
other intellectual property rights therein.
• Indoor use only.
• If the device connected to the HEAD port or IN port requires the use of a Class 2
5. Disclaimer.
power supply, use a UL/CSA certified power supply with Class 2 output for the
Keyence is licensing this Software to you “AS IS” and without any warranty
power to supply to V1 and V2 of the power supply port. of any kind. In no event will KEYENCE or its suppliers be liable to you for
any damages, claims, costs or any lost profits caused by using this
North American Regulations Software.
This product complies with the following North American regulations.
6. Termination.
Applicable regulation : 6.1 Your license under this Agreement will terminate automatically if you
FCC Part15 Subpart B, Class A Digital Device destroy this Software and the copy of this Software in your possession
ICES-003, Class A Digital Apparatus or voluntarily return this Software to us.
6.2 Your license under this Agreement will terminate automatically without
Operation is subject to the following two conditions: (1) This device may not cause
any notice from KEYENCE if you fail to comply with any of the terms
harmful interference, and (2) this device must accept any interference received,
and conditions of this Agreement. Promptly upon termination, you
including interference that may cause undesired operation.
shall cease all use of this Software and destroy all copies, full or
partial, of this Software in your possession or control.
FCC CAUTION 6.3 You will compensate KEYENCE for costs or any lost profits caused by
Changes or modifications not expressly approved by the party responsible for your violation or breach of any term of this Agreement.
compliance could void the user's authority to operate the equipment.
7. Governing Law.
KC mark (Republic of Korea) 7.1 This Agreement will be governed by and construed in accordance
사용자안내문 with the substantive laws of Japan without regards to the principles of
이 기기는 업무용 환경에서 사용할 목적으로 적합성평가를 받은 기기로서 가정용 conflicts of law.
7.2 If any part of this Agreement is found void and unenforceable, it will
환경에서 사용하 는 경우 전파간섭의 우려가 있습니다 .
not affect the validity of the balance of this Agreement, which shall
remain valid and enforceable according to its terms and conditions.

GB SR-EC1/PN1 UM 34
Processor SDK

6-6
Copyright (c) 2015-2016, Texas Instruments Incorporated - http://www.ti.com/
Copyright Indications All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
SYS/BIOS are permitted provided that the following conditions are met:
Copyright (c) 2012-2018, Texas Instruments Incorporated
All rights reserved. Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
Redistribution and use in source and binary forms, with or without modification, Redistributions in binary form must reproduce the above copyright notice, this
are permitted provided that the following conditions are met: list of conditions and the following disclaimer in the documentation and/or other
materials provided with the distribution.
* Redistributions of source code must retain the above copyright notice, this list Neither the name of the Texas Instruments Incorporated nor the names of its
of conditions and the following disclaimer. contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
* Redistributions in binary form must reproduce the above copyright notice, this THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
list of conditions and the following disclaimer in the documentation and/or other CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
materials provided with the distribution. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* Neither the name of Texas Instruments Incorporated nor the names of its DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
contributors may be used to endorse or promote products derived from this CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
software without specific prior written permission. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Network Developers Kit (NDK)


Copyright (c) 2012-2019, Texas Instruments Incorporated
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,


this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND


CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

35 GB SR-EC1/PN1 UM
Revision History
Date of printing Version Revision contents
September 2022 1st edition

WARRANTIES AND DISCLAIMERS


(1) KEYENCE warrants the Products to be free of defects in materials and
workmanship for a period of one (1) year from the date of shipment. If any
models or samples were shown to Buyer, such models or samples were used
merely to illustrate the general type and quality of the Products and not to
represent that the Products would necessarily conform to said models or
samples. Any Products found to be defective must be shipped to KEYENCE
with all shipping costs paid by Buyer or offered to KEYENCE for inspection and
examination. Upon examination by KEYENCE, KEYENCE, at its sole option,
will refund the purchase price of, or repair or replace at no charge any Products
found to be defective. This warranty does not apply to any defects resulting from
any action of Buyer, including but not limited to improper installation, improper
interfacing, improper repair, unauthorized modification, misapplication and
mishandling, such as exposure to excessive current, heat, coldness, moisture,
vibration or outdoors air. Components which wear are not warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products.
They are only suggestions, and it is Buyer's responsibility to ascertain the
fitness of the Products for Buyer’s intended use. KEYENCE will not be
responsible for any damages that may result from the use of the Products.
(3) The Products and any samples (“Products/Samples”) supplied to Buyer are not
to be used internally in humans, for human transportation, as safety devices or
fail-safe systems, unless their written specifications state otherwise. Should any
Products/Samples be used in such a manner or misused in any way, KEYENCE
assumes no responsibility, and additionally Buyer will indemnify KEYENCE and
hold KEYENCE harmless from any liability or damage whatsoever arising out of
any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE
PROVIDED WITH NO OTHER WARRANTIES WHATSOEVER. ALL
EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, INCLUDING,
WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF
PROPRIETARY RIGHTS, ARE EXPRESSLY DISCLAIMED.
IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE
LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT, INDIRECT,
INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES
(INCLUDING, WITHOUT LIMITATION, ANY DAMAGES RESULTING FROM
LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF INFORMATION,
LOSS OR INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF
SAVINGS, THE COST OF PROCUREMENT OF SUBSTITUTED GOODS,
SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF
OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE
PRODUCTS, EVEN IF KEYENCE OR ONE OF ITS AFFILIATED ENTITIES
WAS ADVISED OF A POSSIBLE THIRD PARTY’S CLAIM FOR DAMAGES
OR ANY OTHER CLAIM AGAINST BUYER. In some jurisdictions, some of the
foregoing warranty disclaimers or damage limitations may not apply.

BUYER'S TRANSFER OBLIGATIONS:


If the Products/Samples purchased by Buyer are to be resold or delivered to a
third party, Buyer must provide such third party with a copy of this document, all
specifications, manuals, catalogs, leaflets and written information provided to
Buyer pertaining to the Products/Samples.
E 1101-3

BarcodeReader.com
http://www.barcodereader.com/

You can download technical documents useful for BL/SR/RF introduction


and operation.
Download the latest manual from this webpage.

Copyright (c) 2022 KEYENCE CORPORATION. All rights reserved.


GB SR-EC1/PN1 UM 36 193336GB 2092-1 D47GB Printed in Japan

You might also like