Manual VIPA System 200V
Chapter 3 Project engineering
HB97E - CP - Rev. 11/30
3-9
This block allows you the following access to the serial modem lines:
Read:
DTR, RTS, DSR, RI, CTS, CD
Write:
DTR, RTS
Declaration
Name
Type
Comment
in ADR
INT Logical
Address
in
RTS
BOOL
New state RTS
in
DTR
BOOL
New state DTR
in
MASKE_RTS
BOOL
0: do nothing
1: set state RTS
in
MASKE_DTR
BOOL
0: do nothing
1: set state DTR
out STATUS
BYTE Status
flags
out
DELTA_STATUS
BYTE
Status flags of change between 2 accesses
in_out
START
BOOL
Start bit of the function
in_out
AUFTRAG_LAEU
BOOL
Status of function
out
RET_VAL
WORD
Return Code (00=OK)
Note!
This block must not be called as long as a transmit command is running
otherwise you risk a data loss.
Periphery address with which you may call the CP 240. Via the hardware
configuration you may set the periphery address.
This parameter presets the status of RTS res. DTR, which you may
activate via MASK_RTS res. MASK_DTR.
With 1, the status of the according parameter is taken over when you set
START to 1.
STATUS returns the actual status of the modem lines. DELTA_STATUS
returns the state of the modem lines that have changed since the last
access.
The bytes have the following structure:
Bit no.
7
6
5
4
3
2
1
0
STATUS x
x
RTS
DTR
CD
RI
DSR
CTS
DELTA_STATUS x x x x
CD
RI
DSR
CTS
By setting of START, the state, which has been activated via the mask, is
taken over.
As long as the function is executed, this bit remains set.
At this time, this parameter always returns 00h and is reserved for future
error messages.
STEUERBIT (FC 8)
ADR
RTS, DTR
MASK_RTS,
MASK_DTR
STATUS,
DELTA_STATUS
START
AUFTRAG_LAEU
RET_VAL
Содержание CP 240 RS232
Страница 1: ...Manual VIPA System 200V CP Order No VIPA HB97E_CP Rev 11 30...
Страница 2: ...L...
Страница 14: ...Chapter 1 Basics Manual VIPA System 200V 1 6 HB97E CP Rev 11 30...
Страница 126: ...Chapter 5 CP 240 EnOcean Manual VIPA System 200V 5 32 HB97E CP Rev 11 30...
Страница 144: ...Chapter 6 CP 240 M Bus Manual VIPA System 200V 6 18 HB97E CP Rev 11 30...
Страница 148: ...Index Manual VIPA System 200V A 4 HB97E CP Rev 11 30 M Stich...