12 Pulse Outputs
12-32
CP1E CPU Unit Software User’s Manual(W480)
12-5 Reading the Pulse Output Present
Value
The present value of a pulse output can be read in the following two ways.
The PV that is stored in the following words can be read using the MOVL instruction or other instruc-
tions.
Reading the Pulse Output PV with a PRV Instruction
• Value refreshed at the I/O refresh timing Read PV from Auxiliary Area.
• Value updated when a program is executed Read PV by executing a PRV instruction.
Reading the PV Refreshed at the I/O Refresh Timing
Read PV Auxiliary Area words
Pulse output 0 A277 (upper digits) and A276 (lower digits)
Pulse output 1 A279 (upper digits) and A278 (lower digits)
Reading the Value When a Program is Executed
#0000
#0000
D100
D100
D101
@PRV
15
0
Pulse output PV that was read
C1: Port specifier (example for pulse output 0)
C2: Control data (example for reading PV)
D: First destination word
Present value data lower bytes
Present value data upper bytes
Execution condition