10-3 Optional commands

The JW-21MN optional commands are any commands not specified in the ME-NET specifications. These are commands specific to the JW-21MN. The host computer may use these optional commands for communication between JW-21MNs and PCs (JW20/JW20H/JW30H) with a JW-21MN installed. The table below shows optional commands (1) to (19) for the JW-21MN.

 

 

Optional command

Reference page

[1]

Read free memory size

10-4

 

 

 

[2]

Monitor TMR, CNT, and MD

10-4

 

 

 

[3]

Reading PC mode

10-5

 

 

 

[4]

Setting PC mode

10-5

 

 

 

[5]

Reading system memory

10-6

 

 

 

[6]

Writing system memory

10-6

 

 

 

[7]

Reading date

10-7

 

 

 

[8]

Setting date

10-7

 

 

 

[9]

Reading time

10-8

 

 

 

[10]

Setting time

10-8

 

 

 

[11]

Correct clock time

10-9

 

 

 

[12]

Monitor step status

10-9

 

 

 

[13]

Read the optional parameters

10-10

 

 

 

[14]

Set the optional parameters

10-10

 

 

 

[15]

Read the special I/O parameters

10-11

 

 

 

[16]

Set the special I/O parameters

10-11

 

 

 

[17]

Set the secret function

10-12

 

 

 

[18]

Release the secret function, register a password

10-12

 

 

 

[19]

Check the secret status

10-13

 

 

 

 

[Communication format, basic pattern]

Command

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

C.TEXT

 

 

 

 

 

 

 

 

Response (normal)

JW20/JW20H only

JW30H only

10

"+"

ACK

"C"

"L"

"A"

CMD

SUB

ATTR

C.TEXT

 

 

 

 

 

 

 

 

 

- Response on error: See page 10-14.

Symbol

Data

Details

"+"

2B(H)

Optional command

 

 

 

"C"

43(H)

SHARP manufacturer

"L"

4C(H)

Identification code

 

 

 

"A"

41(H)

Model code (PC)

 

 

 

CMD

*1

Function code

 

 

 

SUB

*2

Sub code

 

 

 

ATTR

00(H)

Always set to 00(H)

 

 

 

C.TEXT

*3

Assignment detail of

R.TEXT

each optional code

 

 

 

 

ACK

00(H)

Response (when normal)

 

 

 

*1, *2, and *3 See each optional command (10-4 to 10-13)

10-3

Page 42
Image 42
Sharp JW-21MN manual Optional commands, 10-3, Communication format, basic pattern