7: B
ASIC
I
NSTRUCTIONS
7-22
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
SOTU
and SOTD
(Single Output Up and Down)
The SOTU instruction “looks for” the transition of a given input from off to on. The SOTD instruction looks for the transi-
tion of a given input from on to off. When this transition occurs, the desired output will turn on for the length of one scan.
The SOTU or SOTD instruction converts an input signal to a “one-shot” pulse signal.
A total of 512 (all-in-one 10-I/O type CPU module) or 3072 (other CPU modules) SOTU and SOTD instructions can be
used in a user program.
If operation is started while the given input is already on, the SOTU output will not turn on. The transition from off to on is
what triggers the SOTU instruction.
When a relay of the CPU or relay output module is defined as the SOTU or SOTD output, it may not operate if the scan
time is not compatible with relay requirements.
There is a special case when the SOTU and SOTD instructions are used between the MCS and MCR instructions (which
are detailed on page 7-23). If input I2 to the SOTU instruction turns on while input I1 to the MCS instruction is on, then
the SOTU output turns on. If input I2 to the SOTD instruction turns off while input I1 is on, then the SOTD output turns
on. If input I1 turns on while input I2 is on, then the SOTU output turns on. However, if input I1 turns off while input I2 is
on, then the SOTD output does not turn on as shown below.
I0
I0
Ladder Diagram
Input I0
ON
OFF
Output Q0
ON
OFF
Output Q1
ON
OFF
Timing Chart
SOTU
SOTD
T
T
T
T
Note:
“T” equals one scan time (one-shot pulse).
Instruction
Data
LOD
SOTU
OUT
LOD
SOTD
OUT
I0
Q0
I0
Q1
Program List
Q0
Q1
Caution
•
For restrictions on ladder programming of
SOTU and SOTD instructions, see page 29-22.
I2
I1
Ladder Diagram
Input I1
ON
OFF
SOTU Output M1
ON
OFF
SOTD Output M2
ON
OFF
Timing Chart
MCS
SOTD
MCR
No Output
No Output
I2
SOTU
Input I2
ON
OFF
M1
M2
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...