WCP
:
Write Multiple Contacts Area
[Command]
Contact 1 No.
(4 characters)
n
(1 character)
Data
(1 character)
Contact
code
(1 character)
P
C
W
#
Transmis-
sion
destination
(L)
Transmis-
sion
destination
(H)
%
Data
(1 character)
cr
BCC
(L)
BCC
(H)
Contact n No.
(4 characters)
Contact
code
(1 character)
Number
of contacts
n = 1~8
Internal
relay R
Internal
relay R
Contact code and read single
contact (RCS) is the same.
[Response]
・
Normal response (write OK)
・
Error response (write error)
Error code
cr
BCC
(L)
BCC
(H)
C
W
$
Transmis-
sion source
(L)
Transmis-
sion source
(H)
%
cr
BCC
(L)
BCC
(H)
!
Transmis-
sion source
(L)
Transmis-
sion source
(H)
%
0
OFF
1
ON
Data
Contact state
[Data]
163
Decimal
(3 bits)
Hexadecimal
(1 bit)
Decimal
(3 bits)
Hexadecimal
(1 bit)