Toshiba S20LP instruction manual PC link protocol transmission Data read, Function

Page 57

6 F 3 B 0 3 5 6

(7)PC link protocol transmission (Data read)

The T series PC link protocol allows a T2N or T3H on a network to read register data from another T2N’s or T3H’s registers into its own registers.

Register read request (using the RECV instruction)

(a) Function

The register data designated by the remote station (T2N/T3H) is read to the designated register on the local station (T2N/T3H).

(b) Transfer parameters

A

2¨

H

A+1

CMD = 0000H

A+2

Transfer Size

A+3

Register type (self-station)

A+4

Leading address (self-station)

A+5

Register type (target-station)

A+6

Leading address (target-station)

A+7

Response time limit

Module designation

Command number: Normally 0H; request to loopback 000FH

1)Transfer register data length: 1 to 128 words

2)Local station register type code

3)Local station leading address

4)Remote station register type code

5)Remote station leading address

6)Response time limit

1)Transferred register data length

Designates the transmission data length in word units. (1 to 128 words)

2)Local station register type code

This code indicates the type of register in which the local station transmission source data is stored.

3)Local station leading address

Designates the leading address of the register designated by the local station register type code.

4)Remote station register type code

This code designates the type of register at the remote station to which the transmitted data will be written. (see 7.3(6))Local station register code)

5)Remote station leading address

Designates the leading address of the register designated by the remote station register type code.

56

Image 57
Contents T2N/T3H stations Important Information Preface Contents Introduction to S20LP System configurationStation hardware ∙ OverviewT2N include of S20LP Port SN325 SN325∙ Status LEDs S20LP port for T2N PU245NFor SN325 ∙ Transmission cable connectors ∙ Station number setting switches∙ Reset switch only SN325 ∙ Loader portMenu LS overview⎯ 10 ⎯ Specifications S20LP system specificationsS20LP-station specifications Scan transmission overview Allocation and network assignment by T-PDS Setting the data send block by S-LSSetting for data linkage Station number settingSettings on T-PDS Link PDS screen example Block Send Receive ⎯ 18 ⎯ Global ⎯ 20 ⎯ Settings on S-LS ⎯ 22 ⎯ ⎯ 23 ⎯ ⎯ 24 ⎯ ∙ Start with Standby mode ∙ Scan Access∙ Scan Transmission ∙ Message Transmission∙ Target Scan Time Data linkage example ∙ Settings on T-PDS Setting on S-LS LS setting screen 2 for STN #2 Cable connections Behavior in trouble RAS function∙ Station down ∙ Transmission cable breakageSelf-diagnostic function At initialization at power onDuring operation LED indication SN325T2N RAS information monitored in T2N/T3H Online map Station statusLoop map Only T2N Standby mapNumber 1-64 on the screen shows the Station number RAS information monitored on S-LSSelf Station Station No.01 Offline Select the Station Number Click the Status Display Station down information Possible error message are as followsExpanded data transfer instruction Instruction SpecificationInstruction format FunctionTransfer parameter table Parameter and construction∙ Operation Sample programRemarks Message transmission Message transmissionComputer link protocol PC link protocol∙ Send CMD Transfer parameters aStatus B TermSTS Status Meaning Detailed Information Send completion status Transfer parameters PC link protocol transmission Data writeRID Important items Status See 7.3 5 for details on bits C, D, E, and FXW/YW PC link protocol transmission Data read ⎯ 57 ⎯ SW067 Write enabled Remarks PC link protocol transmission programLength END Scan cycle Appendix⎯ 63 ⎯ PDS remote programming PDS Setup options screen