Sharp JW-21MN manual Read the special I/O parameters, Set the special I/O parameters, 10-11

Page 50
Write data
"+" ACK
"A" CMD SUB ATTR UNO PAADR
"+" ACK
"A" CMD SUB ATTR UNO PAADR N

[15] Read the special I/O parameters

Read out parameter data of special I/O modules (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

"C"

"L"

D1

DN

Symbol

Data

Details

 

CMD

42(H)

Function code

 

 

 

 

 

SUB

03(H)

Sub code

 

 

 

 

 

 

00 to 07(H)

When connected to a JW20/JW20H, set the value for

 

 

the module No. switch

(Symbols other

 

 

UNO

 

 

than the left:

 

When connected to a JW30H, the upper digits are rack

 

00 to 37(H)

No. and the lower digits are the value for module No.

See page 10-3.)

 

 

 

 

switch.

 

 

 

 

 

PAADR

000 to 177(8)

Read out start address

 

 

 

 

 

N

01 to 80(H)

Number of bytes to read out

 

 

 

 

 

D1 to DN

See the example

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

 

 

 

 

 

[Ex.] To read parameter address data 030 to 032(8) of the special I/O module (Module No. 3). (Except one with (8), the data in cells are in hexadecimal notation)

Command

 

2B

43

 

4C

41

 

42

 

03

 

00

03

030(8)

003(8)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

"C"

"L"

 

"A"

CMD

SUB

ATTR

UNO PAADR N

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

 

43

4C

 

41

 

42

 

03

00

03

030(3)

003(3)

15

21

 

 

03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

 

 

 

CMD

SUB

 

 

 

 

 

 

 

 

 

 

030

031

032

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[16] Set the special I/O parameters

 

 

 

 

 

 

 

 

 

 

 

 

 

Read out data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write parameter data of the special I/O module (other than JW-21MN) to the control module.

[Write mode assignment]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 (and when the PC stops operation by "PC operation stop F8(H)" command).

 

 

 

 

 

 

 

[Communication format]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

"C"

 

"L"

 

"A"

 

CMD

 

SUB

 

ATTR

UNO

PAADR

N

D1

 

 

 

DN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

Response

"C"

"L"

N

Symbol

Data

Details

 

CMD

42(H)

Function code

 

 

 

 

 

SUB

02(H)

Sub code

 

 

 

 

(Symbols other

 

00 to 07(H)

When connecting to JW20/JW20H, set value of module

UNO

No. switch

than the left: See

 

page 10-3.)

 

 

00 to 37(H)

When connecting to JW30H, upper digits are rack No.

 

 

 

and lower digits are set value for module No. switch.

 

 

 

 

 

 

 

 

PAADR

000 to 177(8)

Write start address

 

 

 

 

 

N

01 to 80(H)

Number of bytes to write

 

 

 

 

 

D1 to DN

See the example

Write data (for number of bytes of writing data)

 

 

 

 

 

[Ex.] Write 14(H), 00(H), and 33(H) to parameter address 040 to 042(8) of the special I/O module (module No. 2).(Except ones with (8) marks, the data in cells are in hexadecimal notation)

Command

2B

43

4C

41

42

13

00

02

040(8)

003(8)

14

00

33

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

UNO PAADR N

040

041

042

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

2B

00

43

4C

41

42

13

00

02

040(8)

003(8)

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

 

 

 

10-11

Image 50
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 Static electricity MaintenanceTreatment 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 endRequired tools Hand-held crimping tool Connector crimping procedureConnector ME-GP-01 Processing procedure Insert a sleeve Crimping contactConductivity test Fixing the connectorInsulation test Relaying of trunk cables Wiring MethodCable trunk and branch lines Cable wiring procedure in control panel Page Straight connector Waterproof and insulation processing of connectorsBranch 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 Data link Standard function Description for Data Link OperationCommunication method 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 Description for Computer Link Operation Basic commandsOptional commands Computer link functionBasic commands 10-2Communication format, basic pattern Optional commands10-3 Monitor TMR, CNT, and MD Write mode assignment None Communication formatRead free memory size 10-410-5 Reading PC modeSetting PC mode 10-6 Reading system memoryWriting system memory Reading date Setting dateWrite mode assignment 1 or Communication format 10-710-8 Setting timeReading time 10-9 Correct clock timeMonitor step status JW20/JW20H only Set the optional parameters Write mode assignmentRead 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 Module No. switch Unit no Switch setting of master station and slave stationMode switch Mode 11-211-3 Station number switch STA noTermination resistance switch LT Reference Need for the termination resistanceShield ground switch LG 11-4Setting contents of master station parameters 11-6 Value HCommunication area map Parameter for setting in master stationParameter for setting in slave station 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 When PC is JW30H Setting range of flag areaWhen PC is JW20/JW20H 11-2311-24 Turn on the power of slave station PC Connect support tools 11-2511-26 11-27 11-28 12-1 Errors and CountermeasuresIndication lamps Details MeasureFlag RemarkCommunication monitor flag Case of a master station12-3 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 #150 monitor error switch number System memory #170 to 177 option module error codeSystem memory #160 to 167 self diagnosis error code 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 to the personal computer Load14-2 Stop operation of the JW-21MNCommunication specifications SpecificationsGeneral specifications SpecificationSave memory function Specifications Data link specificationsStandard 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 to16-6 Switches required check in the JW-21MNCheck items of cables and connectors Other casesWhen identification of the cause is difficult Check the errors timingIdentify the error station 16-7Master station Table of parameter memory16-8 Set contents Setting method value, example 16-916-10 16-11 16-12 Slave station 01 toRemote programming and remote monitor Special functions unique to the JW-21MN16-13 Support tool Opposite module Connection moduleExpansion network connection 16-14Function Standard 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