Toshiba PROSEC T1-16S User Manual page 157

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

FUN 045
-1
Expression
Input
[ -1 A ]
Output
Function
When the input is ON, the data of A is decreased by 1 and stored in A.
Execution condition
Input
OFF
No execution
ON
Execution
Operand
Name
X
A Operation data
Example
At the rising edge of X005 changes from OFF to ON, the data of D0050 is decreased by 1 and
stored in D0050.
If the data of D0050 is 1022 before the execution, it will be 1021 after the execution.
D0050
1022
Note
There is no limit value for this instruction. When the data of operand A is -32768 before the
execution, it will be 32767 after the execution.
Decrement
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
- 1
Output
OFF
ON
Register
C
D0050
1021
Basic Hardware and Function
7. Instructions
Constant Index
D
I
J
K
6F3B0253
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents