YASKAWA SPEED7 300S+ CPU 315PN Manual page 82

Table of Contents

Advertisement

Deployment PtP communication
Protocols and procedures
Master slave telegram
STX
LGE
ADR
02h
Slave master telegram
STX
LGE
ADR
02h
Broadcast with set bit 5 in
ADR byte
Modbus
82
It is essential:
n
You may connect 1 master and max. 31 slaves at the bus
n
The single slaves are addressed by the master via an address sign in the telegram.
n
The communication happens exclusively in half-duplex operation.
n
After a send command, the acknowledgement telegram must be read by a call of the
FC/SFC 218 SER_RCV.
The telegrams for send and receive have the following structure:
PKE
IND
H
L
H
PKE
IND
H
L
H
with
STX - Start sign
STW - Control word
LGE - Telegram length
ZSW - State word
ADR - Address
HSW - Main set value
PKE - Parameter ID
HIW - Main effective value
IND
- Index
BCC - Block Check Character
PWE - Parameter value
A request can be directed to a certain slave ore be send to all slaves as broadcast mes-
sage. For the identification of a broadcast message you have to set bit 5 to 1 in the ADR
byte. Here the slave addr. (bit 0 ... 4) is ignored. In opposite to a "normal" send command,
the broadcast does not require a telegram evaluation via FC/SFC 218 SER_RCV. Only
write commands may be sent as broadcast.
n
The Modbus protocol is a communication protocol that fixes a hierarchic structure
with one master and several slaves.
n
Physically, Modbus works with a serial half-duplex connection. There are no bus con-
flicts occurring, because the master can only communicate with one slave at a time.
After a request from the master, this waits for a preset delay time for an answer of the
n
slave. During the delay time, communication with other slaves is not possible.
PWE
L
H
L
PWE
L
H
L
STW
HSW
H
L
H
ZSW
HIW
H
L
H
HB140 | CPU | 315-4PN23 | en | 18-02
+
System 300S
BCC
L
BCC
L

Advertisement

Table of Contents
loading

This manual is also suitable for:

315-4pn23

Table of Contents