163
Virtual Pulse Output Function (-V1 unit with lot No. 0209__or later only)
Section 7-10
• PLS2 cannot be used as a differentiated instruction.
• PLS2 is started at the rise of the input condition. If the input remains ON
continuously, the virtual pulse stays being output continuously until the
target position is reached. Once the target position is reached, the virtual
pulse output is stopped. Additionally, if the input condition turns OFF dur-
ing the output, the output is stopped simultaneously.
• With the model CS1W-HCP22-V1, since it is required to switch from the
normal mode (executes pulse output to external device), PLS2 instruction
can be executed only after bit 15 of AR 19 (PLS2 instruction mode
change) is set to 1 (virtual pulse output mode). (With the models CS1W-
HCA22-V1/-HCA12-V1, this operation is not required.)
• Whether the virtual output pulses are counted relatively or absolutely can
be selected in PLS2's operand.
• With relative virtual output selected, the internal pulse counter starts
counting after initializing the internal pulse counts to 0 at starting up the
instruction.
• With absolute virtual output selected, the count is held at starting up the
instruction. The internal counter then counts the virtual pulse output
based on the held count.
• The internal pulse counts are refreshed at every cycle specified in opera-
tion cycle of internal pulse counts (2 ms, 1 ms, or 0.5 ms) under the condi-
tion that the cycle time is constant. When the cycle time does not match
with the specified operation cycle of pulse counts, a margin of error for the
difference results. For higher accuracy of the internal pulse counts, use
the constant cycle time function to make the operation cycle and the cycle
T+4
Target position (8-
digit hexadecimal)
Set the number of virtual output
pulses here.
Relative mode:
0000 0000 to FFFF FFFF
Absolute mode:
8000 0000 to 7FFF FFFF
Setting
T+5
T+6
Target frequency (4-
digit BCD)
Set the target frequency of virtual
pulses here.
0001 to 0200
(1 to 200 kHz)
T+7
Start frequency (4-
digit BCD)
Set the start frequency of virtual
pulses here.
0000 to 0200
(0 to 200 kHz)
T+8
Acceleration (4-digit
BCD)
Set the acceleration of virtual
pulses here.
0001 to 0200
(1 to 200 kHz)
T+9
Deceleration (4-digit
BCD)
Set the deceleration of virtual
pulses here.
0001 to 0200
(1 to 200 kHz)
T+10
Bit 00 to
07
Operation cycle of
internal pulse counts
Specify cycle (reference for oper-
ating internal pulse counts) for
updating speed. This decides the
pulse counts for 1 cycle.
00 Hex: 2 ms
01 Hex: 1 ms
02 Hex: 0.5 ms
Bit 08 to
15
Relative/absolute
selection
Select either absolute pulse output
or relative pulse output.
00 Hex: Relative
01 Hex: Absolute
T11 to 16
Work area for opera-
tion
Used by the system.
Address
Name
Description
Setting range
Setting/
monitor
Address
Description
AR 19 bit 15
PLS2 instruction mode change (valid only with model CS1W-
HCP22-V1)
OFF: Normal mode (outputs pulse to external device)
ON: Virtual pulse output mode (executes virtual pulse output,
without actual pulse output to external device)
Summary of Contents for CS1W-HCA12-V1
Page 2: ......
Page 6: ...vi...
Page 20: ...xx Conformance to EC Directives 7...
Page 38: ...18 Models and System Configurations Section 1 2...
Page 78: ...58 Fail safe Circuits Section 3 5...
Page 138: ...118 AR Area Section 6 4...
Page 204: ...184 Improved Instructions Section 7 14...
Page 222: ...202 Cycle Time Section 8 3...
Page 240: ...220 Troubleshooting Flowcharts Section 9 5...
Page 244: ...224 Precautions when Using the CX Programmer Appendix A...
Page 252: ......
Page 253: ......