VIGOR ELECTRIC CORP.
VB-4DA
4-Channel Analog Outputs Module
5. Outline of FROM/TO Instruction
D
FNC 78
FROM
P
Read special module BFM
Device
X
Y M
S KnX KnY KnM KnS
T
C
D SD P V,Z K,H VZ index
m1
○
m2
○
D
○
○
○
○
○
○
○
n
○
● m1 = 1~8 ● m2 = 0~32767 ● n = 1~32767
X0 m1 m2 D n
FROM K1 K30 D10 K1
m1 : The position number of the specified special module
m2 : Initial serial number of the BFM(s) to be read
D : The initial device of storage(s) for collect the picked up data
n : Number of data group(s) to be read
●
The Main Unit of VB Series PLC use the instruction to read BFM data of the special module.
●
When X0=”ON”, 1 group (it will be the BFM #30, because n = K1 and m2 = K30) data in the
specified special module (which is installed in the m1 = K1 = 1
st.
position) will be read and
stored in D = D10.
●
To assign the m1 in a VB Series, each special module is consecutively assigned from K1 to K8
(in a VB0 Series, m1 = K1 or K2), it begins with the closest one to the Main Unit.
●
When X0=”OFF”, the instruction will not be performed but the data (which was read
previously) will still remain.
D
FNC 79
TO
P
Special module BFM write in
Device
X
Y M
S
KnX KnY KnM KnS
T
C
D SD P V,Z K,H VZ index
m1
○
m2
○
S
○
○
○
○
○
○
○
○
○
n
○
● m1 = 1~8 ● m2 = 0~32767 ● n = 1~32767
X0 m1 m2 S n
TO K1 K1 K0 K4
m1 : The position number of the specified special module
m2 : Initial serial number of the BFM(s), which will be written
S : The initial source device, which stores the data is for the BFM
n : Number of data group(s) to be write
●
The Main Unit of VB series PLC use this instruction to write data to the special module BFM.
●
When X0=”ON”, the content value of S (K0) will be written into the BMFs which are started
form BFM #1 ( m2 = K1) in the special module and it is installed in the 1
st.
( m1 = K1)
position. Since n = K4, there are 4 BFMs will be written sequentially.
●
To assign the m1 in a VB Series, each special module is consecutively assigned from K1 to K8
(in a VB0 Series, m1 = K1 or K2), it begins with the closest one to the Main Unit.
●
When X0=”OFF”, the instruction will not be performed but the data (which was written
previously) will still remain.
----------------------------------------------------------------
5
----------------------------------------------------------------