__TMPB1 := MODBUSCYCLETIMER [ __CDINT00000004 ]
__TMPB1 := _NOT __TMPB1 
__TMPB__TON__IN := __TMPB1 
__FBL_RET := _PUSHCALLFB TON  MODBUSCYCLETIMER 
__TMPT1 := MODBUSCYCLETIMER [ __CDINT00000008 ]
MODBUSCYCLETIMEELAPSED := __TMPT1 
__TMPB1 := MODBUSCYCLETIMER [ __CDINT00000004 ]
__TMPB1 := __TMPB1 _AND DOWNHOLE_TOOL_ENABLED 
__TMPV1 := LOCALCFGDATA [ __DINT_NULL ]
__TMPV2 := TARGETCFGDATA0 [ __DINT_NULL ]
__TMPV3 := MODBUS_READ0 [ __DINT_NULL ]
__TMPB__MSG_MODBUS__IN := __TMPB1 
__TMPV4 := MODBUSDATA_0 [ __CDINT00000004 ]
__TMPV4 := __TMPV1 
__TMPV5 := MODBUSDATA_0 [ __CDINT00000006 ]
__TMPV5 := __TMPV2 
__TMPV6 := MODBUSDATA_0 [ __CDINT00000008 ]
__TMPV6 := __TMPV3 
MODBUSDATA_0 [ __CDINT0000000A ] := __ADI__READDOWNHOLEDATA_0_0 
__FBL_RET := _PUSHCALLFB MSG_MODBUS  MODBUSDATA_0 
__TMPB1 := MODBUSDATA_0 [ __CDINT0000000D ]
MODBUSERRORDATA := __TMPB1 
__TMPUIN1 := MODBUSDATA_0 [ __CDINT0000000E ]
ERRORCODEDATA := __TMPUIN1 
__TMPB1 := MODBUSDATA_0 [ __CDINT0000000C ]
__TMPB1 := __TMPB1 _AND DOWNHOLE_TOOL_ENABLED 
__TMPV1 := LOCALCFGDATA [ __DINT_NULL ]
__TMPV2 := TARGETCFGDATA1000 [ __DINT_NULL ]
__TMPV3 := MODBUS_READ1000 [ __DINT_NULL ]
__TMPB__MSG_MODBUS__IN := __TMPB1 
__TMPV4 := MODBUSDATA_1000 [ __CDINT00000004 ]
__TMPV4 := __TMPV1 
__TMPV5 := MODBUSDATA_1000 [ __CDINT00000006 ]
__TMPV5 := __TMPV2 
__TMPV6 := MODBUSDATA_1000 [ __CDINT00000008 ]
__TMPV6 := __TMPV3 
MODBUSDATA_1000 [ __CDINT0000000A ] := __ADI__READDOWNHOLEDATA_0_1 
__FBL_RET := _PUSHCALLFB MSG_MODBUS  MODBUSDATA_1000 
__TMPB1 := MODBUSDATA_1000 [ __CDINT0000000D ]
MODBUSERRORDATA := __TMPB1 
__TMPUIN1 := MODBUSDATA_1000 [ __CDINT0000000E ]
ERRORCODEDATA := __TMPUIN1 
__LG0000 : 
