Chapter 8. Data Block Format - Sharp ER-A57R1 Service Manual

Table of Contents

Advertisement

CHAPTER 8. DATA BLOCK FORMAT

1. Basic format
1) ID-ENQ :
EOT is set as dummy cahracters. (3 bytes)
2) ACK :
1 byte 06h
3) NAK :
1 byte 15h
4) EOT :
1 byte 04h
5) ENQ :
1 byte 05h
6) TEXT :
Data ASCII (max. 250 bytes)
Block consecutive No.
Start code
Start code : This code may not be provided.
Null is impermissible.
End code : This code may not be provided.
Null or any same code as the start code is
not permissible.
When master reset is performed, the default is assumed:
Start code = 02h
End code = 0Dh
Block consecutive No. : This number starts with 30h and cycles
like this: 30h, 31h — 39h, 30h, 31h (Ring
counter system)
Check sum
: 2 bytes hex number
Low-order 8-bit data of the complement of
2 for the sum of text data.
RAM data:
: Even number of data that is obtained by
dividing one byte of RAM data into high-
order 4 bits and low-order 4 bits and con-
verting them to ASCII codes shown in the
code conversion table.
Code conversion table .
Print code (high-order or low-order 4 bits)
Bit image
Hexadecimal
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
10bytes
ENQ code (05h)
Terminal No. 000001-999999 (6 bytes)
End code
Check sum
Line image
ASCII
0
30h
1
31h
2
32h
3
33h
4
34h
5
35h
6
36h
7
37h
8
38h
9
39h
A
41h
B
42h
C
43h
D
44h
E
45h
F
46h
Example
Memory image
Line image
CHAPTER 9. RS-232 application
1. RS-232 preset
1) SRV programming
[JOB#945] MRS = 0000
The assignment of RS-232 channel by each devices.
945
X
945-A: Channel No. for ONLINE = 0 to 7.
945-B: Not used. (Fixed at "0")
945-C: Not used. (Fixed at "0")
945-D: Not used. (Fixed at "0")
∗ When channel No. is zero, system is nothing.
∗ Do not select the same channel number with two or more devices.
∗ Use the switches on the I/F board to set the channel No. for the I/F
board connector. (Refer to the RS-232 channel setting in IV.
HARDWARE DESCRIPTION FOR ER-A5RS.)
2) PGM programming
Job#
PGM-MODE programming for online operation
6110
Programming of the terminal number
6111
Programming of the modem control
6112
Programming of the transmission data rate (Bau
rate)
6113
Programming of the start and end code.
6110
Online Preset reading
[JOB#6110] MRS = 000001
Programming of the terminal number
6110
X
NK: Terminal No. = 0 to 999999
2 ™ 15
1
2
3
02
5A
F0
1
2
30h
32h
35h
41h
Transmission sequence
0
ABCD
TL
0
NK
TL
3
46h
30h

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Er-a5rsEr-a570Er-a6in

Table of Contents