Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Basic Program Instructions 2
2-4
2.5 Out
Basic points to remember:
- Connect the OUT instruction directl
y
to the ri
g
ht hand bus bar.
- It is not possible to use the OUT instruction to drive ‘X’ t
y
pe input devices.
- It is possible to connect multiple OUT instructions in parallel (for example see the
previous pa
g
e; M100/T0 confi
g
uration)
2.5.1 Timer and Counter Variations
When confi
g
urin
g
the OUT instruction for use as either a timer (T) or counter (C) a constant
must also be entered. The constant is identified b
y
the letter “K” (for example see previous
pa
g
e; T0 K19).
In the case of a timer, the constant “K” holds the duration data for the timer to operate, i.e. if a
100 msec timer has a constant of “K100” it will be (1005 100 msec) 10 seconds before the
timer coil activates.
With counters, the constant identifies how man
y
times the counter must be pulsed or tri
gg
ered
before the counter coil activates. For example, a counter with a constant of “8” must be
tri
gg
ered 8 times before the counter coil finall
y
ener
g
izes.
The followin
g
table identifies some basic parameter data for various timers and counters;
Mnemonic Function Format Devices Program steps
OUT
(OUT)
Final lo
g
ical
operation t
y
pe coil
drive
Y, M, S, T, C
Y, M:1
S, special M
coils: 2
T:3
C (16 bit): 3
C (32 bit): 5
Timer/Counter Setting constant K Actual setting Program steps
1 msec Timer
1 to 32,767
0.001 to 32.767 sec
3
10 msec Timer 0.01 to 327.67 sec
100 msec Timer 0.1 to 3276.7 sec
16 bit Counter 1 to 32,767 1 to 32,767
32 bit Counter
-2,147,483,648 to
2,147,483,647
-2,147,483,648 to
2,147,483,647
5