IDEC FC4A-C10R2 User Manual page 331

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

S1+2 Pulse Counting
Pulse counting can be enabled for the PULS1 instruction only. With pulse counting enabled, PULS1 generates a predeter-
mined number of output pulses as designated by operands S1+3 and S1+4. With pulse counting disabled, PULS1 or
PULS2 generates output pulses while the start input for the PULS instruction remains on.
0: Disable pulse counting
1: Enable pulse counting (PULS1 only)
When programming PULS2, store 0 to the data register designated by S1+2.
S1+3 Preset Value (High Word)
S1+4 Preset Value (Low Word)
With pulse counting enabled as described above, PULS1 generates a predetermined number of output pulses as designated
by operands S1+3 and S1+4. The preset value can be 1 through 100,000,000 (05F5 E100h) stored in two consecutive data
registers designated by S1+3 (high word) and S1+4 (low word).
When pulse counting is disabled for PULS1 or when programming PULS2, store 0 to data registers designated by S1+3
and S1+4.
S1+5 Current Value (High Word)
S1+6 Current Value (Low Word)
While the PULS1 instruction is executed, the output pulse count is stored in two consecutive data registers designated by
operands S1+5 (high word) and S1+6 (low word). The current value can be 1 through 100,000,000 (05F5 E100h) and is
updated in every scan.
S1+7 Error Status
When the start input for the PULS1 or PULS2 instruction is turned on, operand values are checked. When any error is
found in the operand values, the data register designated by operand S1+7 stores an error code.
Error Code
0
Normal
Operation mode designation error
1
(S1+0 stores other than 0 through 2)
Output pulse frequency designation error
2
(S1+1 stores other than 1 through 100)
3
Pulse counting designation error (S1+2 stores other than 0 and 1)
4
Preset value designation error (S1+3 and S1+4 store other than 1 through 100,000,000)
5
Invalid pulse counting designation for PULS2 (S1+2 stores 1)
Destination Operand D1 (Status Relay)
Three internal relays starting with the operand designated by D1 indicate the status of the PULS instruction. These oper-
ands are for read only.
Operand
D1+0
Pulse output ON
D1+1
Pulse output complete
D1+2
Pulse output overflow
D1+0 Pulse Output ON
The internal relay designated by operand D1+0 remains on while the PULS instruction generates output pulses. When the
start input for the PULS instruction is turned off or when the PULS1 instruction has completed generating a predetermined
number of output pulses, the internal relay designated by operand D1+0 turns off.
Operation Modes 0 through 2
Function
0: Pulse output OFF
1: Pulse output ON
0: Pulse output not complete
1: Pulse output complete
0: Overflow not occurred
1: Overflow occurred (PULS1 only)
« FC4A M
Operation mode designation error
(S1+0 stores other than 0 through 3)
Output pulse frequency designation error
(S1+1 stores other than 10 through 20,000)
Description
S
U
'
M
ICRO
MART
SER
S
ANUAL
20: P
ULSE
Operation Mode 3
»
I
NSTRUCTIONS
R/W
R
R
R
20-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents