6F3B0253

7. Instructions

<Transmitting>

When the instruction input is ON, one set of message which is stored in the source table (from start character to the trailing code) is transmitted through the RS-485 port. The execution status is stored in the status flag.

The instruction input must be kept ON until the transmitting operation is complete.

Example

 

Source designation

D0010

H00

 

H04

D0011

 

00500

D0500 (CPU register)

Transfer size

D0012 00012

D0013 Execution status

Destination designation

D0015 H00 H30

D0016 00000

T1S RS-485 port

When R0001 is ON, one set of message (ended by the trailing code) stored in the range of D0500 to D0511 (12 words) is transmitted through the RS-485 port.

Execution status:

H0000 ... Normal complete

 

H0001

... During transmitting the message

 

H0002

... Communication busy

 

H0003

... During the reset operation

 

H0004

... Send time-out (from start character to the trailing code)

 

H0005

... Send message length error (no trailing code in the source table)

 

 

 

 

 

Baudrate

Time-out setting

 

 

300, 600, 1200 bps

30 seconds

 

 

2400 bps

15 seconds

 

 

4800 bps

7 seconds

 

 

9600 bps

3 seconds

 

 

19200 bps

1.5 seconds

 

Note

The XFER instruction is not executed as error in the following cases. In these cases, the instruction error flag (ERF = S051) is set to ON. If the ERF is set to ON once, it remains ON until resetting to OFF by user program.

(1)The leading address for the RS-485 port designation is other than 0.

(2)Transfer size is out of the range of 1 to 256.

(3)Mode setting of the RS-485 port is not the free ASCII mode.

(4)This instruction is programmed in the sub-program #1.

244 T1-16S User’s Manual

Page 246
Image 246
Toshiba 6F3B0253 user manual Transmitting