Arithmetic Action Instructions - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

I n s t a l l a t i o n m a n u a l .
4.4.4

Arithmetic action instructions.

= MOV
Move.
It is used to move data from one PLC resource to another.
The programming format is:
Origin
= MOV I1/1024
O1/1024
M1/8192
MSG1/1024
ERR1/1024
T1/512
C1/256
R1/1024
R CNC-PLC
#
The Origin and Destination codes indicate which format (binary or BCD) they have and in
which format they will be deposited in the destination resource. 4, 8, 12, 16, 20, 24, 28 or
32 bits may be transmitted.
If the codes and number of bits to be moved are not indicated, 32 binary bits will be moved
bit to bit (0032).
MOV
MOV
MOV
MOV
If the number to be converted from binary to BCD is larger than the maximum BCD, its value
will be truncated ignoring the most significant bits.
The maximum BCD value that can be converted is: 9 (with 4 bits), 99 (with 8), 999 (with 12),
9999 (with 16), 99999 (with 20), 999999 (with 24), 9999999 (with 28) and 99999999 (con
32). In these cases, it is recommended to make the move increasing the number of bits by
using, if necessary, registers or marks in intermediate steps.
I11 = MOV I14 O16 108
If input I11 is "=1", the PLC moves the logic states of the 8 inputs (I14 plus the next
7) in BCD code to the 8 outputs (O16 and the next 7) in binary code.
Destination
Origin code
I1/1024
0(Bin)
O1/1024
1(BCD)
M1/8192
MSG1/1024
ERR1/1024
R1/1024
R CNC-PLC
I12
M100
0032
O21
R100
0012
C22
O23
0108
T10
M112
1020
D e s t i n a t i o n
Bits to transmit
code
0(Bin)
32
1(BCD)
28
24
20
16
12
8
4
binary to binary in 32 bits.
binary to binary in 12 bits.
binary to BCD in 8 bits.
BCD to binary in 20 bits.
4.
CNC 8060
CNC 8065
(R
: 1709)
EF
·355·

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents