6F3B0250
7. Instructions
CPU register « T1S RS-485 port (T1S only)
<Receiving>
When the instruction input is ON, one set of message (from start character to the trailing code) which is received by the
The instruction input must be kept ON until the receiving operation is complete.
Example
D0000
D0001
Source designation
H0030
00000
T1S
Transfer size
D0002 00256 (fixed)
D0003 Execution status
D0004 Message length
Destination designation
D0005 H0004
D0006 00100
D0100 (CPU register)
When R0000 is ON, one set of received message is read and stored in D0100 and after.
Execution status:H0000 ... Normal complete
H0001 ... Communication error (parity error, framing error)
H0002 ... Message length over (more than 512 bytes)
H0003 ... Receive buffer over flow
H0004 ... Receive
Baudrate | |
300, 600, 1200 bps | 30 seconds |
2400 bps | 15 seconds |
4800 bps | 7 seconds |
9600 bps | 3 seconds |
19200 bps | 1.5 seconds |
Message length: 0 .............. No receive message
1 to 512 ... Message length in bytes
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
(2)Transfer size is other than 256.
(3)Mode setting of the
(4)This instruction is programmed in the
Basic Hardware and Function 261
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net