Sharp JW-21MN manual Read the optional parameters, Set the optional parameters, 10-10

Page 49

10

[13] Read the optional parameters

Read the parameter data for option module (other than JW-21MN) from the control module.

[Write mode assignment]: None

[Communication format]

 

Command

 

"+"

"C"

"L"

"A"

CMD

 

SUB

ATTR

UNO

PAADR

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

"C"

"L"

"A"

 

CMD

SUB

ATTR

 

UNO

PAADR

N

D1

 

DN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

 

 

Data

 

 

 

 

 

 

Details

 

 

 

CMD

 

 

 

42(H)

 

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

 

 

 

02(H)

 

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Symbols other

 

UNO

 

 

00 to 07(H)

Set value for the module No. switch

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

than the left: See

 

PAADR

 

 

000 to 077(8)

Read the starting address

 

 

 

 

 

page 10-3.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

 

 

01 to 40(H)

Number of bytes to read out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1 to DN

 

See the example

Read out data (for number of bytes of reading data)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] Read the parameters at address 030 to 032(8) for an option module (No.3). (Data in frames are in hexadecimal, except when followed by an(8), indicating octal data).

Command

2B

43

4C

41

42

02

00

03

030(8)

 

003(8)

 

 

 

 

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

UNO PAADR N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

2B

00

43

4C

41

42

02

00

03

030(3)

003(3)

15

21

03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

 

 

 

 

 

030

031

032

Read out data

[14] Set the optional parameters

Write parameter data of option module (other than JW-21MN) to the control module.

[Write mode assignment]

2 (or when the PC is stopped by using a "PC operation stop F8(H)" command).

[Communication format]

 

Command

 

"+"

 

"C"

"L"

"A"

CMD

SUB

ATTR

UNO

PAADR

N

D1

 

DN

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

ACK

"C"

"L"

"A"

CMD

SUB

ATTR

UNO

PAADR

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

 

 

Data

 

 

 

 

 

Details

 

 

 

 

 

 

CMD

 

 

 

42(H)

 

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

 

 

 

12(H)

 

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UNO

 

 

00 to 07(H)

Set value for the module No. switch

 

 

 

(Symbols other

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PAADR

 

 

000 to 077(8)

Write the starting address

 

 

 

than the left: See

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

page 10-3.)

 

N

 

 

01 to 40(H)

Number of bytes to write

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1 to DN

 

See the example

Write data (corresponding to the number of bytes

 

 

 

to write)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] Write 14(H), 00(H), and 33(H) to parameter address 040 to 042(8) in option module (module No. 2). (The data in cells are in hexadecimal, except when followed by an(8),indicating octal data.)

Command

2B

43

4C

41

42

12

00

02

040(8)

003(8)

 

14

 

00

33

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

UNO PAADR

N

040

 

041

042

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read out data

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

43

4C

41

42

12

00

02

 

040(8)

003(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

 

 

 

 

 

 

 

 

 

 

10-10

Image 49
Contents JW-21MN JW-21MN Installation Safety PrecautionsWiring Compel Use Maintenance ProhibitME-NET Module JW-21MN Table of contents Errors and Countermeasures 12-1 to Setting of Switches and Parameter 11-1 toDescription for Computer Link Operation 10-1 to 13-1 Support Tools 14-1 to Specifications 15-1 toAppendix 16-1 to Data link function Features and FunctionsComputer link function Wiring InstallationConnector Treatment MaintenanceStatic electricity Allocation of relay numberJW20H JW-21MN JW-21MN JW30H System ConfigurationFront view Name and Function of Each PartInstallation procedure InstallationRemarks Name Model Maker Processing of CablesProcessing cable end Cutting of coating, external conductor, and insulator Fine adjustment of blade cutting depthRemoval of coating, external conductor, and insulator Processing of cable end Display of blade settingConnector ME-GP-01 Processing procedure Insert a sleeve Connector crimping procedureRequired tools Hand-held crimping tool Crimping contactInsulation test Fixing the connectorConductivity test Cable trunk and branch lines Wiring MethodRelaying of trunk cables Cable wiring procedure in control panel Page Branch connector Waterproof and insulation processing of connectorsStraight connector RemarksCheck after wiring Wiring of cables at outside control panelsStation number of the additional station Branching methodReason Memory address for data links Memory Address on the ME-NETMemory address map against JW20/JW20H JW30H address ME-NET address Memory address map against JW30HJW20/20H ME-NET address Capacity Memory addresses for computer linksJW30H address ME-NET address Capacity Remarks Communication method Description for Data Link OperationData link Standard function Relay linkData link Save memory function Setting item Set locationRegister link Required transmission time Required transmission time and communication delay timeCommunication delay time An example of synchronized transfer by OUT instruction Data transmission between master PC and slave PCExpansion of network Multiple installation of the JW-21MNCase of mounting 4 sets of JW-21MN Hierarchical link Optional commands Basic commandsDescription for Computer Link Operation Computer link function10-2 Basic commands10-3 Optional commandsCommunication format, basic pattern Read free memory size Write mode assignment None Communication formatMonitor TMR, CNT, and MD 10-4Setting PC mode Reading PC mode10-5 Writing system memory Reading system memory10-6 Write mode assignment 1 or Communication format Setting dateReading date 10-7Reading time Setting time10-8 Monitor step status JW20/JW20H only Correct clock time10-9 Read the optional parameters Write mode assignmentSet the optional parameters 10-10Set the special I/O parameters Read the special I/O parameters10-11 Set the secret function JW30H only Release the secret function, register password JW30H only10-12 10-13 Check the secret function JW30H only10-14 Response on errorOperation procedure Setting of Switches and Parameter11-1 Mode switch Mode Switch setting of master station and slave stationModule No. switch Unit no 11-2Termination resistance switch LT Station number switch STA no11-3 Reference Need for the termination resistance11-4 Shield ground switch LGSetting contents of master station parameters Value H 11-6Parameter for setting in slave station Parameter for setting in master stationCommunication area map 11-711-8 11-9 + h11-10 Example for settingMaser station Slave station Standard Save memory 11-11 When master station PC is JW20/JW20H11-12 When master station PC is JW30H11-13 Setting procedureExample Stop operation of data link HEX hexadecimal, byte 11-14Stop operation of data link HEX hexadecimal, byte Set number of connecting stations DCM decimal, byte Data link function setting HEX hexadecimal, byte11-15 Set top address of register link area on the master station 11-16Set in parameter addresses 005000 to 11-1711-18 Set connection status of slave station Bit pattern, byte 11-1911-20 PC operation 11-21Contents Setting item11-22 When PC is JW20/JW20H Setting range of flag areaWhen PC is JW30H 11-2311-24 11-25 Turn on the power of slave station PC Connect support tools11-26 11-27 11-28 Indication lamps Errors and Countermeasures12-1 Details MeasureRemark Flag12-3 Case of a master stationCommunication monitor flag Operation condition monitor flag12-4 Case of slave station 01 to12-5 Monitor operation condition by each station PC12-6 Storage of error codeSystem memory #160 to 167 self diagnosis error code System memory #170 to 177 option module error codeSystem memory #150 monitor error switch number 12-712-8 Error history13-1 Replacement of the JW-21MNRecord and load by ladder software JW-92SP, JW-50SP Record Support Tools14-1 14-2 LoadLoad to the personal computer Stop operation of the JW-21MNGeneral specifications SpecificationsCommunication specifications SpecificationStandard function Specifications Data link specificationsSave memory function Specifications 15-2Outside dimensional drawings Computer link specifications15-3 Appendix Maintenance and check16-1 Check flow chart Recovery method at communication errors16-2 16-3 Check cable/connectorCause Countermeasure 16-4007764 to 16-5Check items of cables and connectors Switches required check in the JW-21MN16-6 Other casesIdentify the error station Check the errors timingWhen identification of the cause is difficult 16-716-8 Table of parameter memoryMaster station 16-9 Set contents Setting method value, example16-10 16-11 Slave station 01 to 16-1216-13 Special functions unique to the JW-21MNRemote programming and remote monitor Support tool Opposite module Connection moduleFunction Standard network connection 16-14Expansion network connection Operation example16-15 Network settingWhen used with a computer link Parameter setting by remote function16-16 Alphabetical Index Operation procedure Waterproof and insulation processing of connectors