beautypg.com

Message communication operation, Message communication setting procedure, Sr-750 series object configuration – KEYENCE SR-750 Series User Manual

Page 102: Responses, Sr-750 series settings

background image

102

E SR-750 UM

Responses

The following are the response formats sent from the SR-750 Series to the
EtherNet/IP scanner.

„

Response formats

Message communication operation

Operation of the SR-750 Series

This section introduces some operations that are available when using message
communication.

Commands are sent from the scanner to execute services for the SR-750 Series.
The SR-750 Series sends back a response as a service execution result.
The service code, class ID, instance ID, and attribute ID is specified in the
command and then sent.
The setting value (service data) is necessary when writing parameters.

* The attribute ID and service data may not be necessary depending on the

command used.
Service response data may not be generated depending on the command used.

Message communication setting procedure

This section describes the setting procedure when performing message
communication with the SR-750 Series.

SR-750 Series settings

„

SR-750 Series settings

1

Communication 1 tab

• IP address setting
• Subnet mask setting
• Default gateway setting

Item

Description

General status
(1 byte)

Returns the General Status in response to the command.
Returns 00H when operation is successful.

Additional status
(2 bytes)

Returns Additional Status.

Service response

Returns the result data in response to the command.

Command

Service code
Class ID
Instance ID
Attribute ID
Service data

Response

General status
Additional status
Service response data

Command sending

Response sending

2

Communication 2 tab

Set the PLC port interface and protocol.
• Interface : Ethernet
• Protocol : EtherNet/IP

3

PLC port's EtherNet/IP settings

Click the "EtherNet/IP setting" button, open the EtherNet/IP setting screen, and
perform the following settings.
• Data handshake

: Put a check on this when performing a

handshake process.

: Set to maximum read data size + 44 bytes

or more.

• Data area byte swap

: Specify the byte swap for the result data

area and user data area.
Disable: Retrieves data in an ascending

order.

Enable : Retrieves data in a descending

order.

Point

The storage order of the data memory can be changed by
changing the availability of the data area's byte swap. By using
this function, storing data is made possible so that program
processing can be performed easily for PLC data memories of
various brands.

SR-750 Series object configuration

Objects that the SR-750 Series can use are as follows:

„

Object configuration

* The SR AutoID Reader Object is not an object within EtherNet/IP standards but

rather it is an object that KEYENCE developed to make the SR-750 Series easier
to operate.

Class ID

Object name

Description

Reference

page

105

(0x69)

SR AutoID Reader
Object*

Object which delivers the SR-750 Series
status and parameter writing/reading.

103

Page

1

(0x01)

Identity Object

Object which delivers general information,
main unit reset, etc.

104

Page

Input assembly (send)/
Output assembly (receive) size