Mitsubishi Electric MELSEC FX3U Programming Manual page 753

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Cautions
• This instruction can be executed only once in a program.
If this instruction is programmed two or more times, an operation error is caused by the second instruction
and later, and the instruction will not be executed. (error code: K6765)
• This instruction constructs the data table at the END instruction of the first execution of the instruction.
Accordingly, the operation output works after the second scan and later.
• With regard to DHSCT (FNC280), DHSCS (FNC 53), DHSCR (FNC 54) and DHSZ (FNC 55) instructions,
up to 32 instructions can be executed in one operation cycle. An operation error is caused by the 33rd
instruction and later, and the instruction will not be executed. (error code: K6705)
• If an output (Y) is specified in
output refresh executed by END instruction.
When specifying an output (Y), make sure that the least significant digit of the device number is "0".
Examples: Y000, Y010 and Y020
• When a high speed counter specified in
as software counters.
• For this instruction, only one comparison point (one line) is handled as the comparison target at one time.
Processing will not move to the next comparison point until the current counter value becomes equivalent
to the comparison point currently selected as the comparison target.
If the current value of a high speed counter executes up counting using the comparison data table shown
in the operation example on the previous page, make sure to execute the instruction while the current
value of the high speed counter is smaller than the comparison value in comparison point No. 1.
• When the DHSCT instruction is used with a hardware counter (C235, C236, C237, C238, C239, C240,
C244 (OP), C245 (OP), C246, C248 (OP), C251, C253), the hardware counter is automatically switched to
a software counter, and the maximum frequency and total frequency are affected.
Errors
An operation error occurs in the following cases; The error flag M8067 turns ON, and the error code is stored
in D8067.
• When any devices other than high speed counters C235 to C255 are specified in
• When the "3m-1"th device from a device specified in
code: K6706)
• When the "n"th device from a device specified in
K6706)
• When this instruction is used two or more times in a program (error code: K6765)
• With regard to DHSCT (FNC280), DHSCS (FNC 53), DHSCR (FNC 54) and DHSZ (FNC 55) instructions,
up to 32 instructions can be executed in one operation cycle. An operation error is caused by the 33rd
instruction and later, and the instruction will not be executed. (error code: K6705)
32.1 FNC280 – HSCT / High Speed Counter Compare With Data Table
, the output processing is executed immediately without waiting for the
D
is indexed with index, all high speed counters are handled
S
2
S
1
exceeds the last number of the device (error code:
D
32 High Speed Processing 2 – FNC280 to FNC289
S
2
exceeds the last number of the device (error
31
32
33
34
35
36
(error code: K6706)
37
38
A
B
751

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents