7 Applied Instructions
7.9 External Device (optional device)
415
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
7.9.5 CCD
Outline
This instruction calculates the horizontal parity value or check sum value of error check method used in
communication or the like. The error check method also includes cyclic redundancy check (CRC). Use the
CRC instruction when determining the CRC value.
→ As for CRC instruction, refer to section 7.18.4.
→ As for complementary number [NEG instruction], refer to section 7.3.10.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
CCD 16 bits Continuous CCD(EN, s, n, d);
CCDP 16 bits Pulse CCDP(EN, s, n, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Head object device ANY16
Number of data (n=1 to 256) ANY16
Output
variable
ENO Execution state Bit
Head storage destination device of calculated data ANY16
Operand
type
Bit Devices Word Devices Others
System User Digit designation System User
Special
Unit
Index
Con
stant
Real
Number
Character
String
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifier K H E
""
P
z z z z zzz
S1 S2
z
z z z zzz
S1
z
z
S1
zz
CCD
EN
s
ENO
d
n
CCDP
EN
s
ENO
d
n