Manual VIPA System 200V
Chapter 4 CP 240 - serial
HB97E - CP - Rev. 11/30
4-37
Code 01h: Read n Bits of master output area 0x
Code 02h: Read n Bits of master input area 1x
Command telegram
Slave address
Function code
Address
1. Bit
Number of
Bits
Check sum
CRC/LRC
1 Byte
1 Byte
1 Word
1 Word
1 Word
Respond telegram
Slave address
Function code
Number of
read Bytes
Data
1. Byte
Data
2. Byte
...
Check sum
CRC/LRC
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Word
max. 250 Byte
03h: Read n Words of master output area 4x
04h: Read n Words master input area 3x
Command telegram
Slave address
Function code
Address
1. Bit
Number of
Words
Check sum
CRC/LRC
1 Byte
1 Byte
1 Word
1 Word
1 Word
Respond telegram
Slave address
Function code
Number of
read Bytes
Data
1. word
Data
2. word
...
Check sum
CRC/LRC
1 Byte
1 Byte
1 Byte
1 Word
1 Word
1 Word
max. 125 Words
Code 05h: Write 1 Bit to master output area 0x
A status change is via "Status Bit" with following values:
"Status Bit" = 0000h
→
Bit = 0
"Status Bit" = FF00h
→
Bit = 1
Command telegram
Slave address
Function code
Address
Bit
Status
Bit
Check sum
CRC/LRC
1 Byte
1 Byte
1 Word
1 Word
1 Word
Respond telegram
Slave address
Function code
Address
Bit
Status
Bit
Check sum
CRC/LRC
1 Byte
1 Byte
1 Word
1 Word
1 Word
Read n Bits
01h, 02h
Read n Words
03h, 04h
Write 1 Bit
05h
Summary of Contents for CP 240 RS232
Page 1: ...Manual VIPA System 200V CP Order No VIPA HB97E_CP Rev 11 30...
Page 2: ...L...
Page 14: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E CP Rev 11 30...
Page 126: ...Chapter 5 CP 240 EnOcean Manual VIPA System 200V 5 32 HB97E CP Rev 11 30...
Page 144: ...Chapter 6 CP 240 M Bus Manual VIPA System 200V 6 18 HB97E CP Rev 11 30...
Page 148: ...Index Manual VIPA System 200V A 4 HB97E CP Rev 11 30 M Stich...