4 reference program, Reference program, Sr-750 series typical operation examples – KEYENCE SR-750 Series User Manual
Page 105: Cyclic communication] without handshake, For the kv series
105
E SR-750 UM
SR-750 Series typical operation examples
(1) Start reading (Read Start)
Gives the command to start reading for the SR-750 Series.
(2) Stop reading (Read Stop)
Gives the command to stop reading for the SR-750 Series.
(3) Preset reading start (Preset start)
Gives the command to start preset reading for the SR-750 Series.
(4) Preset reading stop (Preset Stop)
Gives the command to stop preset reading for the SR-750 Series.
(5) Preset data registration
Performs the preset data registration command for the SR-750 Series.
(6) Calibration instructions
Gives the command to start reading for the SR-750 Series.
(7) Stop calibration
Gives the command to stop reading for the SR-750 Series.
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
UINT
: 105 (0x69)
: 1
: 75 (0x4B)
: None
: Bank No.
General status
Additional status
Service data
: None
: None
: None
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
: 105 (0x69)
: 1
: 76 (0x4C)
: None
: None
General status
Additional status
Service data
: None
: None
: None
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
: 105 (0x69)
: 1
: 77 (0x4D)
: None
: None
General status
Additional status
Service data
: None
: None
: None
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
: 105 (0x69)
: 1
: 78 (0x4E)
: None
: None
General status
Additional status
Service data
: None
: None
: None
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
UINT
BYTE[494]
: 105 (0x69)
: 1
: 79 (0x4F)
: None
: Data size
: Data
General status
Additional status
Service data
: None
: None
: None
* Sets the data size to 1 and the data to 0xFF. If sent, preset data can be cleared.
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
UINT
: 105 (0x69)
: 1
: 80 (0x50)
: None
: Bank No.
General status
Additional status
Service data
: None
: None
: None
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
: 105 (0x69)
: 1
: 81 (0x51)
: None
: None
General status
Additional status
Service data
: None
: None
: None
(8) Get result data
Acquires the SR-750 Series operation results.
(9) Get attribute (Get_Attribute_Single)
Acquires the SR-750 Series attribute value.
11-4
Reference Program
This section introduces a reference program when performing communication
using EtherNet/IP on the SR-750 Series.
Reference Program
This section introduces a reference program when performing communication
using EtherNet/IP on the SR-750 Series.
During actual operation, perform programming while taking error processing into
account.
[Cyclic communication] without handshake
This is a reference program when using the setting without handshake in EtherNet/
IP setting on AutoID Network Navigator.
For the KV Series
Reference program chart
Description of the reference program
Row 1 : This starts Read Request and starts reading.
Row 2 : When Result Complete is ON, the data written to Result Data are
copied to DM1000.
Row 3 : When Read Complete is ON, Read Complete Clear turns ON.
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
UINT
UINT
: 105 (0x69)
: 1
: 85 (0x55)
: None
: Data size
: Offset
General status
Additional status
Service data
UINT
UINT
BYTE[]
: None
: None
: Result Data Size
: Rest Result Data Size
: Result Data
Command details
Response details (normal termination)
Class ID
Instance ID
Service code
Attribute ID
Service data
: Class ID
: Instance ID
: 14 (0x0E)
*Get_Attribute_Single
: Attribute ID
: None
General status
Additional status
Service data
: None
: None
: Attribute parameter
↑
BMOV
REQ
Row 1
Row 2
Row 3
(I) Read Complete
(O) Read Complete Clear
(O) : Output Assemblies
(I) : Input Assemblies
#100
DM1000
WOE
Result Data
(I) Read Complete
(O) Read Request