IDEC FC6A-C16K1CE Communications Manual page 102

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

5: U
C
SER
OMMUNICATION
Programming TXD Instruction Using WindLDR
The following example demonstrates how to program a TXD instruction including a start delimiter, BCC, and end delimiter using
WindLDR.
TXD sample program:
TXD
SOTU
1
I0
Data register contents:
04D2h
D10
162Eh
D11
Transmit data example:
STX
"1"
"2"
(02h)
(31h)
(32h)
Constant
(hex)
Start to program a TXD instruction. Move the cursor where you want to insert the TXD instruction, and type TXD. You can also
1.
insert the TXD instruction by clicking the User Communication icon in the menu bar and clicking where you want to insert the
TXD instruction in the program edit area.
The TXD (Transmit) dialog box appears.
5-26
I
NSTRUCTIONS
S1
D1
12
M10
D100
= 1234
= 5678
BCC calculation range
"3"
"4"
"5"
"6"
(33h)
(34h)
(35h)
(36h)
D10
D11
FC6A S
M
S
A
ERIES
ICRO
MART
Communication port:
D2
Transmit completion output:
Transmit status register:
Transmit data byte count:
BCC
BCC
"7"
"8"
ETX
(H)
(L)
(37h)
(38h)
(03h)
(41h)
(36h)
BCC
Constant
(hex)
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
Port 1
M10
D100
D101
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents