281
15.10 Intelligent Command
Valid range and
term of
command
When the power switch is OFF
The set parameter is not maintained.
The parameter preset will be invalid.
The parameter preset will be invalid.
[Function]
Send data to the specified port.
The maximum data for sending is 1024 bytes.
[Format]
<IT>a,b,cccc,ddd・・・d
●Parameter
a[Port to be sent] = 1 : Data port
2 : Sub port
b[Sending text format] = 0 : No additional code
1 : Add STX(02H) at the beginning and ETX(03H) at the ending
2 : Add CRLF(0D0AH) at the ending
3 : Add CR(0DH) at the ending
c[Sending digit] = Valid range : 1 ~ 1024
d[Data to be sent] = Valid range : For the digits specified by c, no limitation for code range
[Coding Example 1] Send data from the host via printer to the external peripheral
<A>
<IT>2,0,6,123456
<Z>
[Coding Example 2] Upload the contents in the internal buffer from the host
<A>
<IB>1
<IT>1,2,6
<Z>
Data Sending
Host
Data Port
.
.
.
Host
(3) Data sending
"123456CRLF"