Mitsubishi Electronics C6 Home Safety Product User Manual


 
8. Function Commands
*, *P
- 170 -
{ *, *P ... BIN 16-bit multiplication
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S1
{
{ { { { { {
{
{ { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { {
D
{ { { { { {
{
{ { { { { { {
{ {
4
Setting data
S2
S1
Multiplication data or No. of device
where multiplication data is stored.
Head No. of device to store
multiplication results.
D
Multiplication command
*P
S2S1 D
*
*P
*S2S1 D
Multiplication data or No. of device
where multiplication data is stored.
Function
(1) The BIN data designated with S1 and the BIN data designated with S2 are multiplied, and the
multiplication results are stored in the device designated with D.
5678 (BIN) 1234 (BIN) 7006652 (BIN)
B15…………………B0
B15…………………B0
B31……B16B15……B0
×
S1
S2
D
D+1
(2) -32768 to 32767 (BIN 16-bit) can be designated in S1 and S2.
(3) The positive/negative of the data in S1, S2 and D is determined with the highest-order bit (B15 for
S1 and S2, B31 for D).
B15/B31
Judgment of
positive/negative
0 Positive
1 Negative