Sharp JW-21MN manual Read free memory size, Monitor TMR, CNT, and MD, 10-4

Page 43

10

[1] Read free memory size

Read free memory size.

[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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SUB

 

4D(H)

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

03(H)

Program memory capacity: 3.5 k words

 

(Symbols other than the

 

M

 

07(H)

Program memory capacity: 7.5 k words

 

left: See page 10-3.)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

07(H)

Program memory capacity: 15.5 k words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

07(H)

Program memory capacity: 31.5 k words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ex. When reading the amount of free program memory (up to 7.5 k words). The data in the cells are hexadecimal numbers.

Command

2B

43

4C

41

43

4D

00

 

 

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

2B

00

43

4D

41

43

4D

00

07

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

7.5k word

[2] Monitor TMR, CNT, and MD

Read out the current value and attributed data from TMR, CNT, and MD in the specified area. [Write mode assignment]: None

[Communication format]

Command

"+"

"C"

"L"

"A"

CMD

 

SUB

 

ATTR

 

 

 

 

 

 

 

TMR.NO.

 

N

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

"C"

"L"

"A"

 

CMD

 

 

SUB

ATTR

 

TMR.NO.

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TA1

 

 

 

 

 

 

 

 

TAN

 

 

 

 

 

 

D1

 

 

 

 

 

 

 

 

DN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

Data

Details

CMD

42(H)

Function code

 

 

 

SUB

23(H)

Sub code

 

 

 

 

When JW20/JW20H is

 

 

used: 000 to 777(8)

 

 

 

TMR, CNT, MD number

TMR NO

When JW30H is used:

0000 to 7777(8)

(in order of 2 bytes data,

 

(TMR, CNT, MD)

L and H.)

 

1000 to 1777(8)

 

 

(TMR, CNT)

 

 

 

 

 

 

Number of reading data

N

0000 to 0100(8)

(in order of 2 bytes data,

 

 

L and H.)

 

 

 

 

 

Reading current value

D1 to DN

See the example

data

(Data 2 bytes x number

 

 

 

 

of reading data)

 

 

 

Symbol

Data

 

Details

 

00(H)

Not used as TMR,

 

 

CNT, or MD

 

 

 

 

 

 

 

 

 

 

 

 

01(H)

ZW/JW MD

 

 

 

 

 

 

 

 

02(H)

ZW CNT

 

 

 

 

 

 

 

 

04(H)

ZW TMR

 

 

 

 

 

 

 

TA1

08(H)

DTMR (BCD)

 

Data 1 bytes

09(H)

DTMR (BIN)

 

x

to

 

 

Number of reading

TAN

0A(H)

UTMR (BCD)

 

 

data

 

 

 

 

 

0B(H)

UTMR (BIN)

 

 

 

 

 

 

 

 

0C(H)

DCNT (BCD)

 

 

 

 

 

 

 

 

0D(H)

DCNT (BIN)

 

 

 

 

 

 

 

 

0E(H)

UCNT (BCD)

 

 

 

 

 

 

 

 

0F(H)

UCNT (BIN)

 

 

 

 

 

 

 

(See page 10-3 for other symbols not described above)

[Ex.] Read the current value of TMR, CNT, and MD at addresses 000 to 002(8) (The data in cells are in hexadecimal notation)

Command

2B

 

43

 

4C

 

 

41

42

23

00

00

 

 

00

 

03

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

 

"C"

 

"L"

 

 

"A"

 

CMD

 

SUB

ATTR

000(8)

 

3 pieces

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

2B

 

00

 

43

 

 

4C

41

42

23

00

 

 

00

 

00

 

03

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

 

 

 

 

CMD

SUB

ATTR

000(8)

 

 

3 pieces

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

65

 

 

38

 

32

 

 

60

 

14

 

73

08

0C

0E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No. 000

 

No. 001

 

No. 002

DTMR

DCNT

UCNT

 

 

 

 

 

Current value:

 

Current value:

 

Current value:

000

001

 

 

002

 

 

 

 

 

 

 

3865

 

 

6032

7314

(BCD)

(BCD)

(BCD)

 

 

 

 

10-4

Image 43
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 Allocation of relay number MaintenanceTreatment Static electricityJW20H 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 settingCrimping contact Connector crimping procedureConnector ME-GP-01 Processing procedure Insert a sleeve Required tools Hand-held crimping toolInsulation test Fixing the connectorConductivity test Cable trunk and branch lines Wiring MethodRelaying of trunk cables 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 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 Relay link Description for Data Link OperationCommunication method Data link Standard functionData 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 Computer link function Basic commandsOptional commands Description for Computer Link Operation10-2 Basic commands10-3 Optional commandsCommunication format, basic pattern 10-4 Write mode assignment None Communication formatRead free memory size Monitor TMR, CNT, and MDSetting PC mode Reading PC mode10-5 Writing system memory Reading system memory10-6 10-7 Setting dateWrite mode assignment 1 or Communication format Reading dateReading time Setting time10-8 Monitor step status JW20/JW20H only Correct clock time10-9 10-10 Write mode assignmentRead the optional parameters Set the optional parametersSet 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 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 + 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 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-21MNRecord and load by ladder software JW-92SP, JW-50SP Record Support Tools14-1 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 SpecificationsOutside 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-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 difficult16-8 Table of parameter memoryMaster station 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 settingWhen used with a computer link Parameter setting by remote function16-16 Alphabetical Index Operation procedure Waterproof and insulation processing of connectors