background image

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   

 ----------------------------------------------------------------

Summary of Contents for VB - 4DA

Page 1: ...ion of the VB 4DA analog output module always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use of the...

Page 2: ...VB2 series PLC a single VB0 series PLC can connect with two special modules 2 Specifications Power Requirement 5 V DC 30 mA for internal control Supplied from PLC Main Unit or Expansion Unit VB PWR vi...

Page 3: ...tput 0 5 V DC voltage output 1 5 V DC voltage output 10V 5V 5V 1V 0 Digital Input 250 0 Digital Input 250 0 Digital Input 250 Mode 4 Mode 5 0 20 mA DC current output 4 20 mA DC current output 20mA 20m...

Page 4: ...unding 100 or less 2 If electrical noise or a voltage ripple exists at the output must connect a smoothing capacitor of 0 1 0 47 F 25 V 3 Connect the terminal on the VB 4DA with the terminal on the Ma...

Page 5: ...n 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...

Page 6: ...voltage output mode 0 V 5 V O 2 Sets the channel to voltage output mode 1 V 5 V O 4 Sets the channel to current output mode 4 mA 20 mA O 5 Sets the channel to current output mode 0 mA 20 mA Switching...

Page 7: ...position In this program the BFM 0 H1245 The digit 1 5 CH1 will be a 4 mA 20 mA current output The digit 2 4 CH2 will be a 0 mA 20 mA current output The digit 3 2 CH3 will be a 1 V 5 V voltage output...

Page 8: ...connected on VB 4DA analog output module Refer to the Chapter 4 Wiring Check that the VB system configuration rules have not been broken i e the number of modules does not exceed 8 Ensure that the cor...

Reviews: