Sharp JW-21MN manual Required transmission time and communication delay time

Page 35

9-2 Required transmission time and communication delay time

[1] Required transmission time

This is the time required for the master station to complete communication with all stations, and is determined by the number of connected stations with and the number of data items to transmit.

Transmission T operation cycle = N + 136 × P + 2.5 × P + α + 16 (ms) 1250

N: Total number of link points (value to be calculated by relay link bytes and register link bytes 8 points).

P : Number of connected stations (master + slave)

136: 136 bits are used for station address and error check data on the communication format.

1250 : Transmission rate: 1.25M bits per second

2.5: Inter-station wait time plus processing time to move to next station (unit : ms)

α: Communication recovery operation time

¥When an error occurs at any station, the master station periodically treats the error.

α= 3.5 × number of error stations ms

16 : Time to maintain token bus. It can enter at random intervals.

[Example] In the case of two connected stations and 8 bytes of link points,

Transmission T operation cycle

8 bytes×8 points×2 stations + 136×2 stations

1250

+ 2.5 × 2 stations + 16 = 21.32 ms

PC operation cycle

Master station (PC00)

Slave station (PC01)

 

 

 

 

 

 

 

I/O processing

 

 

 

 

 

 

I/O processing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PC operation

 

 

 

 

 

 

 

 

 

 

PC operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data exchange

Note

 

 

 

 

 

 

 

 

Data exchange

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

: Send

: Receive

 

 

 

 

 

 

9

Note: Data exchange time between a PC and the JW-21MN can be obtained by the following formula:

When the control module is JW-31CUH1/32CUH1/33CUH1/33CUH2/33CUH3, 0.5 ms + 0.5μs x number of bytes to transfer.

(When the number of bytes to transfer is maximum (2304 bytes), 0.5 ms + 0.5μs x 2304 = 1.65 ms)

9-3

Image 35
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 links JW30H 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 MD10-5 Reading PC modeSetting 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