20: P
ULSE
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
20-3
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.
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.
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.
Error Code
Operation Modes 0 through 2
Operation Mode 3
0
Normal
1
Operation mode designation error
(S1+0 stores other than 0 through 2)
Operation mode designation error
(S1+0 stores other than 0 through 3)
2
Output pulse frequency designation error
(S1+1 stores other than 1 through 100)
Output pulse frequency designation error
(S1+1 stores other than 10 through 20,000)
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)
Operand
Function
Description
R/W
D1+0
Pulse output ON
0: Pulse output OFF
1: Pulse output ON
R
D1+1
Pulse output complete
0: Pulse output not complete
1: Pulse output complete
R
D1+2
Pulse output over flow
0: Over flow not occurred
1: Over flow occurred (PULS1 only)
R
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...