33
FnIO G-Series
Copyright(C)CREVIS Co.,Ltd S82-31-899-4599 URL: www.crevis.co.kr
4.3. Example
4.3.1. Example of Transmitting data
Transmit data : A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z(26byte)
Input, Output data Size : 16byte
Configuration Parameter
Parameter
Description
Value
Data Bit
8 Data Bit
Not used
Parity Bit
No Parity
Default Value
Baud rate
115200bps
Default Value
Stop Bit
1 Bit
Default Value
RTS/CTS Flow Control
RTS/CTS Disable
Default Value
TxD Process
Disable
Default Value
- Step#0
TR inverting (TR≠TA)
Output Length = 14byte (0x0E)
Output Data = “A, B, C, D, E, F, G, H, I, J, K, L, M, N”
bit#7
bit#6
bit#5
bit#4
bit#3
bit#2
bit#1
bit#0
Status Byte #0
TRA
FTA
FRA
RE
RBO
RR
TA
IA
0
0
0
0
0
0
0
0
bit#7
bit#6
bit#5
bit#4
bit#3
bit#2
bit#1
bit#0
Control Byte #0
TPR
FT
FR
----
----
RA
TR
IR
0
0
0
0
0
0
1
0
Tx Length #1
‘ 0E'(14byte)
Output Byte #2
‘A' (0x41:ASCII code)
Output Byte #3
‘B' (0x42)
Output Byte #4
‘C' (0x43)
Output Byte #5
‘D' (0x44)
Output Byte #6
‘E' (0x45)