6 F 3 B 0 3 6 2

(1)Transferred register data length

Specifies the transmission data length in word units. (1 to 485 words) For the T/C registers, the data length will be between 1 and 323 words.

(2)Local port register type code

This code specifies the type of the local port register into which the data read out will be stored. See table 5.1 for the codes that can be specified here.

(3)Local port register number

Specifies the starting number of the register specified by the local port register type code.

(4)Remote port register type code

This code specifies the type of the remote port register that holds the transmission source data. See table 5.1 for the codes that can be specified.

(5)Remote port register number

Specifies the starting number of the register specified by the remote port register type code.

(6)Timer count

Specifies a time used to limit the response time from the remote port in 0.1 second units.

F E

0

A+10

0:Use the user-specified value (0.1 to 3276.7 seconds)

1:Use the default value of 30 seconds.

c. Status (See figure 4.3 for details on bits C, D, E and F.)

B B+1

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

 

 

 

 

0

0

0

0

TermSTS

Detailed information (Only valid when TermSTS = 0BH.)

d.Important items

The read operation is not synchronized with the remote port T2N/T3H scan operation.

If synchronization is necessary, applications must perform synchronization processing, such as transferring the data to a separate registers at the start of the T2N scan.

The command number (0021H) is the same as the "Data Write".

A transfer word count error (TermSTS = 09H) occurs if the transferred register data length exceeds the range 1 to 485 words (or 1 to 323 words for the T and C registers).

A register specification error (TermSTS = 01H) occurs if a value other than a stipulated value is specified for the register type codes (SRID/DRID).

A register specification error (TermSTS = 01H) occurs if 0007H (the T register) is specified for the local port register type code and a register other than the T register is specified for the remote port register type code. This also holds for the C register.

A boundary error (TermSTS = 0AH) occurs if a range spanning both the base T registers (0 to 511) and the expansion T registers (512 to 999) is specified for the T register.

62

Page 63
Image 63
Toshiba T2N instruction manual Transferred register data length