beautypg.com

1 profinet, Operation flow to start profinet communication, List of applicable plc models – KEYENCE SR-750 Series User Manual

Page 109: Profinet device naming rule, 2 cyclic communication, Sr information area (i address), Profinet, Cyclic communication, Sr-750 series profinet function overview, Bit area

background image

109

E SR-750 UM

12-1

PROFINET

PROFINET is the open communication standard specified by PI (PROFIBUS &
PROFINET International). PROFINET compatible devices can communicate
regardless of vendor. The SR-750 Series is compliant with Conformance Class A.
Also, the SR-750 Series supports cyclic communication.

Cyclic communication

Cyclic communication enables high-speed control at several ms to several tens of
ms intervals by communicating at update time interval. The SR-750 Series can be
controlled by referring to and updating variables or devices within PLC without
considering communication. This makes programs on the PLC side simpler.

Important

When controlling the SR-750 Series, set the update time of cyclic
communication to 8 ms or longer.

SR-750 Series PROFINET function overview

Important

Maximum read length is 246 digits.

Operation flow to start PROFINET communication

List of applicable PLC models

Siemens PLC

Function

Description

Timing input control

Controls timing input ON/OFF.
Timing input with the parameter bank specified is possible.

Preset data control

Read OK data can be set as preset data.
Also, preset data can be registered or deleted from PLC.

Tuning

Tuning can be performed by specifying the parameter bank.

Data handshake

Whether to write read data to PLC can be controlled.

Error handling

Errors that occurred on the main unit can be checked.
After eliminating error factors, the SR-750 Series can be restored from the
error state.

Statistical
information
acquisition

Read count and read data update count can be checked.

Operation status
acquisition

Read data can be acquired, and I/O status or marking verification result
can be checked.

(1) Check specifications.

• Check if the PLC to be connected is compatible with PROFINET connection.
• Check the input and output data allocation status.

(2) Make the PROFINET communication setting for the SR-750 Series.

Make this setting for PROFINET connection of SR-750 Series.
Setting items: IP address, subnet mask, default gateway, PROFINET

communication enable/disable, PROFINET device name, data
handshake enable/disable

(3) Establish PROFINET communication.

When registering the SR-750 information to PLC, use the GSDML file of
SR-750.

(4) Perform necessary tasks.

PLC series

Software used

Version of software used

S7-300

STEP 7

V5.5.0.0 and later versions

S7-400

STEP 7

V5.5.0.0 and later versions

S7-1200

STEP 7 Basic

Version V11Update 1

Important

Set the PROFINET device name avoiding the same device name
within the network.
The PROFINET communication cannot be made with the
temporary IP address set for the SR-750 Series. Be sure to set
the IP address.
When "Send Configuration" is performed after setting
PROFINET for the SR-750 Series, the SR-750 Series main unit
restarts.

PROFINET device naming rule

1. PROFINET device name length: 1 to 240 characters
2. 1 label length: 1 to 63 characters
3. Only [a to z] (alphabet lower case) [0 to 9] (numbers), [-] (hyphen), [.] (period)

can be used for a device name.

4. [-] (hyphen) cannot be used at the beginning of the label.
5. [-] (hyphen) cannot be used at the end of the label.
6. port-xyz, port-xyz-abcde cannot be the name of the first label.

a, b, c, d, e, x, y, z means [0 to 9] (numbers)

7. Device names cannot be made in the IP address format (n.n.n.n n=0,…,999).
8. Labels cannot start with xn-.
9. The first character of labels cannot be a number.

12-2

Cyclic communication

When cyclic communication is performed in the SR-750 Series using PROFINET,
SR-750 series functions are assigned to the PLC devices. Use the function
allocated to each device according to the intended usage.

Important

Communication settings such as cyclic communication's
communication cycle and data size are performed in the PLC.
When there is a large load in the network which connects many
devices including PROFINET devices, delays or packet loss may
occur. Perform thorough verification before operation.

SR information area (I address)

The SR information area is divided into areas as follows.

Bit area

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

Slot

Size

Module

name

Bit

address

Name

Description

Data contents

Remarks

1 1 byte

Handshake
and General
Error Status
Bits

0 Error

Error status indication

0 : No error
1 : Error

1

Result Data
Available

Read data
Transmission buffer
retention status
indication

0 : No read data
1 : Read data

available

* Only when data

handshake is
enabled

2 Result Data Strobe

Read data
PLC update complete
flag

0

→1: Read data

update
complete

1

→0: -

3 (Reserved)

Reserved area

4 (Reserved)

Reserved area

5 (Reserved)

Reserved area

6

Buffer Overflow
Error

Buffer overflow error
Cleared by Error
Clear Bit

0 : No error
1 : Error

7 General Error

SR operation failure
error
Cleared by Error
Clear Bit

0 : No error
1 : Error

SIMATIC
S7-300

Reading result

Handshake information

Device status

Busy/error information

Statistical information

Reading instruction

Handshake instruction

Tuning

Reading result

Handshake information

Device status

Busy/error information

Statistical information

Reading instruction

Handshake instruction

Tuning

SR information area

PLC instruction area

SR information area

PLC instruction area

Communication cycle

Set with PLC