IDEC FC6A-C16K1CE Communications Manual page 87

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

Advertisement

Receive Format
Receive format, designated by source device S1, specifies data registers to store received data, data digits for storing data, data
conversion type, and repeat cycles. A start delimiter and an end delimiter can be included in the receive format to discriminate
valid incoming communication. When some characters in the received data are not needed, "skip" can be used to ignore a
specified number of characters. BCC code can also be appended to the receive format to verify the received data. One RXD
instruction can receive 200 bytes of data at the maximum.
S1 (Source 1)
Receive
Device
Format
D0000-D7999
Data
D10000-
Register
D55999
00h-FFh
Start
Delimiter
1 to 5 bytes
End
00h-FFh
Delimiter
Constant
for
00h-FFh
Verification
BCC
Skip
Note: Total byte count of the receive format is shown in S1 of RXD instruction on the ladder diagram of WindLDR.
Designating Data Register as S1
When a data register is designated as source device S1, receive digits and conversion type must also be assigned. The received
data is divided into blocks of specified receive digits, converted in a specified conversion type, and stored to the designated data
registers. Conversion types are available in ASCII to Binary, ASCII to BCD, and no conversion.
When repeat is designated, received data is divided, converted, and stored into as many data registers as the repeat cycles,
starting with the designated data register. There can be up to 99 repeat cycles.
When a data register is designated as source device S1, a delimiter can be included in the data register designation to end
receiving communication.
Receive
Conversion
Digits
Type
(Bytes)
1-4
A:ASCII to Binary
1-5
B:ASCII to BCD
1-2
–:No conversion
No conversion
No conversion
No conversion
A:Binary to ASCII
1-2
–:No conversion
FC6A S
M
S
A
ERIES
ICRO
MART
LL
5: U
Repeat
Calculation
1-99
X:XOR
A:ADD
C:Add-2comp
M:Modbus ASCII
M:Modbus RTU
-
-O
T
C
IN
NE
YPE
OMMUNICATION
C
SER
OMMUNICATION
Calculation
BCC
Start
Position
1-15
M
FC9Y-B1730
ANUAL
I
NSTRUCTIONS
Skip
Delimiter
Bytes
Hex
ASCII
1-99
Delimiter
5-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents