YASKAWA VIPA System 300S+ Manual page 92

Cpu, 317-4pn23
Hide thumbs Also See for VIPA System 300S+:
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
92
n
Max. 32 participants
n
Simple and secure telegram frame
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
VIPA System 300S
STW
HSW
H
L
H
ZSW
HIW
H
L
H
HB140 | CPU | 317-4PN23 | en | 18-01
+
BCC
L
BCC
L

Advertisement

Table of Contents
loading

Table of Contents