25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
25-2
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
User Communication Transmit Instruction Dialog Box in WindLDR
Selections and Devices in Transmit Instruction Dialog Box
Transmit Data
Transmit data is designated by source device 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)
Note:
Total byte count of the transmit data is shown in S1 of TXD instruction on the ladder diagram of WindLDR.
Designating Constant as S1
When a constant value is designated as source device 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
Configuration
>
Comm. Ports
, followed by selecting
User Protocol
in Port 2 through Port 3
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 2 - Port 3
Transmit user communication from port 2 (TXD2) through port 3 (TXD3)
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-D1998.
The next data register stores the byte count of transmitted data.
Transmit
Data
Device
Conversion Type
Transmit Digits
(Bytes)
Repeat
BCC Calculation
Calculation
Start Position
Constant
00h-7Fh (FFh)
No conversion
1
—
—
—
Data
Register
D0-D1999
A: Binary to ASCII
B: BCD to ASCII
–: No conversion
1-4
1-5
1-2
1-99
—
—
BCC
—
A: Binary to ASCII
–: No conversion
1-2
—
X: XOR
A: ADD
C: Add-2comp
M: Modbus ASCII
M: Modbus RTU
1-15
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...