Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
49
V
o
lume
I Programming
Fig. 5-25-1
Controllable condition:
ACT
=
0, No data to be transferred
ACT
=
1, The byte specified by the quantity is transferred.
Parameter:
Length: The byte numbers or data number to be transferred.
S1 : Resource start address or constant.
Select the transfer form based upon the S1:
1. If the S2 is single byte address, S1 is the constant, the resolution of the S1 based
upon the byte is copied to the address where it is corresponding Length type at the
beginning with S2; the S1 should be evaluated based upon the bit, if S2 is the bit
address; the bit address corresponding Length begins with the S2 address.
2. The address type both S1 and S2 will not be considered whether it is matched, which
is transferred the data by the byte address.
S2 : Destination start address.
For example:
Fig. 5-25-2
1. When S1 is regarded as constant 5, and the S2 is treated as R60, then
R60=00000101
2. When S1 is regarded as constant 5, and the S2 is treated as D60, then D60=5.
3. When S1 is address D50, and S2 is treated as D60, then D60=D50.
W=1, the specified quantity bytes are transferred.
W=0 No data transfer
The quantity range that exceeds the parameter type is detected when transferring, the system
alarm may occur.
5.26 MOVB (Transmission of 1 Byte)
Function: