Chapter 8 Logic Instructions 
8-245 
Variable name  Address  Data type  Initial value 
LStatus_ErrID 
  WORD   
 
After these parameter settings are done, set Confg _Ex to TRUE and then Mng_Open to TRUE. If the 
configuration need be modified during the communication, the input Confg_Ex should be triggered on 
the rising edge, Mng_Open should be set to FALSE and then to TRUE after the new configuration data 
are set up. 
 
  The node address of the slave DVP32ES2 is 1. The values in 31 bit devices %MX0.0~%MX3.6 of the 
master are written to Y0~Y30 in the slave. Then the values in Y0~Y30 of the slave are read and stored 
in the 31 bit devices %QX0.1~%QX3.7 in the master as shown in the following variable table 2. 
 
  Variable table 2 
Name  Address  Data type  Initial value 
Mng 
  RS485_Link_Manage   
Mng_En 
  BOOL  TRUE 
Mng_Open 
  BOOL  FALSE 
Mng_Valid 
     
Mng_LOpen 
     
Confg 
  RS485_Link_Config   
Confg _Ex 
  BOOL  FALSE 
Confg _LN 
  UINT  1 
Confg _EL 
  BOOL  TRUE 
Confg _Ncyc 
  BOOL  FALSE 
Confg _SNI 
  USINT  1 
Confg _OT 
  USINT  1 
Confg _EFC17 
  BOOL  FALSE 
Confg _WBA 
%MW0  UINT   
Confg _WBAO 
  USINT  0 
Confg _WDA 
  UINT  16#0400 
Confg _WL 
  UINT  31 
Confg _RBA 
%QW0  UINT   
Confg_RBAO 
  USINT  1 
Confg _RDA 
  UINT  16#0400 
Confg _RL 
  UINT  31 
Confg _RFC 
  USINT   
Confg _TOut 
  UINT  1000 
Confg _Done 
     
Confg _Err 
     
Confg _ErrID 
     
LStatus 
  RS485_Link_Status   
LStatus_En 
  BOOL  TRUE