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

The text of a manual · part 16 of 27

SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual: Chapter 9: Data Link, pages 119 to 128

Pages 119 to 128 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 119

From the previous page

Attach label · Attach the data link label to this module, make setting “data link function” clear. · Write “STATION NO.” on this label. In case of master module

In case of slave module

LINK FUNCTION DATA LINK

LINK FUNCTION DATA LINK

STATION NO. PC00

STATION NO. PC01

Switch setting end.

9

9·21

Page 120

9-6

Setting contents of slave station parameters When the JW-20CM is used as a slave station, set the following items for parameters. Initial

Setting item

※1

①

Setting time-out item of SEND/ RECEIVE instruction

007500 to 007577

00

②

Setting PC model of each station in SEND/RECEIVE function

007600 to 007677

91

Select system of each channel in SEND/RECEIVE function V5

007700 to 007703

00

④

Top addresses in communication information storage area when using data memory starting system of SEND/RECEIVE V5 functions

007710 to 007713

⑤

Number of receiving bytes of relay link in memory capacity save function V5

007720 007721

⑥

Number of receiving bytes of register link in memory capacity save function V5

③

※2

⑦

9

⑧ ⑨

⑩

⑪

Top address of relay link area

V5 Top address of register link area

V5 Whether the station number information should be output or not V2

Top address of flag area (communication and PC operation condition monitor flag) Communication error detection interval

Corresponding signs on pages 11·7 and 11·8

Contents

Address(8) value (H)

For using SEND/RECEIVE instruction, set the time out time by decimal. [001 (0.1 sec..) to 255 (25.5 sec.)]

91(H): The PC is JW type and ZW-20CM has JW mark or JW-20CM or JW-22CM 81(H): The PC is ZW type and ZW-20CM has JW mark or JW-20CM. 00/81(H):ZW-20CM without JW mark Select instruction system or data memory starting system in CH0 to CH3

00

Setting by file number and file address. · Setting within communication information storage area (64 bytes) File 0: 000000 to 015777(8) File 1 to 7: 000000 to 177777(8)

00

Set the number of bytes by decimals. (0 to 64) · If 0 is set, the number of bytes will be the same as the number of the sending bytes which is set in the master station h1 to hn

007722 007723

00

Set the number of bytes by decimals. (0 to 512) · If 0 is set, the number of bytes will be the same as the number of the sending bytes which is set in the master station i1 to in

007730 to 007733

00

007734 to 007737

00

007763

00

Store the number of own station in the data memory when setting on 01(H). (storage area of 1 byte follows flag area of 24 bytes, valid when 007767(8) is 80(H))

007764

E0

Lower of file address

Initial value: 01E0(H)

007765

01

Upper of file address

007767(8) (コ0740)

007766

00

File number

007767

80

Flag output (Yes: 80(H) No: 00(H))

007771

00

Settable detection interval with 100 ms pitch

Set by file number and file address. (See page 13·20 and 13·21)

f1 to fn

Set by file number and file address. (See page 13·20 and 13·21)

g1 to gn

↓ e1 to en

00(H): Stop remote I/O operation 01(H): Start remote I/O operation

⑫

Writing to the EEPROM, start operation/stop setting

007777

01

80(H): Writing to the EEPROM, stop operation 81(H): Writing to the EEPROM, start operation 08(H): Initialize the parameter

※ 1 Set only any of JW50/70/100 or JW50/70H/100H is used as PC, and using SEND/RECEIVE instruction. ※2 Set only any of JW50/70/100 or JW50/70H/100H is used as PC, and using the memory capacity save function. ① to ⑫ correspond to numbers in the next page.

9·22

Page 121

In brackets: See page in chapter

When not using memory capacity save function

When not using SEND/RECEIVE function

9 Operation procedure Turn “ON” the power of master station PC

[ 24 ]

Connect support tools

[ 24 ]

Stop PC operation

[ 24 ]

Stop operation of data link (007777(8) =00(H))

[ 24 ]

①

Set time-out time of SEND/RECEIVE instruction

[ 25 ]

②

Set PC model of each station in SEND/RECEIVE function

[ 26 ]

③ V5

Select system of each channel in SEND/RECEIVE function

[ 27 ]

④ V5

Set top address in communication storage area when using data memory starting system of SEND/RECEIVE functions

[ 28 ]

⑤ V5

Set number of receiving bytes of relay link in memory capacity save function

[ 28 ]

⑥ V5 Set number of receiving bytes of register link in memory capacity save function

[ 28 ]

⑦ V5

Set top address of relay link area

[ 29 ]

⑧ V5

Set top address of register link area

[ 29 ]

⑨ V5

Select whether to output station number data

[ 30 ]

⑩

Set top address of flag area

[ 30 ]

⑪

Writing to EEPROM, start operation (007777(8) =81(H))

[ 31 ]

⑫

Start write to EEPROM and operation

[ 32 ]

PC operation

[ 32 ]

End ① to ⑨ correspond to numbers in the previous page.

9·23

9

Page 122

Turn “ON” the power of slave module

Connect support tools · Connect a support tool with the JW-20CM and prepare the setting parameter. <Usable support tools> JW-13PG/12PG JW-50SP JW-50PG, Z-100LP2S • For operation of each support tool, see the instruction manual attached. The following describes an example of JW-13PG’s key operation. Stop PC operation · Turn to program mode (stop PC operation). Setting of parameters is only available when the PC is in program mode. (Operation example of JW-13PG) Stop PC operation Select parameter setting mode. Select initial mode

9

Stop operation of data link

)

(

Parameter setting

[HEX (hexadecimal), byte]

· Setting of the parameter is only available when the operation of the JW-20CM is stopped. · Write “00(H)” to parameter address 007777(8) and stop operation of the JW-20CM. (Operation example of JW-13PG) Screen display of JW-13PG Display the contents of parameter address 007777 by hexadecimal.

( ) Write 00(H).

07775 07776 I PARAM. >07777

HEX HEX

00 00

HEX

00

Reference Function of JW-13PG • key: Changeover unit of figures

→ HEX (hexadecimal) → OCT (octal) → DCM (decimal) → Bit pattern • key: Byte display ←→ Changeover word display

To the next page

9·24

Page 123

From the previous page “When PC is JW model and the SEND/RECEIVE function is used” Set time-out time of SEND/RECEIVE function [DCM (decimal), byte] When the own station uses the SEND/RECEIVE instructions, set the time-out time on each communication target station. Setting range is 001 (0.1 sec.) to 255 (25.5 sec.) by decimal. 00(H) of initial value is 1 second.

(8)

Station number (8)

007500

Station number (8)

Address (8)

Station number (8)

Address

(8)

(8)

Station number (8)

Master station

007520

20

007540

40

007560

60

007501

01

007521

21

007541

41

007561

61

007502

02

007522

22

007542

42

007562

62

007503

03

007523

23

007543

43

007563

63

007504

04

007524

24

007544

44

007564

64

007505

05

007525

25

007545

45

007565

65

007506

06

007526

26

007546

46

007566

66

007507

07

007527

27

007547

47

007567

67

007510

10

007530

30

007550

48

007570

70

007511

11

007531

31

007551

51

007571

71

007512

12

007532

32

007552

52

007572

72

007513

13

007533

33

007553

53

007573

73

007514

14

007534

34

007654

54

007574

74

007515

15

007535

35

007555

55

007575

75

007516

16

007536

36

007556

56

007576

76

007517

17

007537

37

007557

57

007577

77

Address

Address

Initial value: All address 00(H) (1 second) (In case of setting 020(D) (2 sec.) in parameter addresses 007500(8) (master station) and 007501(8) (slave station 01).) アドレス ADRS

7

F

5

A

0

A

0

A

モニタ MNTR

C

A

2

0

C

0

After converting into decimal notation,write the setting value.

Display the contents of address 007500 (8) STEP (+)

2

書 込 ENT

Screen display of JW-13PG Write setting value in address 007501 (8)

07477 07500 I PARAM. >07501

To the next page

9·25

DCM DCM

000 020

DCM

020

書 込 ENT

9

Page 124

From the previous page “When PC is JW model and the SEND/RECEIVE function is used” Set PC model of each station [HEX (hexadecimal), byte] · Assign model type of the communication target station from ZW and JW PCs, ZW-20CM with JW applied or not, or JW-22CM (JW20/20H, JW30H). PC of target station Communication module of target station

ZW model

JW model

ZW-20CM (without JW applied sign)

00, 80

00, 80

ZW-20CM (with JW applied sign)

81

91

JW-20CM

81

91 91(H)

JW-22CM

Station number (8)

Address (8)

Station number (8)

Address

(8)

(8)

Station number (8)

007620

20

007640

40

007660

60

01

007621

21

007641

41

007661

61

007602

02

007622

22

007642

42

007662

62

007603

03

007623

23

007643

43

007663

63

007604

04

007624

24

007644

44

007664

64

007605

05

007625

25

007645

45

007665

65

007606

06

007626

26

007646

46

007666

66

007607

07

007627

27

007647

47

007667

67

007610

10

007630

30

007650

48

007670

70

007611

11

007631

31

007651

51

007671

71

007612

12

007632

32

007652

52

007672

72

007613

13

007633

33

007653

53

007673

73

007614

14

007634

34

007654

54

007674

74

007615

15

007635

35

007655

55

007675

75

007616

16

007636

36

007656

56

007676

76

007617

17

007637

37

007657

57

007677

77

Address

007760

Station number (8) Master station

007601

Address (8)

9

Setting value(H)

1. Initial value: All address 91(H). 2. Entering both 00(H) and 88(H) will produce the identical result. The SEND communication instruction (writing data) is not available with this setting. 3. You cannot program SEND/RECEIVE instructions in a ZW model PC. However, the ZW model PC will respond to SEND/RECEIVE instructions from a JW model PC. Ex.: When you want to enter 91(H) at both the master station and at slave station 01 (if the PC a JW model and the I/O is a ZW-20CM with a sticker indicating that it can be used with the JW model). After converting to hexadecimal, write the setting value.

Display the contents of address 007600(8)

To the next page

Screen display of JW-13PG 07577 07600 I PARAM. >07601

Write setting value in addrsee 007601(8)

9·26

HEX HEX

00 91

HEX

91

Page 125

From the previous page “When PC is JW model and the SEND/RECEIVE function is used”

V5

Select system in each channel in SEND/RECEIVE function Select the method of each channel (instruction or data memory starting) on the parameter address 007700 to 007703(8). 007700(8)

CH 0

007701(8)

CH 1

007702(8)

CH 2

007703(8)

CH 3

1. When using 1 channel alone Channel

CH 0 CH 1 CH 2 CH 3

Setting value (H)

System

00

Instruction system

80

Data memory starting system

00

Instruction system

81

Data memory starting system

00

Instruction system

82

Data memory starting system

00

Instruction system

83

Data memory starting system

2. When using connected channels (see page 10·2) In the SEND/RECEIVE function, the JW-22CM can transfer and receive a maximum of 256 bytes of data for each channel. For the data memory starting system, the amount of communication data can be increased by connecting channels. Set the data amount with 8X(H) (X is 0 to 3, determined depending on which channel is used for the connector.) When using connected channels, these should be consecutive channels. For example, channel 0 and 1, or channel 2 and 3 can be connected to each other, but channel 1 and 3 can not be connected to each other. [Example 1] When all channels are used for the data memory starting system (using 1 channel alone) CH 0 007700(8)

8 0 (H)

CH 1 007701(8)

8 1 (H)

CH 2 007702(8)

8 2 (H)

CH 3 007703(8)

8 3 (H)

[Example 2] When channel 0 is used for the instruction system, and channel 1 to 3 are the data memory starting system and used connected. (In this case, channel 2 and 3 can not be used.) CH 0 007700(8)

8 0 (H)

CH 1 007701(8)

8 1 (H)

CH 2 007702(8)

8 1 (H)

CH 3 007703(8)

8 1 (H)

If values other than “00(H), 80 to 83(H)” are set, they will be ignored. To the next page

9·27

9

Page 126

From the previous page “When PC is JW model and the SEND/RECEIVE function is used”

V5

V5

Set top address in communication information storage area when using data memory system of SEND/RECEIVE function · Set file address(8) in parameter addresses 007710 to 007713(8). Top address of communication information storage area (file address)

007710(8)

Lower

007711(8)

Upper

007712(8)

File number of communication information storage area

007713(8)

This setting is valid by 80(H)

“When PC is JW model and the memory capacity save function is used” Set the number of sending bytes of the relay link in save memory function [DCM (decimal), word] · Set the number of sending bytes in decimal on the parameter address 007720 to 007721(8). Lower Upper

007200(8) 007721(8)

· In case of setting 4 bytes using JW-13PG: Example for slave station 02 of page 9·41 Display the contents of parameter addresses 007720 to 007721(8) Write 00004(D) after converting to decimal Screen display of JW-13PG 07714 07716 I PARAM. >07720

V5

9

D D

00000 00000

D

00004

007720(8) 007721(8)

00004(D)

“When PC is JW model and the memory capacity save function is used” Set the number of receiving bytes of register link in save memory function Set the number of sending bytes in decimal on the parameter address 007722 to 007723(8). Lower Upper

007722(8) 007723(8)

· In case of setting 8 bytes for parameter addresses 007722 to 007723(8) using JW-13PG: Example for slave station 02 of page 9·41 Display the contents of parameter addresses 007722 to 007723(8) Write 00008(D) Screen display of JW-13PG 07716 07720 I PARAM. >07722

D D

00000 00004

D

00008

007722(8) 007723(8)

To the next page

9·28

00008(D)

Page 127

From the previous page

V5

“When PC is JW model and the memory capacity save function is used” File address: OCT (octal), word Set top address of relay link area. File number/flag: HEX (hexadecimal), byte · Set file address in parameter address 007730 to 007733(8). These top addresses should not overlap the register link area, flag area, or any area used by other option module. 007730(8)

Lower

007731(8)

Upper

007732(8)

00(H)

File address

007733(8)

In case of setting コ1000 (file address 001000(8)) using JW-13PG : Example for slave station 02 of page 9·41. アドレス ADRS

7

3 0

変 換 変 換 変 換 CONV CONV CONV STEP (+)

A

B

書 込 ENT

0

A

D

7

A

Display the contents of parameter address 007730 to 007731(8).

モニタ MNTR A

A

0 0 0

1

書 込 ENT

Write 001000(8)

Write parameter address 007732 to 007733(8) for 000000(8). Screen display of JW-13PG 07726 07730 I PARAM. >07732

V5

0 0

000000 001000

0

000000

“When PC is JW model and the memory capacity save function is used” File address: OCT (octal), word Set register link area of register link area. File number/flag: HEX (hexadecimal), byte · Set file address in parameter address 007734 to 007737(8). These top addresses should not overlap the relay link area, flag area, or any area used by other option module. 007734(8)

Lower

007735(8)

Upper

007736(8)

File number

File address

007737(8)

In case of setting 09000 (file address 004000(8)) using JW-13PG : Example for slave station 02 of page 9·41. STEP (+) STEP (+)

E

4

A

0

A

Write parameter address 007734 to 007735(8) for 004000(8).

A

0

0

A

0

Write parameter address 007736(8) for file number 0. Screen display of JW-13PG 07716 07720 I PARAM. >07722

D D

00000 00004

D

00008

To the next page

9·29

9

Page 128

From the previous page V5

Set whether the station number information should be output or not · Set whether the station number information should be output or not on the parameter address 007763(8).

007763(8)

Whether the station number information should be output or not

00(H): Do not output 01(H): Output The station number information is output on the next byte of the flag area (24 bytes.)

V5

File address: OCT (octal), word File number/flag: HEX (hexadecimal), byte

Set top address of flag area

· Set the top address of the flag area (24 bytes) in order to monitor the communication condition and PC operation condition on the parameter address 007764 to 007767(8). · Flag area uses 24 bytes regardless number of connecting stations. 007764(8) 007765(8) 007766(8) 007767(8) D7

Contents

Initial value

Lower

E0(H)

Upper

01(H) 00(H)

File number 0

80(H)

Output flag

Output flag : ON Do not output flag : OFF

Remarks

· The PC's input/output relays, auxiliary relays, registers etc. are all allocated individual byte addresses for each item. However, the JW-20CM can assign these addresses with file addressees allocated throughout the memory.

コ00677 コ00700 コ00777 コ01000

General purpose relay 001577 001600 001777 002000

Register 005777 006000

19777 29000

015777

99777

コ01577 TMR/CNT time limited contact b0000

TMR/CNT/MD current value

003777 b17777

· The usable file numbers will vary with the memory module that is installed on the PC. Name of memory module

Usable file numbers

ZW-1MA, JW-1MAH

0 or 1※

ZW-2MA, JW-2MAH

0 or 1

ZW-3MA, JW-3MAH

0, 1, 2

ZW-4MA, JW-4MAH

0, 1, 2, 3, 4, 5, 6, 7

To the next page

9·30

※ If file number is 1, file address shall be within 000000 to 037777(8). (See page 13·20 and 21 for other cases.)

JW model PCs

Latch relay

09777 19000

004777 005000 JW model PCs

000677 000700 000777 001000

Auxiliary relay

Register コ00377 コ00400

ZW model PCs

I/O relay 000377 000400

Byte address 09000

File address 004000

Byte address コ0000

File address

ZW model PCs

9

File number

Byte address 01E0(H)→000740(8)→コ0740