IDEC FC4A-C10R2 User Manual page 285

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

User Communication Transmit Instruction Dialog Box in WindLDR
Selections and Operands in Transmit Instruction Dialog Box
TXD
Type
RXD
Port 1
Port
Port 2
S1
Source 1
D1
Destination 1
D2
Destination 2
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)
Transmit Data
Operand
Constant
00h-7Fh (FFh)
D0-D1299
Data Register
D2000-D7999
BCC
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.
Transmit instruction
Receive instruction
Transmit user communication through port 1 (TXD1)
Transmit user communication through port 2 (TXD2)
Enter the data to transmit in this area.
Transmit data can be constant values (character or hexadecimal), data registers, or BCC.
Transmit completion output can be an output or internal relay.
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.
Conversion Type
No conversion
A: Binary to ASCII
B: BCD to ASCII
–: No conversion
A: Binary to ASCII
–: No conversion
« FC4A M
S
ICRO
17: U
SER
Transmit Digits
Repeat
(Bytes)
1
1-4
1-5
1-99
1-2
1-2
U
'
M
»
MART
SER
S
ANUAL
C
I
OMMUNICATION
NSTRUCTIONS
Calculation
BCC Calculation
Start Position
X: XOR
A: ADD
C: Add-2comp
1-15
M: Modbus ASCII
M: Modbus RTU
17-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents