Sharp JW-21MN manual Reading time, Setting time, 10-8

Page 47
"+" ACK "C"

[9] Reading time

Read out time (hour, minute, second) of clock. However, when JW-21CU or JW-31CUH/H1 is used as PC, these PC do not have clock function and the read out data will be unsettled.

[Write mode assignment]: None

[Communication format]

Command "+" "C" "L" "A" CMD SUB ATTR

Response

"L

"A"

CMD SUB ATTR

H

M

S

Symbol

Data

Details

 

CMD

45(H)

Function code

 

 

 

 

 

SUB

A3(H)

Sub code

(Symbols other than the

 

 

 

H

00 to 23(H)

00 to 23 o'clock

left: See page 10-3.)

 

 

 

M

00 to 59(H)

00 to 59 minutes

 

 

 

 

 

S

00 to 59(H)

00 to 59 seconds

 

 

 

 

 

[Example] Reading a time of 8 : 30 : 30 AM. (The data in cells are in hexadecimal notation)

Command

Response

 

2B

 

43

4C

41

 

45

A3

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

"C"

"L"

"A"

 

CMD

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

43

4C

41

45

A3

00

08

30

30

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

CMD

SUB

 

8:

30:

30AM

10

[10] Setting time

Set time (hour, minute, second) of clock. However, when JW-21CU or JW-31CUH/H1 is used as PC, these PC do not have clock function and date cannot be set.

[Write mode assignment]: 1 or 2

[Communication format]

 

Command

 

"+"

"C"

 

"L"

"A"

CMD

 

SUB

ATTR

H

M

S

CTRL

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

 

"C"

"L"

"A"

 

CMD

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

Data

 

 

 

 

Details

 

 

 

 

 

CMD

45(H)

Function code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

B3(H)

 

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H, M, S

 

Same as the "Reading out time" above.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

00(H)

 

Start operation of the clock

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

01(H)

 

Stop operation of the clock

 

 

 

 

 

CTRL

 

 

 

 

 

 

 

 

 

 

 

 

02(H)

Reset digits lower than the second

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

08(H)

 

Correct 30 seconds (Round off 0 to

 

 

 

 

 

 

29 sec., and round up 30 to 59 sec.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Example] When the time is 13 : 30 : 00. (The data in cells are in hexadecimal notation)

Command

2B

43

4C

41

45

B3

00

13

30

00

 

00

 

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

13

30

00

At operation

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

43

4C

41

45

B3

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

 

 

 

 

 

10-8

Image 47
Contents JW-21MN JW-21MN Wiring Compel Safety PrecautionsInstallation Use Maintenance ProhibitME-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 Wiring InstallationConnector Allocation of relay number MaintenanceTreatment Static electricityJW20H JW-21MN JW-21MN JW30H System ConfigurationFront view Name and Function of Each PartRemarks InstallationInstallation procedure Name Model Maker Processing of CablesProcessing cable end Removal of coating, external conductor, and insulator Fine adjustment of blade cutting depthCutting of coating, external conductor, and insulator Processing of cable end Display of blade settingCrimping contact Connector crimping procedureConnector ME-GP-01 Processing procedure Insert a sleeve Required tools Hand-held crimping toolConductivity test Fixing the connectorInsulation test Relaying of trunk cables Wiring MethodCable trunk and branch lines Cable wiring procedure in control panel Page Remarks Waterproof and insulation processing of connectorsBranch connector Straight connectorCheck after wiring Wiring of cables at outside control panelsStation number of the additional station Branching methodReason Memory address map against JW20/JW20H Memory Address on the ME-NETMemory address for data links 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 Relay link Description for Data Link OperationCommunication method Data link Standard functionRegister link Setting item Set locationData link Save memory function 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 PCCase of mounting 4 sets of JW-21MN Multiple installation of the JW-21MNExpansion of network Hierarchical link Computer link function Basic commandsOptional commands Description for Computer Link Operation10-2 Basic commandsCommunication format, basic pattern Optional commands10-3 10-4 Write mode assignment None Communication formatRead free memory size Monitor TMR, CNT, and MD 10-5 Reading PC mode Setting PC mode 10-6 Reading system memoryWriting system memory 10-7 Setting dateWrite mode assignment 1 or Communication format Reading date10-8 Setting timeReading time 10-9 Correct clock timeMonitor step status JW20/JW20H only 10-10 Write mode assignmentRead the optional parameters Set the optional parameters10-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 10-13 Check the secret function JW30H only10-14 Response on error11-1 Setting of Switches and ParameterOperation procedure 11-2 Switch setting of master station and slave stationMode switch Mode Module No. switch Unit noReference Need for the termination resistance Station number switch STA noTermination resistance switch LT 11-311-4 Shield ground switch LGSetting contents of master station parameters Value H 11-611-7 Parameter for setting in master stationParameter for setting in slave station Communication area map11-8 11-9 + hMaser station Slave station Standard Save memory Example for setting11-10 11-11 When master station PC is JW20/JW20H11-12 When master station PC is JW30H11-13 Setting procedureStop 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 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-2111-22 Setting itemContents 11-23 Setting range of flag areaWhen PC is JW20/JW20H When PC is JW30H11-24 11-25 Turn on the power of slave station PC Connect support tools11-26 11-27 11-28 Details Measure Errors and CountermeasuresIndication lamps 12-1Remark FlagOperation condition monitor flag Case of a master station12-3 Communication monitor flag12-4 Case of slave station 01 to12-5 Monitor operation condition by each station PC12-6 Storage of error code12-7 System memory #170 to 177 option module error codeSystem memory #160 to 167 self diagnosis error code System memory #150 monitor error switch number12-8 Error history13-1 Replacement of the JW-21MN14-1 Support ToolsRecord and load by ladder software JW-92SP, JW-50SP Record Stop operation of the JW-21MN Load14-2 Load to the personal computerSpecification SpecificationsGeneral specifications Communication specifications15-2 Data link specificationsStandard function Specifications Save memory function Specifications15-3 Computer link specificationsOutside dimensional drawings 16-1 Maintenance and checkAppendix 16-2 Recovery method at communication errorsCheck flow chart 16-3 Check cable/connectorCause Countermeasure 16-4007764 to 16-5Other cases Switches required check in the JW-21MNCheck items of cables and connectors 16-616-7 Check the errors timingIdentify the error station When identification of the cause is difficultMaster station Table of parameter memory16-8 16-9 Set contents Setting method value, example16-10 16-11 Slave station 01 to 16-12Support tool Opposite module Connection module Special functions unique to the JW-21MN16-13 Remote programming and remote monitorOperation example 16-14Function Standard network connection Expansion network connection16-15 Network setting16-16 Parameter setting by remote functionWhen used with a computer link Alphabetical Index Operation procedure Waterproof and insulation processing of connectors