Sharp JW-21MN manual Reading PC mode, Setting PC mode, 10-5

Page 44

[3] Reading PC mode

Read PC's mode.

[Write mode assignment]: None

[Communication format]

 

 

Command

 

"+"

 

 

 

"C"

 

"L"

 

 

"A"

 

CMD

 

 

 

SUB

 

 

 

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

"+"

 

 

 

 

ACK

 

"C"

 

 

"L"

 

"A"

 

 

CMD

 

 

 

SUB

 

 

ATTR

MODE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

 

Data

 

 

 

 

 

Details

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CMD

 

 

43(H)

 

 

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Symbols other than the left: See page 10-3.)

 

 

SUB

 

 

4E(H)

 

 

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00(H)

 

 

Monitor code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MODE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

02(H)

 

 

Change mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

03(H)

 

 

Program mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] When the PC reads program mode (Data in the cells are hexadecimal notation).

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

 

43

 

4C

 

41

 

 

 

43

 

 

4E

 

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

"+"

 

"C"

 

"L"

 

"A"

 

CMD

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

 

00

 

43

 

4C

 

 

 

41

 

 

43

 

 

4E

 

00

 

03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

 

 

 

 

 

CMD

SUB ATTR Program

 

 

 

 

 

[4] Setting PC mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set the PC to an assigned mode.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Write mode assignment]: None

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Communication format]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

"+"

 

 

 

 

"C"

 

"L"

 

"A"

 

CMD

 

 

SUB

 

 

ATTR

 

MODE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

 

 

ACK

 

"C"

 

"L"

 

 

"A"

 

 

CMD

 

 

 

SUB

 

 

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

Data

 

 

 

 

Details

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CMD

 

43(H)

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Symbols other than the left: See page 10-3.)

 

 

SUB

 

5E(H)

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00(H)

Monitor code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MODE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

02(H)

Change mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

03(H)

Program mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] When to set the PC to the change mode. (Data in cells are hexadecimal notation)

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

43

 

 

4C

 

41

 

43

 

 

5E

 

 

00

 

02

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

"+"

 

 

 

"C"

"L"

"A" CMD

 

SUB

 

ATTR Change mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

 

 

43

 

4C

 

41

 

 

 

43

 

 

5E

 

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

 

 

 

 

 

 

CMD

 

SUB

 

 

ATTR

 

 

 

 

 

 

 

 

 

 

10

10-5

Image 44
Contents JW-21MN JW-21MN Wiring Compel Safety PrecautionsInstallation Maintenance Prohibit UseME-NET Module JW-21MN Table of contents Description for Computer Link Operation 10-1 to Setting of Switches and Parameter 11-1 toErrors and Countermeasures 12-1 to Appendix 16-1 to Support Tools 14-1 to Specifications 15-1 to13-1 Computer link function Features and FunctionsData link function Installation WiringConnector Maintenance TreatmentStatic electricity Allocation of relay numberSystem Configuration JW20H JW-21MN JW-21MN JW30HName and Function of Each Part Front viewRemarks InstallationInstallation procedure Processing of Cables Name Model MakerProcessing cable end Removal of coating, external conductor, and insulator Fine adjustment of blade cutting depthCutting of coating, external conductor, and insulator Display of blade setting Processing of cable endConnector crimping procedure Connector ME-GP-01 Processing procedure Insert a sleeveRequired tools Hand-held crimping tool Crimping contactConductivity test Fixing the connectorInsulation test Relaying of trunk cables Wiring MethodCable trunk and branch lines Cable wiring procedure in control panel Page Waterproof and insulation processing of connectors Branch connectorStraight connector RemarksWiring of cables at outside control panels Check after wiringBranching method Station number of the additional stationReason Memory address map against JW20/JW20H Memory Address on the ME-NETMemory address for data links Memory address map against JW30H JW30H address ME-NET addressMemory addresses for computer links JW20/20H ME-NET address CapacityJW30H address ME-NET address Capacity Remarks Description for Data Link Operation Communication methodData link Standard function Relay linkRegister link Setting item Set locationData link Save memory function Required transmission time and communication delay time Required transmission timeCommunication delay time Data transmission between master PC and slave PC An example of synchronized transfer by OUT instructionCase of mounting 4 sets of JW-21MN Multiple installation of the JW-21MNExpansion of network Hierarchical link Basic commands Optional commandsDescription for Computer Link Operation Computer link function Basic commands 10-2Communication format, basic pattern Optional commands10-3 Write mode assignment None Communication format Read free memory sizeMonitor TMR, CNT, and MD 10-410-5 Reading PC modeSetting PC mode 10-6 Reading system memoryWriting system memory Setting date Write mode assignment 1 or Communication formatReading date 10-710-8 Setting timeReading time 10-9 Correct clock timeMonitor step status JW20/JW20H only Write mode assignment Read the optional parametersSet the optional parameters 10-1010-11 Read the special I/O parametersSet the special I/O parameters 10-12 Release the secret function, register password JW30H onlySet the secret function JW30H only Check the secret function JW30H only 10-13Response on error 10-1411-1 Setting of Switches and ParameterOperation procedure Switch setting of master station and slave station Mode switch ModeModule No. switch Unit no 11-2Station number switch STA no Termination resistance switch LT11-3 Reference Need for the termination resistanceShield ground switch LG 11-4Setting contents of master station parameters 11-6 Value HParameter for setting in master station Parameter for setting in slave stationCommunication area map 11-711-8 + h 11-9Maser station Slave station Standard Save memory Example for setting11-10 When master station PC is JW20/JW20H 11-11When master station PC is JW30H 11-12Setting procedure 11-13Stop operation of data link HEX hexadecimal, byte 11-14Example Stop operation of data link HEX hexadecimal, byte 11-15 Data link function setting HEX hexadecimal, byteSet number of connecting stations DCM decimal, byte 11-16 Set top address of register link area on the master station11-17 Set in parameter addresses 005000 to11-18 11-19 Set connection status of slave station Bit pattern, byte11-20 11-21 PC operation11-22 Setting itemContents Setting range of flag area When PC is JW20/JW20HWhen PC is JW30H 11-2311-24 Turn on the power of slave station PC Connect support tools 11-2511-26 11-27 11-28 Errors and Countermeasures Indication lamps12-1 Details MeasureFlag RemarkCase of a master station 12-3Communication monitor flag Operation condition monitor flagCase of slave station 01 to 12-4Monitor operation condition by each station PC 12-5Storage of error code 12-6System memory #170 to 177 option module error code System memory #160 to 167 self diagnosis error codeSystem memory #150 monitor error switch number 12-7Error history 12-8Replacement of the JW-21MN 13-114-1 Support ToolsRecord and load by ladder software JW-92SP, JW-50SP Record Load 14-2Load to the personal computer Stop operation of the JW-21MNSpecifications General specificationsCommunication specifications SpecificationData link specifications Standard function SpecificationsSave memory function Specifications 15-215-3 Computer link specificationsOutside dimensional drawings 16-1 Maintenance and checkAppendix 16-2 Recovery method at communication errorsCheck flow chart Check cable/connector 16-316-4 Cause Countermeasure16-5 007764 toSwitches required check in the JW-21MN Check items of cables and connectors16-6 Other casesCheck the errors timing Identify the error stationWhen identification of the cause is difficult 16-7Master station Table of parameter memory16-8 Set contents Setting method value, example 16-916-10 16-11 16-12 Slave station 01 toSpecial functions unique to the JW-21MN 16-13Remote programming and remote monitor Support tool Opposite module Connection module16-14 Function Standard network connectionExpansion network connection Operation exampleNetwork setting 16-1516-16 Parameter setting by remote functionWhen used with a computer link Alphabetical Index Operation procedure Waterproof and insulation processing of connectors