Toshiba S20LP instruction manual Status B

Page 50

6 F 3 B 0 3 5 6

(5)Status (B)

The status during the execution of a SEND or RECV instruction and after that instruction terminates is stored in the register shown at B. When TermSTS = 0BH, the detailed information (S20LP-station error information) will be loaded into the registers indicated at location B + 1.

The following figure shows the structure of the status information (register B) and following tables (TermSTS (Part1 and Part2) and detailed information) show the detailed information (register B +1).

B B+1

Status

Detailed information

B

F E D C B A 9 8 7 6 5 4 3 2 1 0

0

TermSTS

Only on an error 0: Error occurred at local station. 1: Error occurred at remote station.

 

 

 

status

0: Initial state

busy

0: Initial state

 

1: While send requesting

 

 

1: Transmission port busy

 

 

 

 

2: Send complete and while waiting

abn

0: Normal complete

 

 

response

 

 

1: Error complete

 

3: Complete

(Note 6) The user program must set bits C and D to 0 before first activating a SEND/RECV instruction. Failure to do so will cause the SEND/RECV instruction to not complete. Also, do not write to the status during instruction execution. This will cause the SEND/RECV instruction to not complete.

49

Image 50
Contents T2N/T3H stations Important Information Preface Contents System configuration Introduction to S20LPT2N include of S20LP Port Station hardware∙ Overview SN325 SN325For SN325 ∙ Status LEDsS20LP port for T2N PU245N ∙ Reset switch only SN325 ∙ Station number setting switches∙ Transmission cable connectors ∙ Loader portLS overview Menu⎯ 10 ⎯ S20LP-station specifications SpecificationsS20LP system specifications Scan transmission overview Setting the data send block by S-LS Allocation and network assignment by T-PDSSettings on T-PDS Setting for data linkageStation number setting Link PDS screen example Block Send Receive ⎯ 18 ⎯ Global ⎯ 20 ⎯ Settings on S-LS ⎯ 22 ⎯ ⎯ 23 ⎯ ⎯ 24 ⎯ ∙ Scan Transmission ∙ Scan Access∙ Start with Standby mode ∙ 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 ∙ Station down RAS functionBehavior in trouble ∙ Transmission cable breakageDuring operation Self-diagnostic functionAt initialization at power on T2N LED indicationSN325 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 format Instruction SpecificationExpanded data transfer instruction FunctionParameter and construction Transfer parameter tableSample program ∙ OperationRemarks Computer link protocol Message transmissionMessage transmission 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