IDEC FC6A-C16K1CE Communications Manual page 94

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

Advertisement

5: U
C
SER
OMMUNICATION
Start delimiter of incoming data does not match the receive format
Const
Incoming Data
(02h) (xxh)
Const
Receive Format
(05h)
Start
Delimiter
Constant for verification of incoming data does not match the receive format
Incoming Data
(05h) (xxh)
Const
Receive Format
(05h)
Note: Constants configured in the beginning of receive formats have different functions as shown below:
More than five constants are configured in the beginning of the receive format
Byte
1st
Const
Receive Format
Other than constants (data register, skip, or BCC) are included in the first five bytes of the receive format
Byte
1st
Const
Receive Format
Start Delimiter
Consecutive first 5 bytes only
Skip
When "skip" is designated in the receive format, a specified quantity of digits in the incoming data are skipped and not stored to
data registers. A maximum of 99 digits (bytes) of characters can be skipped continuously.
Example: When a RXD instruction with skip for 2 digits starting at the third byte is executed
Incoming Data
"1"
"2"
"3"
(31h)
(32h)
(33h)
Skipped
5-18
I
NSTRUCTIONS
(FFh) (xxh) (0Dh)
DR
Const
DR
Const
(FFh)
(0Dh)
(0Fh) (xxh) (0Dh)
DR
Const
DR
Const
(FFh)
(0Dh)
Constant for
Verification
2nd
3rd
4th
5th
Const
Const
Const
Const
Const
Start Delimiter
Up to 5th byte
2nd
3rd
4th
5th
DR
Const
Const
Const
etc.
Data register,
skip, or BCC
"4"
"5"
"6"
"7"
(34h)
(35h)
(36h)
(37h)
When D100 is designated
as the first data register
FC6A S
M
S
A
ERIES
ICRO
MART
Receive status:
Receive completion output:
Receive status:
Receive completion output:
6th
200th
Const
Constant for Verification
6th byte and after
6th
200th
Constant for Verification
Not consecutive in the first 5 bytes
"8"
(38h)
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
RXD instruction keeps waiting for valid incoming data,
7
and completes data receiving after receiving valid data
0
including a correct start delimiter.
Receive status stores 74 (= 64 + 10)
74
RXD instruction completes data receiving. To repeat
1
receiving incoming communication, turn on the input for
the RXD instruction.
0035h
D102
0036h
D103
0037h
D104
0038h
D105
D100
0031h
0032h
D101
M
FC9Y-B1730
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents