Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 21 of 27

SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual: Chapter 10: Computer link, pages 169 to 178

Pages 169 to 178 of 230, from SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual

The original document is the PDF (2.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Sharp ZW-1PU, Sharp ZW-32IO2 and Sharp ZW-32S2T

Page 169

Chapter 10 Computer link 10-1 Description for computer link · You can transmit data between JW-20CM and host computer having a network module ZW-98CM/ZW20AX and the like. · Computer link function can not be used separate mode, but simultaneously with operation of data link function. · Both JW and ZW model PCs can be connected on the same cable.

JW-20CM

PC

ZW-20CM

PC

Network module

JW-22CM JW20 JW20H JW30H

(64 stations max., Total length: 1km max.)

· In order to use the computer link function, you must use application software which can send a command from the host computer and receive a response from the opposite station. See “Instruction manual of network module ZW-98CM/ZW-20AX etc.” and the like for operation method on host computer side.

10

10·1

Page 170

10-2 Communication method The host computer communicates with each station number one by one. ① The host computer instructs station number/communication contents/memory address/data etc. of the communicating station as a “command.” ② The “command” receiving station processes this data and returns the result as “response.” (System example) Master station 00(8)

Slave station 01(8)

Slave station 02(8)

Slave station 03(8)

Host computer

Command Response

On the computer link, the host computer can communicate with any required station regardless of whether it is the master or slave station.

10

10·2

Page 171

10-3 Switch setting Same as setting switch of data link. (See page 9·17 to 9·21) When you was already used for data link, setting switch is unnecessary.

Operation procedure

Start

Power “OFF” master/slave station

Remove the setting switch cover.

Set MODE (function) switch

Set STA. NO. (station number) switch

Set LT (termination resistance) switch

Set LG (shield ground) switch

Attach label

End

10·3

10

Page 172

10-4 Command For communication format etc., see network module ZW-98CM/ZW-20AX etc. instruction manual of host computer side. Read out relay (1 point unit) Function

Read out ON (01(H))/OFF (00(H)) status of specified relay.

Command code

00(H) (MRL)

Writing mode assignment

No

Operation condition of PC

Unrelated

Assignable address

00000 to 15777(8)

Letters in brackets are command name of BASIC mode.

Set/reset relay (1 point unit) Function

Set (01(H))/reset (00(H)) the specified relay.

Command code

10(H) (SRR)

Writing mode assignment

No

Operation condition of PC

Unrelated

Assignable address

00000 to 15777(8)

Letters in brackets are command name of BASIC mode.

10

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·4

Page 173

Read out current value of register/file register (1024 bytes max./ one time) Function

Read out current value that specified register/file register

Command code

00(H) (MRG, RFLF)

Writing mode assignment

No

Operation condition of PC

Unrelated

Letters in brackets are command name of BASIC mode.

Assignable address

When PC is ZW model

※

When PC is JW model

コ0000 to コ1577 b0000 to b1777

コ0000 to コ1577 b0000 to b1777

09000 to 09777

19000 to 19777

09000 to 09777

19000 to 19777

29000 to 29777

39000 to 39777

49000 to 49777

59000 to 59777

69000 to 69777

79000 to 79777

89000 to 89777

99000 to 99777

E9000 to E9777

E1000 to E1777

File 1 to 7 : 000000 to 177777

※ Usable file number varies with memory module using for PC. (See page 13·21) ※

File 1 to 7 : 000000 to 177777

Write in register/file register (1024 bytes max./ one time) Function

Write in manual data that specified register/file register

Command code

13(H) (SRT)

Writing mode assignment

1 or 2

Operation condition of PC

Unrelated

Letters in brackets are command name of BASIC mode.

Assignable address When PC is ZW model

※

When PC is JW model

コ0000 to コ1577 b0000 to b1777

コ0000 to コ1577 b0000 to b1777

09000 to 09777

19000 to 19777

09000 to 09777

19000 to 19777

29000 to 29777

39000 to 39777

49000 to 49777

59000 to 59777

69000 to 69777

79000 to 79777

89000 to 89777

99000 to 99777

E9000 to E9777

E1000 to E1777

File 1 to 7 : 000000 to 177777

※ Usable file number varies with memory module using for PC. (See page 13·21) ※

File 1 to 7 : 000000 to 177777

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·5

10

Page 174

Write in same data to register/file register Function

Write in same data that specified register/file register

Command code

12(H) (FRG)

Writing mode assignment

1 or 2

Operation condition of PC

Unrelated

Letters in brackets are command name of BASIC mode, but unavailable for writing in same data to file register.

Assignable address When PC is ZW model

※

When PC is JW model

コ0000 to コ1577 b0000 to b1777

コ0000 to コ1577 b0000 to b1777

09000 to 09777

19000 to 19777

09000 to 09777

19000 to 19777

29000 to 29777

39000 to 39777

49000 to 49777

59000 to 59777

69000 to 69777

79000 to 79777

89000 to 89777

99000 to 99777

E9000 to E9777

E1000 to E1777

File 1 to 7 : 000000 to 177777

※ Usable file number varies with memory module using for PC. (See page 13·21) ※

File 1 to 7 : 000000 to 177777

10

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·6

Page 175

Read out current value of timer/counter/MD Function

Read out current value that specified timer/counter/MD

Command code

03(H) (MTC)

Writing mode assignment

No

Operation condition of PC

Unrelated

Letters in brackets are command name of BASIC mode.

Assignable address : When PC is except for JW50H/70H/100H 0000 to 0777(8) : When PC is JW50H/70H/100H 0000 to 0777(8)

Set/reset timer/counter (1 points unit) Function

Specify writing mode

Set (timeup, countup) or reset (return to setting value) that specified timer/counter Letters in brackets are 13(H) (SRT) command name of BASIC mode. 1 or 2

Operation condition of PC

Unrelated

Command code

Assignable address

10

: When PC is except for JW50H/70H/100H 0000 to 0777(8) : When PC is JW50H/70H/100H 0000 to 0777(8)

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·7

Page 176

Read out current value of system memory (256 bytes max./one time) Function

Read out current value that specified system memory

Command code

04(H) (RSM)

Writing mode assignment

1 or 2

Operation condition of PC

Unrelated

Letters in brackets are command name of BASIC mode.

Assignable address When PC is ZW model

When PC is JW model

Segment 0 00000 to 00177(8)

Segment 0 00000 to 00177(8)

Segment 8 00200 to 00377(8)

Segment 8 00200 to 02177(8)

Write in system memory (256 bytes max./one time) Function

Write in manual data to specified system memory

Command code

14(H) (WSM)

Writing mode assignment

2

Operation condition of PC

Stopping

Letters in brackets are command name of BASIC mode.

Assignable address

10

When PC is ZW model

When PC is JW model

Segment 0 00000 to 00177(8)

Segment 0 00000 to 00177(8)

Segment 8 00200 to 00377(8)

Segment 8 00200 to 02177(8)

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·8

Page 177

Read out program memory (512 steps max./one time) Function

Writing mode assignment

Read out contents that specified program memory using machine language. Letters in brackets are 05(H) (RPM) command name of BASIC mode. No

Operation condition of PC

Unrelated

Command code

Assignable address

When PC is ZW model 000000 to 076777(8)

Address varies with memory capacity.

When PC is JW50, JW50H 000000 to 016777(8) When PC is JW70/100, JW70H/100H 000000 to 076777(8), 100000 to 176777(8)

Write in program memory (512 steps max./one time) Function

Write in manual instruction words to specified program memory.

Command code

15(H) (WPM)

Writing mode assignment

2

Operation condition of PC

Stopping

Assignable address

Letters in brackets are command name of BASIC mode.

When PC is ZW model 000000 to 076777(8)

Address varies with memory capacity.

When PC is JW50, JW50H 000000 to 016777(8) When PC is JW70/100, JW70H/100H 000000 to 076777(8), 100000 to 176777(8)

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·9

10

Page 178

Change the setting value of timer/counter (1 point unit) Function

Change the assigned value of the timer/counter to any value.

Command code

16(H) (CTC)

Writing mode assignment

2

Operation condition of PC

Unrelated

Assignable address

Letters in brackets are command name of BASIC mode.

When PC is ZW model Segment 8 000000 to 076777(8) When PC is JW model Segment 9 000000 to 076777(8)

10

· "Writing mode assignment" is used to show whether writing to the PC memory has been enabled or disabled. 0: Writing prohibited 1: Enable writing only to data memory 2: Enable writing all data. No setting: Enable writing in any mode

10·10