15
WB
Write PT memory ($B)
Write to $B data in PT memory.
Per command, a maximum of 100 bits can be written.
•
Command format
ESC
command *S *A
*L
*D
SUM
CR
$1B
W
B Variable
length
$0D
[Settings]
BCD1 digit
SUM value
0 OFF
1 ON
8 OFF
*S
9 ON
Bit number: 1 fixed. Parameter 2 omitted.
*A
0000to7FFF
Initial address number (hexadecimal 4 digits)
*L
00to99
Entry bit number (BCD 2 digits)
When 00, 100 is meant.
*D
00 to FF
Bit data (hexadecimal 1 digit value for 4 bits each)
0: OFF, 1: ON
Fills data in descending order starting with first digit.
Turns 4 bits into a binary 4 digit value and displays this
as a hexadecimal 1 digit value. The next hexadecimal 1
digit value continues with the following 4 bits.
Fills any of the last 4 bits that does not actually have a
valid read-out data with 0.
[example]
from $B10, 6 bits have read-out value
$B10 11 12 13 14 15 * *
1 0 1 0 1 1 0 0
→
AC (converted to
hexadecimal form)
•
Normal completion response format (only when response under
communications conditions is ON).
ESC
command *D
SUM
CR
$1B
W B
0
0
$0D
[Settings]
*D
00 fixed. Indicates normal completion.