Sharp JW-21MN manual Data link Save memory function, Register link, Setting item Set location

Page 34

9

(2)Register link

Mainly used for sending and receiving numerical data.

[Example] In the case of sending 1 byte data from a master station and slave station 01 and 02.

 

 

 

 

 

 

Master station (PC00)

 

Slave station (PC01)

Slave station (PC02)

09200

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Send

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive

09202

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F-00

0000

09200

 

 

 

09200

 

 

 

 

 

 

 

 

 

 

 

 

09200

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09201

 

 

 

 

 

 

 

 

 

F-00

0000

09201

 

 

 

 

 

 

 

 

09201

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

09202

 

 

 

 

 

 

 

 

 

09202

 

 

 

 

 

 

 

 

 

 

 

 

F-00

0000

09202

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-The register link of the sending station may be used as D (Destination) side of the application instruction of the PC program.

-The register link of the receiving station may be used as S (Source) side of the application instruction of the PC program.

[2]Data link (Save memory function)

The save memory function is to provide a part of the data link area in the slave station data memory as a receiving area. A slave station can receive only the required area by relay link/register link so that the slave stations can save on use of the memory area.

As this function can unify the receiving area address and the sending area address of each slave station, the same program can be used for each slave station. Mixed allocation of the addresses with the data link (standard function) is also possible.

 

 

 

 

 

 

 

Slave station "n" (JW-21MN: Set to save memory function)

 

 

 

 

 

 

Send

Memory inside

Top address of

Memory inside

Top address of Master station 00

Receive

slave station

control module

master station

 

 

 

 

 

JW-21MN

"n" link area

 

 

 

 

 

 

Available setting

 

 

 

 

 

 

 

 

 

 

 

 

link area

 

 

 

 

Number of offset bytes of

 

 

 

 

 

 

 

 

 

each slave station*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

slave station "n"

 

 

 

 

 

 

 

 

 

 

 

 

Number of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

V2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of sending

sending bytes of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

 

 

 

 

 

 

the master station

 

 

 

 

 

 

 

 

 

 

 

 

 

bytes of slave

 

 

 

 

 

 

 

 

 

 

 

 

 

Receiving area

 

 

 

 

 

Top address of slave station

 

 

 

 

 

 

 

 

 

station "n"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"n" link area

 

 

 

 

 

 

 

 

 

 

 

 

from slave station

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 to (n to 1)

 

 

 

 

 

Number of sending bytes

 

 

 

Addresses are allocated as

 

 

 

 

 

of slave station "n"

 

 

 

receiving and sending alternately

Receiving area

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

from slave station

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"n"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-Top address of receiving area in a slave station shall be set by the number of offset bytes from the link area's top. (0 Number of offset bytes total number of bytes of link area)

Setting item

Set location

 

 

Top address of master station link area

 

 

 

Number of sending bytes of the master station

Master stationÕs parameter

 

 

 

Number of offset bytes of slave station

 

 

 

Number of sending bytes of the slave station

 

 

 

Top address of slave station link area

Module No. switch of slave station

 

 

 

 

Number of receiving bytes of slave station

 

*

Slave station's parameter

V2

 

 

 

 

*When JW-21MNs without 30Hn mark and 30H mark are used, these cannot set each slave station.

Automatically allocated with the same number of the sending bytes of the slave station.

9-2

Image 34
Contents JW-21MN JW-21MN Installation Safety PrecautionsWiring Compel Maintenance Prohibit UseME-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 Installation WiringConnector Static electricity MaintenanceTreatment Allocation of relay numberSystem Configuration JW20H JW-21MN JW-21MN JW30HName and Function of Each Part Front viewInstallation procedure InstallationRemarks Processing of Cables Name Model MakerProcessing cable end Cutting of coating, external conductor, and insulator Fine adjustment of blade cutting depthRemoval 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 contactInsulation test Fixing the connectorConductivity test Cable trunk and branch lines Wiring MethodRelaying of trunk cables 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 for data links Memory Address on the ME-NETMemory address map against JW20/JW20H Memory address map against JW30H JW30H address ME-NET address Memory 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 linkData link Save memory function Setting item Set locationRegister link 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 instructionExpansion of network Multiple installation of the JW-21MNCase of mounting 4 sets of JW-21MN Hierarchical link Description for Computer Link Operation Basic commandsOptional commands Computer link functionBasic commands 10-210-3 Optional commandsCommunication format, basic pattern Monitor TMR, CNT, and MD Write mode assignment None Communication formatRead free memory size 10-4Setting PC mode Reading PC mode10-5 Writing system memory Reading system memory10-6 Reading date Setting dateWrite mode assignment 1 or Communication format 10-7Reading time Setting time10-8 Monitor step status JW20/JW20H only Correct clock time10-9 Set the optional parameters Write mode assignmentRead 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 Check the secret function JW30H only 10-13Response on error 10-14Operation procedure Setting of Switches and Parameter11-1 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-911-10 Example for settingMaser station Slave station Standard Save memory When master station PC is JW20/JW20H 11-11When master station PC is JW30H 11-12Setting procedure 11-13Example 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 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 operationContents Setting item11-22 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-1Record and load by ladder software JW-92SP, JW-50SP Record Support Tools14-1 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-2Outside dimensional drawings Computer link specifications15-3 Appendix Maintenance and check16-1 Check flow chart Recovery method at communication errors16-2 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-716-8 Table of parameter memoryMaster station 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-15When used with a computer link Parameter setting by remote function16-16 Alphabetical Index Operation procedure Waterproof and insulation processing of connectors