IDEC FC4A-C10R2 User Manual page 344

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

20: P
I
ULSE
NSTRUCTIONS
S1+5 Control Direction
When S1+4 is set to 1 or 2 to enable reversible control, the value stored in the data register designated by operand S1+5
specifies the control direction.
0: Forward
1: Reverse
S1+6 Preset Value (High Word)
S1+7 Preset Value (Low Word)
The RAMP instruction generates a predetermined number of output pulses as designated by operands S1+6 and S1+7. The
preset value can be 1 through 100,000,000 (05F5 E100h) stored in two consecutive data registers designated by S1+6
(high word) and S1+7 (low word).
S1+8 Current Value (High Word)
S1+9 Current Value (Low Word)
While the RAMP instruction is executed to generate output pulses from output Q0 or Q1, the output pulse count is stored
in two consecutive data registers designated by operands S1+8 (high word) and S1+9 (low word). The current value can be
1 through 100,000,000 (05F5 E100h) and is updated in every scan.
S1+10 Error Status
When the start input for the RAMP instruction is turned on, operand values are checked. When any error is found in the
operand values, the data register designated by operand S1+10 stores an error code.
Error Code
0
Normal
Operation mode designation error
1
(S1+0 stores other than 0 through 2)
Initial pulse frequency designation error
2
(S1+2 stores other than 1 through 100)
Preset value designation error
(S1+6 and S1+7 store other than 1 through
100,000,000)
3
The number of pulses for the frequency change
area calculated from the steady pulse frequency
(S1+1), initial pulse frequency (S1+2), and fre-
quency change rate (S1+3) is 0.
Steady pulse frequency designation error
4
(S1+1 stores other than 1 through 100)
Frequency change rate designation error
5
(S1+3 stores other than 1 through 100)
Reversible control enable designation error
6
(S1+4 stores other than 0 through 2)
Control direction designation error
7
(S1+5 stores other than 0 and 1)
The number of pulses for the frequency change areas calculated from the steady pulse frequency (S1+1),
initial pulse frequency (S1+2), and frequency change rate (S1+3) exceeds the preset value (S1+6/7) of the
8
total output pulses.
To correct this error, reduce the value of the steady pulse frequency (S1+1) or initial pulse frequency
(S1+2), or increase the frequency change rate (S1+3).
The initial pulse frequency (S1+2) is larger than the steady pulse frequency (S1+1).
9
Reduce the initial pulse frequency (S1+2) to a value smaller than the steady pulse frequency (S1+1).
The frequency change rate (S1+3) is larger than the
difference between the initial pulse frequency
10
(S1+2) and the steady pulse frequency (S1+1).
Reduce the frequency change rate (S1+3) or the ini-
tial pulse frequency (S1+2).
20-16
Operation Modes 0 through 2
« FC4A M
Operation mode designation error
(S1+0 stores other than 0 through 3)
Initial pulse frequency designation error
(S1+2 stores other than 10 through 20,000)
Preset value designation error
(S1+6 and S1+7 store other than 1 through
100,000,000)
Steady pulse frequency designation error
(S1+1 stores other than 10 through 20,000)
Frequency change time designation error
(S1+3 stores other than 10 through 10,000)
S
U
'
M
ICRO
MART
SER
S
ANUAL
Operation Mode 3
»

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents