17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
17-7
User Communication Transmit Instruction Dialog Box in WindLDR
Selections and Operands in Transmit Instruction Dialog Box
Transmit Data
Transmit data is designated by source operand S1 using constant values or data registers. BCC code can also be calculated
automatically and appended to the transmit data. One TXD instruction can transmit 200 bytes of data at the maximum.
S1 (Source 1)
Designating Constant as S1
When a constant value is designated as source operand S1, one-byte data is transmitted without conversion. The valid
transmit data value depends on the data bits selected in the Communication Parameters dialog box, which is called from
Configure
>
Fun Area Settings
>
Communication
, followed by selecting
User Protocol
in Port 1 or Port 2
list box and
clicking the
Configure
button. When 7 data bits are selected as default, 00h through 7Fh is transmitted. When 8 data bits
are selected, 00h through FFh is transmitted. Constant values are entered in character or hexadecimal notation into the
source data.
Constant (Character)
Any character available on the computer keyboard can be entered. One character is counted as one byte.
Constant (Hexadecimal)
Use this option to enter the hexadecimal code of any ASCII character. ASCII control codes NUL (00h) through US (1Fh)
can also be entered using this option.
Type
TXD
Transmit instruction
RXD
Receive instruction
Port
Port 1
Transmit user communication through por t 1 (TXD1)
Port 2
Transmit user communication through por t 2 (TXD2)
S1
Source 1
Enter the data to transmit in this area.
Transmit data can be constant values (character or hexadecimal), data registers, or BCC.
D1
Destination 1
Transmit completion output can be an output or internal relay.
D2
Destination 2
Transmit status register can be data register D0 through D1298 or D2000 through D7998.
The next data register stores the byte count of transmitted data.
Transmit Data
Operand
Conversion Type
Transmit Digits
(Bytes)
Repeat
BCC Calculation
Calculation
Start Position
Constant
00h-7Fh (FFh)
No conversion
1
—
—
—
Data Register
D0-D1299
D2000-D7999
A: Binar y to ASCII
B: BCD to ASCII
–: No conversion
1-4
1-5
1-2
1-99
—
—
BCC
—
A: Binar y to ASCII
–: No conversion
1-2
—
X: XOR
A: ADD
C: Add-2comp
M: Modbus ASCII
M: Modbus RTU
1-15
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...