Example Of Transmitting Data And Receiving Data - Hitachi HX-RIO3 Series User Manual

Special i/o module
Hide thumbs Also See for HX-RIO3 Series:
Table of Contents

Advertisement

20
- Step#4
Check RR bit value in Status Byte
RA=RR: receive complete
Input Length = 8byte
Input Data = "iHX-RIO3"
Status Byte #0
RX Length #1
Input Byte #2
Input Byte #3
Input Byte #4
Input Byte #5
Input Byte #6
Input Byte #7
Input Byte #8
Input Byte #9
Input Byte #10
Input Byte #11
Input Byte #12
Input Byte #13
Input Byte #14
Input Byte #15

4.2.3 Example of Transmitting data and Receiving data

Transmit data: "HITACHI" (7byte) _Receive data : "HITACHI" (7byte)
Input, Output data Size: 16byte
Configuration Parameter
Parameter
Data Bit
Parity Bit
Baud rate
Stop Bit
RTS/CTS Flow Control
TxD Process
bit#7
bit#6
TPA
FTA
0
0
' 08'(8byte)
'i' (0x69:ASCII code)
'H' (0x48)
'X' (0x58)
'-' (0x2D)
'R' (0x52)
'I' (0x49)
'O' (0x4f)
'3' (0x33)
0x00
0x00
0x00
0x00
0x00
0x00
Description
8 Data Bit
No Parity
115200bps
1 Bit
RTS/CTS Disable
Disable
bit#5
bit#4
bit#3
FRA
RE
RBO
0
0
HX-RIO3 Series
bit#2
bit#1
RR
TA
0
0
0
Value
Not used
Default Value
Default Value
Default Value
Default Value
Default Value
bit#0
IA
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rio3-rs232Rio3-rs485

Table of Contents