Commands and functions
P.
229 of 349
Resetrs232
Sendrs232
[EibPC]
rawdata=$$
len=0u16
Buffer=$$
if event(readrs232(rawdata,len)) and len>9u16 then {
Buffer= split(rawdata,0u16,9u16);
len=len-10u16;
rawdata=split(rawdata,10u16,EOS)
} endif
Definition
●
Function
resetrs232
()
Arguments
●
none
Effect
●
Performs a reset for the RS232 Interface
Data type result (Return)
●
none
Definition
●
Function
sendrs232
(
arg 1
[
, arg2, ... argN
])
Arguments
●
arg2
to
argN
arbitrary
Effect
●
“User data” to be transmitted are arbitrary in number and data type.
●
If
arg2
to
argN
are data type c1400, the terminating zero of the string will
not
be
transferred.
Data type result (Return)
●
none
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]