Cautions On Creation Of Fundamental Programs; I/O Processing And Response Delay - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
1.3

Cautions on Creation of Fundamental Programs

This section explains cautions on programming.
Refer to the following manual for cautions on structured programs and programming languages:
Refer to the following programming manual for detailed operations of and cautions on devices and
parameters:
1.3.1

I/O processing and response delay

1. Operation timing of I/O relays and
response delay
FX PLCs execute the I/O processing by
repeating the processing (1) to processing (3).
Accordingly, the control executed by PLCs
contains not only the drive time of input filters
and output devices but also the response
delay caused by the operation cycle.
Acquiring the latest I/O information
For acquiring the latest input information or
immediately outputting the operation result in
the middle of the operation cycle shown
above, the I/O refresh instruction (REF) is
available.
2. Short pulses cannot be received.
The ON duration and OFF duration of inputs in PLCs require longer time than "PLC cycle time + Input filter
response delay".
When the response delay "10 ms" of the input filter is considered and the cycle time is supposed as "10 ms",
the ON duration and OFF duration should be at least 20 ms respectively.
Accordingly, PLCs cannot handle input pulses at 25 Hz (= 1000 /(20 + 20)) or more. However, the situation
can be improved by PLC special functions and applied instructions.
Convenient functions for
improvement
By using the following functions, PLCs
can receive pulses shorter than the
operation cycle:
• High speed counter function
• Input interrupt function
• Pulse catch function
• Input filter value adjustment function
16
1.3 Cautions on Creation of Fundamental Programs
→ Q/FX Structured Programming Manual (Fundamentals)
→ FX Structured Programming Manual (Device & Common)
(1)
[Input processing]
Input image
memory is read.
Scan
(2)
[Program processing]
time
Image memory of
(operation
each device is updated.
cycle)
Batch I/O method
(Refresh method)
This "input ON" can be received.
"Input ON" cannot
be received.
OFF
ON
Program
Program
processing
processing
Input processing
Output processing
The ON/OFF status of input
terminals is received at one time.
Input image is read, and
operation is executed
according to program.
(3)
[Output processing]
Result is transferred to
output latch memory.
This "input OFF" cannot
be received.
OFF
ON
Program
Program
processing
processing
Operation cycle
(
Time)
1 Outline
Output
devices
are driven.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents