EasyManua.ls Logo

Inovance H3U Series - Electronic Cam Instructions

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
334
4
4 Instructions4.12.4 Other Peripheral Instructions
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
Gray code values are converted to binary equivalents.
S is the gray code value or data variable unit to be converted, in the range 0 to 32,767 in 16-bit operation or
0 to 2,147,483,647 in 32-bit operation. When this range is exceeded, M8067 and M8068 are set to ON and
the instruction is not executed.
D is the unit that stores the BIN value after conversion.
Algorithm for gray code-to-BIN conversion: XOR operation is performed on every bit starting from the
second leftmost bit and the decoded value of a left-hand bit. The result is used as the decoded value of the
bit. The leftmost bit remains unchanged.
Example:
X0
GBIN K3X10 D20
DS
Execution result:
1 0 1 1 0 1 0 1 1 1 0 1
GRY
X23 X10
0 0 0 0 1 1 0 1 1 0 0 1 0 1 1 0
(D20)
BIN
S
D
4.13 Electronic Cam Instructions
Electronic cam instructions
CAMWR Writing electronic cam data
CAMRD Reading electronic cam data
ECAMWR Writing electronic cam oating-point data
ECAMRD Reading electronic cam oating-point data
For details, see
“8.8 Modifying Key Points for Electronic Cams” on Page 576.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals