Toshiba S20LP instruction manual Transfer parameters a, Cmd

Page 49

6 F 3 B 0 3 5 6

(Note 1) ERF is the S0051 special relay. See the T-series Instruction Set for information on ERF usage.

(Note 2) For these instructions, instruction execution starts at the point the input changes state from off to on.

(Note 3) Since these instructions span multiple scans, applications must hold the input in the on state until the output goes to the on state.

(Note 4) After instruction execution terminates, it is possible to start execution again by applying a new input.

(4)Transfer parameters (A)

The data required for a request to the S20LP-station is set up in an area that starts in the register indicated by [A]. Then the application executes a SEND or RECV instruction. Here we present an overview of the structure of the transfer parameters.

A

A + 1

A + 2 A + 3

M

2oH

CMD

Parameters

Module designation

 

Command number:

Normally 0H; request to loopback 000FH

Parameters:

This data differs depending on the type of

 

the request to the S20LP-station.

Module designation:

Designates the S20LP module in the T2N/T3H.

2 (Module ID):

Must be set to 2 for an S20LP-station.

o(channel number):

The values 1 and 2 are allocated in order starting closest to

 

the T3H. T2N must be set to 1.

(station number):

This two-digit field set to another station number.

(Note 5) Do not modify the contents of the transfer parameters while an instruction execution is in progress.

48

Image 49
Contents T2N/T3H stations Important Information Preface Contents Introduction to S20LP System configuration∙ Overview Station hardwareT2N include of S20LP Port SN325 SN325S20LP port for T2N PU245N ∙ Status LEDsFor SN325 ∙ Transmission cable connectors ∙ Station number setting switches∙ Reset switch only SN325 ∙ Loader portMenu LS overview⎯ 10 ⎯ S20LP system specifications SpecificationsS20LP-station specifications Scan transmission overview Allocation and network assignment by T-PDS Setting the data send block by S-LSStation number setting Setting for data linkageSettings 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 breakageAt initialization at power on Self-diagnostic functionDuring operation SN325 LED indicationT2N 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