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

The text of a manual · part 18 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 139 to 148

Pages 139 to 148 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 139

From the previous page [Example for setting] The master station and slave station 01 and 02 are JW-20CM. It shows example for setting that slave station 01 is data link (standard function) and slave station 02 is data link (memory capacity save function : V5 ).

(Standard) Slave station 01

Master station

(Save memory) Slave station 02 Offset (4 bytes)

コ0200

コ 0210

コ 0210

8 bytes Relay 4 bytes link area

○ : Send ● : Receive

コ 0214 コ 0220 コ 0224

コ0223

コ1000

8 bytes

コ1004 コ 0233

4 bytes 8 bytes

コ1013

コ 0400

コ 0400

コ 0420

コ 0420

9000

コ 0430

9010

コ 0437

9017

Off set (8 bytes)

16 bytes Register link area

8 bytes

8 bytes コ 0430

8 bytes

8 bytes コ 0437 コ 0740

Flag 24 bytes area Station No. コ 0767 information

コ 0770

Flag 24 bytes

Flag 24 bytes

コ0740

19000 Station No. 19027 19030

Station No. ココ0767 0770 information

9 information

Maser station

Slave station 1 (standard)

Slave station 2 (save memory)

コ0210

コ0200

※ コ1000

–

–

4 bytes

Number of sending bytes of relay link

8 bytes

4 bytes

8 bytes

Number of receiving bytes of relay link

–

–

※ 4 bytes

コ0400

コ0400

※ 09000

–

–

8 bytes

Number of sending bytes of register link

16 bytes

8 bytes

8 bytes

Number of receiving bytes of register link

–

–

※ 8 bytes

Top address of flag area

コ0740

※ コ0740

※ 19000

Station number information output

Yes

※ Yes

※ Yes

Top address of relay link area Number of off set bytes of relay link area

Top address of register link area Number of off set bytes of register link area

No mark -- Setting by parameter of master station ※ ---------- Setting by parameter of slave station

To the next page

9·41

Page 140

From the previous page Data link function setting [HEX (hexadecimal), byte] • Set “01(H) (=001(8))” in parameter address 004002(8) and change to “relay/register link.” Screen display of JW-13PG

(Operation example of JW-13PG) Write 001(8) to 004002(8)

Set number of connecting stations

04000 04001 I PARAM. >04002

HEX HEX

880 00F

HEX

01

[DCM (decimal), byte]

• Set the number of connecting stations (02 to 64(D)) including the master station in the parameter address 004003(8) by octal. • If you try to set values other than 02 to 64(D), JW-20CM the displays 6F(H) error code. Screen display of JW-13PG

After converting into decimal notation in 004003(8), write “003.”

04001 04002 I PARAM. >04003

DCM DCM

000 001

DCM

003

Set top address of relay link area on slave station (01 to 77) (at standard function)/number of offset bytes (memory capacity save function) File address: OCT (octal), word File number/flag: HEX (hexadecimal), byte Set the "same" as or "different" from the master station: HEX (hexadecimal) , bytes.

9

• Set in parameter addresses 004004 to 004377(8). These top addresses should not overlap the register link area, flag area, or any area used by other option module. Slave station 01

004004(8) 004005(8) 004006(8) 004007(8)

〜 Slave station 77(8)

004374(8) 004375(8) 004376(8) 004377(8)

Lower Upper 00(H)

·

Lower Upper 00(H)

·

In case of standard function, set top address by file address(8). In case of save memory function, set number of offset bytes. 00(H): The top address is the same address of the master station regardless of the value set at of 004004 to 004005(8). 80(H): The top address is different from the address of the master station (Offset is valid). For the save memory function, set in 80(H).

00(H) 80(H)

• In case of setting コ0200 (file address 000200(8)) in parameter addresses 004004 to 004007(8) (slave station 01) and set 4 (number of off set bytes) in 004010(8) to 004013(8) (slave station 02). (Example for page 11·10.) To the next page

9·42

Page 141

From the previous page

( ) Word display

Slave station 01

Write 000200 (8) in parameter addresses 004004 to 004005(8). Convert to octal figures

Write 000(8) (=00(H)) in parameter address 004006(8).

( ) Byte display

Write 80(H) (the top address is not same as the master station) in parameter address 004007(8). Convert to hexadecimal figures

Write 00004(D) (offset 4) in parameter addresses 004010 to 004011(8).

Slave station 02

Write 00(H) in parameter address 004012(8).

Write 80(H) (offset valid) in parameter address 004013(8). Screen display of JW-13PG 04011 04012 I PARAM. >04013

HEX HEX

00 00

HEX

80

Set top address of register link area on the master station File address: OCT (octal), word File number: HEX (hexadecimal) , bytes. Set on the parameter address (004400 to 004403(8)) in the file address(8). These top addresses should not overlap the register link area, flag area, or any area used by other option modules. 004400(8) 004401(8) 004402(8) 004403(8)

Lower Upper File number

File address

• In case of setting コ0400 (file address 000400(8)) in parameter addresses 004400 to 004403(8) and set 0 (file number) in 004402(8). (Example for page 9·41). Display the contents of parameter addresses 004400 to 004401(8) Write 000400(8) after converting to octal. Write file no 0 in parameter address 004402(8). Screen display of JW-13PG 04400 04401 I PARAM. >04402

To the next page

9·43

OCT OCT

000 001

OCT

000

9

Page 142

From the previous page Set top address of register link area on slave station 01 to 77(8) (at standard function)/ number of offset bytes (at memory capacity save function) File address: OCT (octal), word File number/flag: HEX (hexadecimal), byte Set the "same" as or "different" from the master station: HEX (hexadecimal) , bytes.

Set in parameter addresses 004404 to 004777(8). These top addresses should not overlap the register link area, flag area, or any area used by other option module. Slave station 01

004404(8) 004405(8) 004406(8) 004407(8)

〜 Slave station 77(8)

004774(8) 004775(8) 004776(8) 004777(8)

Lower Upper File number

·

〜 Lower Upper File number

·

In case of standard function, set top address by file address(8). In case of memory capacity save function, set number of offset bytes. 00(H): The top address is the same address of the master station regardless of the values set at of 004404 to 004405(8). 80(H): The top address is different from the address of the master station (Offset is valid). For the memory capacity save function, set in 80(H). 00(H) 80(H)

• In case of setting 0 (the top address is コ0440, the same as the address of the master station) in parameter addresses 004404 to 004407(8) (slave station 01) and the offset byte number 8 and “offset valid” on the parameter address 004410 to 004413(8) (slave station 02). (Example for 9·40)

9

Slave station 01

Write 0 in parameter 004004 to 004007(8) (same as master station). Write 00008(D) (offset 8) in parameter addresses 004410 to 004411(8).

Slave station 02

Write 00(H) (file 0) in parameter address 004412(8). Write 80(H) (offset valid) in parameter address 004413(8). Screen display of JW-13PG 04011 04012 I PARAM. >04013

To the next page

9·44

HEX HEX

00 00

HEX

80

Page 143

From the previous page Set the number of sending bytes of the master station relay link [DCM (decimal), word] • Set in parameter addresses 005000 to 005001(8). 005000(8) 005001(8)

Lower Upper

• These top addresses should not overlap the register link area, or the flag area, or exceed the setting range (0 to 256 bytes for each station, 256 bytes for all stations in total). In case of setting 8 bytes: Using JW-13PG example for page 9·41 Display the contents of parameter addresses 005000 to 005001(8) Screen display of JW-13PG Write 00008(D) after converting to decimal. 04774 D 00000 04776 I PARAM. >05000

D

00000

D

00008

Set the number of sending bytes of the slave station (01 to 77) relay link [DCM (decimal), word] • Set the number of sending bytes in decimal on the parameter addresses 005002 to 005177(8). (set in each station, 2 bytes for each station). These top addresses should not overlap the register link area, or the flag area, or exceed the setting range (0 to 256 bytes for each station, 256 bytes for all stations in total). Slave station 01(8) Slave station 77(8)

005002(8) 005003(8) to 005176(8) 005177(8)

Lower Upper to Lower Upper

}Enter by decimal }Enter by decimal

(In case of setting 4 bytes for slave station 01, and set 8 bytes for slave station 02: Example of page 9·41) Slave station 01

Write 00004(D) in parameter addresses 005002 to 005003(8).

Slave station 02

Write 00008(D) in parameter addresses 005004 to 005005(8). Screen display of JW-13PG 05000 05002 I PARAM. >05004

To the next page

9·45

D D

00008 00004

D

00008

9

Page 144

From the previous page Set the number of sending bytes of the master station register link [DCM (decimal), word] • Set the number of sending bytes in decimal on the parameter addresses 005200 to 005201(8). • These top addresses should not overlap the relay link area or the flag area, or exceed the setting value (0 to 2048 bytes for each station, 2048 bytes for all stations in total). 005200(8) 005201(8)

Lower Upper

}Enter by decimal

(In case of setting 16 bytes using JW-13PG: Example of page 9·41) Display the contents of parameter addresses 005200 to 005201(8) Screen display of JW-13PG Write 00016(D) in decimal notation. 05174 05176 I PARAM. >05200

D D

00000 00000

D

00016

Set the number of sending bytes of the slave station (01 to 77(8)) register link [DCM (decimal), word] • Set the number of sending bytes in decimal on the parameter addresses 005202 to 005377(8). (set in each station, 2 bytes for each station). These top addresses should not overlap the resister link area, or the flag area, or exceed the setting range (0 to 2048 bytes for each station, 2048 bytes for all stations in total). Slave station 01

Slave station 77(8)

9

005202(8) 005203(8) to 005376(8) 005377(8)

Lower Upper to Lower Upper

(In case of setting 8 bytes both for slave station 01 and 02: example of page 9·41) Slave station 01

Write 00008(D) in parameter addresses 005202 to 005203(8).

Slave station 02

Write 00008(D) in parameter addresses 005204 to 005205(8). Screen display of JW-13PG 05200 05202 I PARAM. >05204

To the next page

9·46

D D

00016 00008

D

00008

Page 145

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. Station No. (8)

Address (8)

Station No. (8)

Address

(8)

―

―

007520

20

007501

01

007521

007502

02

007503

Address

Station No. (8)

Address (8)

Station No. (8)

007540

40

007560

60

21

007541

41

007561

61

007522

22

007542

42

007562

62

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

(8)

9

Initial value: 00(H) in all address (1 second) (In case of setting 020(D) (2 sec.) both for slave station 01 and 02 using JW-13PG) Screen display of JW-13PG

Display the contents of address 007501(8)

Write setting value

Writs setting value in addrsee 007502(8)

To the next page

9·47

07500 07501 I PARAM. >07502

DCM DCM

000 020

DCM

020

Page 146

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/JW20H, 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

JW-22CM

Address (8)

9

Set values(H)

Station number (8)

Address

Station number (8)

Address (8)

Station number (8)

Address

(8)

(8)

Station number (8)

007620

20

007640

40

007660

60

007601

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

1. Initial value: 91(H) all address. 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 slave station 01 and 02 (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 or JW20CM).

Screen display of JW-13PG

After converting to hexadecimal, write the setting value.

Display the contents of address 007601(8)

To the next page

Write setting value in addrsee 007602(8)

9·48

07600 07601 I PARAM. >07602

HEX HEX

00 91

HEX

91

Page 147

From the previous page “When PC is JW model and the SEND/RECEIVE function is used” 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 In the SEND/RECEIVE function, the JW-20CM can send 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 you enter values other than “00(H), 81(H) to 83(H)” the JW-20CM ignores the entry. To the next page

9·49

9

Page 148

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

V5

Set top address in communication information storage area when using data memory starting system of SEND/RECEIVE functions Set address of communication information storage area in parameter addresses 007710 to 007713(8). Top address of communication information Lower 007710(8) storage area Upper (file address) 007711(8) 007712(8) 007713(8)

File number of communication information storage area

This setting is valid by 80(H)

Set connection status of slave station [bit pattern, byte] • In the initial settings of the data link function, the JW-20CM will not display errors (on the LEDs on the panel, or in the system memory) even if it detects a communication error in a slave station. In order to display the error when a slave station communication error is detected, set bit 0(E) at parameter address 007750(8) to ON. Each bit at addresses 00751 to 007757(8) corresponds to a slave station. Turn ON the respective bit if required. (See page 13·15.) With the setting above, the JW-20CM will display errors when a slave station whose corresponding bit is ON produces a communication error. 7 6 5 4 3 2 1 0 Ex.: Setting the bits to output errors for slave 007750(8) 0 0 0 0 0 1 1 1 stations 01 and 02 using the JW-13PG. Screen display of JW-13PG 07746 □□□□□□□□ 07747 □□□□□□□□ I PARAM. >07750 □□□□□■■■

9

· If a bit corresponding to a slave station is turned OFF, the module will not display an error code for a slave station which has an error.

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.)

To the next page

9·50