Omron SYSMAC mini SP10 Operation Manual page 93

Table of Contents

Advertisement

Instruction Set
0000
0100
0000
TIM 01
TIM 02
Example 4:
One-Shot Bits
0215
TIM 01
0000
0215
0215 TIM 01
0000
0103
1.5 s
Example 5:
Flicker Bits
0000
0100
5.0 s
The length of time that a bit is kept ON or OFF can be controlled by combin-
ing TIM with OUT or OUT NOT. The following diagram demonstrates how
this is possible. In this example, bit 0103 would remain ON for 1.5 seconds
after 0000 goes ON regardless of the time 0000 stays ON. This is achieved
by using 0215 as a self-maintaining bit activated by 0000 and turning ON
0103 through it. When TIM 01 comes ON (i.e., when the SV of TIM 01 has
expired), 0103 will be turned OFF through TIM 01 (i.e., TIM 01 will turn ON
and because it is programmed as a normally closed condition, an OFF ex-
ecution condition will be created for OUT 0103).
1.5 s
Bits can be programmed to turn ON and OFF at regular intervals while a des-
ignated execution condition is ON by using TIM twice. One TIM functions to
turn ON and OFF a specified bit, i.e., the Completion Flag of this TIM turns
the specified bit ON and OFF. The other TIM functions to control the opera-
tion of the first TIM, i.e., when the first TIM's Completion Flag goes ON, the
second TIM is started and when the second TIM's Completion Flag goes ON,
the first TIM is started.
Address Instruction
TIM 01
000
#0050
5.0 s
001
TIM 02
002
#0030
3.0 s
003
004
S
KEEP(12)
005
0100
006
R
007
3.0 s
Address Instruction
0215
000
001
002
003
004
TIM 01
005
#0015
1.5 s
006
0103
007
008
Section 3-7
Operands
LD
0000
TIM
#
0050
LD
0100
AND NOT
0000
TIM
#
0030
LD
TIM
LD
TIM
KEEP(12)
0100
Operands
LD
0215
AND NOT
TIM
OR
0000
OUT
0215
LD
0215
TIM
#
0015
LD
0215
AND NOT
TIM
OUT
0103
01
02
01
02
01
01
01
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC mini SP10 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac mini sp16Sysmac mini sp20

Table of Contents