App
- 2
Appendix 1 Dedicated Instructions
Appendix 1.2 G(P). PPCVRD
APPENDICES
Appendix 1.2
G(P). PPCVRD
Figure App.1 Instruction format
Table App.2 Available devices
Setting
data
Available device
Internal device
(system, user)
File register
Link direct device
J \
Intelligent
function
module
U \G
Index
register Z
Constant
Other
Bit
Word
Bit
Word
K, H
$
U
(S)
-
-
-
-
-
(D)
-
-
-
-
Table App.3 Setting data
Device
Description
Setting range
Data type
Un
Module head I/O number
0000
H
to 00FE
H
BIN 16 bits
(S)
Head number of the device storing the control data
Within the specified device
range
Device name
(D)
Turns ON for one scan on completion of the dedicated instruction
processing.
Also turns ON (D)+1 at device error completion.
Within the specified device
range
Bit
Table App.4 Control data
Device
Item
Description
Setting range
Data type
(S)
System area
-
-
-
(S) +1
Completion status
Stores the status on completion of
the instruction.
0: Normal completion
Other than 0: Error completion
-
System
(S) +2
Previous periodic pulse count
value
Stores the previous periodic pulse
count value.
-2147483648 to 2147483647
System
(S) +3
(S) +4
Present periodic pulse count
value
Stores the present periodic pulse
count value.
-2147483648 to 2147483647
System
(S) +5
Command
[Executing condition]
[Instruction symbol]
Command
Un
(S)
(S)
(D)
(D)
Un
G.PPCVRD
GP.PPCVRD
G.PPCVRD
GP.PPCVRD