Sharp JW-21MN manual Correct clock time, Monitor step status JW20/JW20H only, 10-9

Models: JW-21MN

1 114
Download 114 pages 59.56 Kb
Page 48
Image 48

[11] Correct clock time

Correct the clock setting. However, when a JW-21CU or JW-31CUH/H1 is used as PC, they do not have clock function and the reading will be meaningless.

[Write mode assignment]: 1 or 2

[Communication format]

 

Command

"+"

"C"

 

"L"

"A"

CMD

SUB

ATTR

CTRL

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

 

"C"

"L"

"A"

CMD

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

Data

 

 

 

Details

 

CMD

 

45(H)

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

 

B4(H)

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00(H)

Start operation of the clock

 

 

 

 

 

 

 

 

 

 

01(H)

Stop operation of the clock

 

CTRL

 

 

 

 

02(H)

Reset digits lower than the second

 

 

 

 

 

 

 

 

 

 

 

08(H)

Correct 30 seconds (Round off 0 to

 

 

 

 

29 sec., and round up 30 to 59 sec.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] To stop the clock. (The data in cells are in hexadecimal notation)

Command

2B

43

4C

41

45

B4

00

01

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

Stop operation

 

 

 

 

 

 

 

 

 

 

Response

2B

00

43

4C

41

45

B4

00

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

 

[12] Monitor step status: JW20/JW20H only

Read out "N" byte data from specified process and step. [Write mode assignment]: None

[Communication format]

 

Command

 

"+"

 

"C"

 

"L"

"A"

CMD

SUB

ATTR

PRS

STP

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

 

"C"

"L"

"A"

CMD

SUB

ATTR

PRS

SPT

N

D1

D2

 

DN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

 

Data

 

 

 

 

Details

 

 

 

 

 

 

 

 

 

CMD

 

 

44(H)

 

 

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

 

 

64(H)

 

 

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PRS

 

000 to

003(H)

Process number

 

 

 

(Symbols other than

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STP

 

000 to

007(H)

 

Step number

 

 

 

 

 

 

 

 

 

 

those shown on the left:

 

 

N

 

 

01 to

08(H)

 

 

Number of bytes to read out

See page 10-3.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1 to DN

 

See the example

Read the data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] Read the data for process number 03 and step number 002 to 004(8). (The data in the cells are in hexadecimal notation)

Command

2B

43

4C

41

44

64

00

03

 

02

03

 

 

 

 

 

 

 

 

 

"+"

 

"C"

"L"

"A"

 

CMD

 

SUB

 

ATTR Process

 

 

Number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number

 

of reading

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Step

bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

 

00

43

4C

 

41

 

44

 

64

 

00

 

03

02

 

 

03

08

01

03

 

 

 

ACK

 

 

 

 

 

CMD

 

SUB

 

 

 

AM 3

 

 

 

 

30

Step

Step

Step

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

30 seconds 002

003

004

 

 

 

 

 

 

 

 

 

 

 

 

 

 

oÕclockminute

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read out data

10

10-9

Page 48
Image 48
Sharp JW-21MN manual Correct clock time, Monitor step status JW20/JW20H only, 10-9