Professional Documents
Culture Documents
SR Ec1 PN1
SR Ec1 PN1
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.
Point
Indicates additional information on proper operation.
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 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
D47GB GB SR-EC1/PN1 UM
IN port cables
1-1 Description of Package SR-X300/X100 Series
M12 female to 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
Ethernet cables
Communication Communication
Master
unit unit
A B
RJ45 M12 male M12 male M12 male
GB SR-EC1/PN1 UM 4
SR-PN1
1-2 Part Names
PWR BF SF
EtherCAT ports:
ECAT IN, SD RD
IN port HEAD port ECAT OUT
LED
Operating status
POWER ERROR
<SR-PN1>
SD RD
LED
Operating status
POWER BF SF
Duplicate IP
Flashing red Solid red -
address
5 GB SR-EC1/PN1 UM
GB SR-EC1/PN1 UM 6
2 Connection and Wiring
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)
• 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)”.
1 4 4 1
2 3 3 2
GB SR-EC1/PN1 UM 8
2-3 Ethernet Connection 2-4 USB Connection
1 4
4 3
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
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
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
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.
2 Select all the check boxes for adding data to the items that you want
to verify.
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.
2 When a message indicating that the transmission is complete is Load saved settings %LOAD - OK,%LOAD
15 GB SR-EC1/PN1 UM
GB SR-EC1/PN1 UM 16
4 EtherCAT
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.
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)
Index Name
Size
Process Data Object details
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
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
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
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: -
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
Input
ĸ Result Data Read data ERROR
23 GB SR-EC1/PN1 UM
Example 3) Trigger method: Level trigger. Handshaking: Enabled. Reading
results greater than or equal to TxPDO size.
Point
• The signal directions are indicated as shown below.
Input
← : PLC ← SR-EC1
Output
→ : PLC → SR-EC1
GB SR-EC1/PN1 UM 24
5 PROFINET
25 GB SR-EC1/PN1 UM
5-1 PROFINET Overview 5-2 Cyclic Communication
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: -
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
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
29 GB SR-EC1/PN1 UM
Example 3) Using the command function
Point
• The signal directions are indicated as shown below.
Input
← : PLC ← SR-PN1
Output
→ : PLC → SR-PN1
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
31 GB SR-EC1/PN1 UM
6-1 Specifications 6-2 Dimensions
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
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.
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
<SR-PN1>
LED
Operating status
POWER BF SF
Duplicate IP
Flashing red Solid red -
address
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.
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.
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.
35 GB SR-EC1/PN1 UM
Revision History
Date of printing Version Revision contents
September 2022 1st edition
BarcodeReader.com
http://www.barcodereader.com/