4 ASCII protocol communication
CP340/CP341/CP440/CP441 Communication and Programming
Entry-ID: 88867653, V1.0, 02/2014
24
S
ie
m
e
n
s
A
G
2014
A
ll r
ig
h
ts
r
e
s
e
rv
e
d
type
REQ
BOOL
Send Data trigger bit, rising edge
trigger, which is M0.0 in this
example
R
BOOL
Cancel send, discontinue
communication
LADDR
INT
Module start logic address in
hardware configuration, which is
512 in this example
DB_NO
INT
Send Data block number, which
is 1(DB1) in this example
DBB_NO
INT
Start address of Send Data,
which is 0(DB1.DBB0) in this
example
LEN
INT
Length of send data, which is 15
in this example
DONE
BOOL
send complete bit, which is TRUE
if Send completes and has no
error
ERROR
BOOL
error bit, which is TRUE if send
has error
STATUS
WORD
status word indicating error code.
If ERROR = 1, this status word
includes error information, and
user may check implication of the
information code online or obtain
the related instruction from
CP440 manual.
Table 7: Parameter definition of FB10 SEND_440