YASKAWA VIPA System 300S+ Manual page 140

Hide thumbs Also See for VIPA System 300S+:
Table of Contents

Advertisement

Deployment PtP communication
Modbus - Function codes
Code
Command
01h
Read n bits
02h
Read n bits
03h
Read n words
04h
Read n words
05h
Write 1 bit
06h
Write 1 word
0Fh
Write n bits
10h
Write n words
Respond of the slave
Byte sequence in a word
Check sum CRC, RTU,
LRC
Read n bits 01h, 02h
140
Description
Read n bits of master output area 0x
Read n bits of master input area 1x
Read n words of master output area 4x
Read n words master input area 3x
Write 1 bit to master output area 0x
Write 1 word to master output area 4x
Write n bits to master output area 0x
Write n words to master output area 4x
Point of View of "Input" and "Output" data
The description always takes place from the point of view of the master. Here data, which
were sent from master to slave, up to their target are designated as "output" data (OUT)
and contrary slave data received by the master were designated as "input" data (IN).
If the slave announces an error, the function code is send back with an "ORed" 80h.
Without an error, the function code is sent back.
Slave answer:
Function code OR 80h
Function code
The shown check sums CRC at RTU and LRC at ASCII mode are automatically added to
every telegram. They are not shown in the data block.
Code 01h: Read n bits of master output area 0x
Code 02h: Read n bits of master input area 1x
1 word
High-byte Low-byte
HB140 | CPU-SC | 312-5BE23 | en | 18-45
VIPA System 300S
® Error
® OK
+

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu 312sc

Table of Contents