Toshiba S20LP instruction manual ∙ Send

Page 48

6 F 3 B 0 3 5 6

The user program that runs on the T2N/T3H of the main station is discussed below.

(1)Instruction format

The format of SEND and RECV instruction

Input

 

 

Output

 

[ A

S E N D

B ]

 

 

 

Input

 

 

Output

 

[ A

R E C V

B ]

 

 

 

(2)Function

SEND

This instruction sends the designated range of register data to another T2N/T3H through the network. The transfer source register (self-station) is designated by A+3 and A+4. The transfer destination register (target-station) is designation by A+5 and A+6. The transfer size (number of words) is designated by A+2. The maximum transfer size is 128 words.

RECV

This instruction reads the designated range of register data from another T2N/T3H through the network. The transfer source register (target-station) is designated by A+5 and A+6. The transfer destination register (self-station) is designation by A+3 and A+4. The transfer size (number of words) is designated by A+2. The maximum transfer size is 128 words.

Input

Operation

 

Output

ERF

 

 

 

 

 

OFF

No execution

 

OFF

OFF

 

 

 

 

 

ON

Execution

Transmission port instruction busy/instruction execution in

OFF

OFF

 

 

progress (response wait)

 

 

 

 

 

 

 

 

 

Response reception complete (normal complete)

ON

OFF

 

 

 

 

 

 

 

Instruction error

ON

ON

 

 

 

 

 

Operand

 

Name

Device

 

 

 

Register

 

 

 

 

 

 

 

 

 

INDEX

 

Con-

Index

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

stant

 

 

 

X

Y

S

L

R

Z

X

Y

S

L

R

W

T

C

D

F

I

O

I

J

K

 

 

 

 

 

 

 

 

W

W

W

W

W

 

 

 

 

 

W

W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A

Transfer parameter

 

 

 

 

 

 

ü

ü

ü

ü

ü

ü

ü

ü

ü

ü

ü

 

 

 

 

 

ü

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

Status

 

 

 

 

 

 

 

ü

ü

ü

ü

ü

ü

ü

ü

ü

ü

 

 

 

 

 

ü

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

47

Image 48
Contents T2N/T3H stations Important Information Preface Contents System configuration Introduction to S20LPStation hardware ∙ OverviewT2N include of S20LP Port SN325 SN325∙ Status LEDs S20LP port for T2N PU245NFor SN325 ∙ Station number setting switches ∙ Transmission cable connectors∙ Reset switch only SN325 ∙ Loader portLS overview Menu⎯ 10 ⎯ Specifications S20LP system specificationsS20LP-station specifications Scan transmission overview Setting the data send block by S-LS Allocation and network assignment by T-PDSSetting 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 ⎯ ∙ Scan Access ∙ Start with Standby mode∙ 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 RAS function Behavior in trouble∙ Station down ∙ Transmission cable breakageSelf-diagnostic function At initialization at power onDuring operation LED indication SN325T2N RAS information monitored in T2N/T3H Station status Online mapStandby map Loop map Only T2NRAS information monitored on S-LS Number 1-64 on the screen shows the Station numberSelf Station Station No.01 Offline Select the Station Number Click the Status Display Possible error message are as follows Station down informationInstruction Specification Expanded data transfer instructionInstruction format FunctionParameter and construction Transfer parameter tableSample program ∙ OperationRemarks Message transmission Message transmissionComputer link protocol PC link protocol∙ Send Transfer parameters a CMDStatus B TermSTS Status Meaning Detailed Information Send completion status PC link protocol transmission Data write Transfer parametersRID Status See 7.3 5 for details on bits C, D, E, and F Important itemsXW/YW PC link protocol transmission Data read ⎯ 57 ⎯ SW067 Write enabled PC link protocol transmission program RemarksLength END Appendix Scan cycle⎯ 63 ⎯ PDS remote programming PDS Setup options screen