Jump to content

Tips and Tricks

Forums

  1. Best Programming Practices

    Tips from Unitronics gurus

    94
    posts
  2. Tips and Tricks

    This is where you can post items of interest that are not covered by other forum sections.

    201
    posts
  • Member Statistics

    4,076
    Total Members
    328
    Most Online
    Rick Bovensiep
    Newest Member
    Rick Bovensiep
    Joined
  • Topics

  • Who's Online (See full list)

    There are no registered users currently online

  • Posts

    • You can take the sampler file and use the Data Converters Suite in order to export the data to Excel (So you can see the exact value at a specific time).  
    • I am trying to control a BACnet device via a GW-BAC1 gateway but it doesn't work. The device has 8 digital outputs and 8 digital inputs. See the attached YABE display. I am just trying to control the first digital output. Does any of the information in the YABE display go into the GW-BAC1 config file? Here's my config file: //================================================================================
      //
      // Common Information
      //
      Bridge
      Title
      CN0864 Unitronics v1.00a //================================================================================
      //
      // Data Arrays
      //
      Data_Arrays
      Data_Array_Name,        Data_Array_Format,        Data_Array_Length
      DA_BO_,        Bit,        1 //================================================================================
      //
      // Client Side Connections
      //
      Connections
      Adapter,        Protocol,        IP_Port
      N1,        Bacnet_IP,        47808 //================================================================================
      //
      // Client Side Nodes
      //
      Nodes
      Node_Name,        Node_ID,        Protocol,        Adapter
      Node1,        0,        Bacnet_IP,        N1 //================================================================================
      //
      // Client Side Map Descriptors
      //
      Map_Descriptors
      Map_Descriptor_Name,        Data_Array_Name,        Data_Array_Offset,        Function,        Node_Name,        Object_Type,        Object_Instance,        Property,        Scan_Interval
      BinaryOutput,        DA_BO_,        0,        Wrbc,        Node1,        BO,        0,        Present_Value,        2s //================================================================================
      //
      // Server Side Connections
      //
      Connections
      Adapter,        Protocol
      N1,        Modbus/TCP //================================================================================
      //
      // Server Side Nodes
      //
      Nodes
      Node_Name,        Node_ID,        Protocol,        Address_Type
      Unitronics_Modbus_Node,        255,        Modbus/TCP,        ADU //================================================================================
      //
      // Map Descriptors
      //
      Map_Descriptors
      Map_Descriptor_Name,        Data_Array_Name,        Data_Array_Offset,        Function,        Node_Name,        Address,        Length,        Data_Type
      SMD_DA_BO__1,        DA_BO_,        0,        Passive,        Unitronics_Modbus_Node,        1,        1,        Coil
       
    • In the provided example "unistream_070_Bacnet_TCP", there's a global of type "Modbus Remote Slave". When I try to add another global, "Modbus Remote Slave" doesn't appear as a type option. Since my PLC is going to be the slave, should there be a type "Modbus Remote Master"?
    • Which sections would I swap here?   //================================================================================
      //
      // Common Information
      //
      Bridge
      Title
      CN0864 Unitronics v1.00a //================================================================================
      //
      // Data Arrays
      //
      Data_Arrays
      Data_Array_Name,Data_Array_Format,Data_Array_Length
      DA_AI_U16,UInt16,1 //================================================================================
      //
      // Client Side Connections
      //
      Connections
      Adapter,Protocol,IP_Port
      N1,Bacnet_IP,47808 //================================================================================
      //
      // Client Side Nodes
      //
      Nodes
      Node_Name,Node_ID,Protocol,Adapter
      myController,0,Bacnet_IP,N1 //================================================================================
      //
      // Client Side Map Descriptors
      //
      Map_Descriptors
      Map_Descriptor_Name,Data_Array_Name,Data_Array_Offset,Function,Node_Name,Object_Type,Object_Instance,Property,Scan_Interval
      Temperature,DA_AI_U16,0,Rdbc,myController,AI,0,Present_Value,2s //================================================================================
      //
      // Server Side Connections
      //
      Connections
      Adapter,Protocol
      N1,Modbus/TCP //================================================================================
      //
      // Server Side Nodes
      //
      Nodes
      Node_Name,Node_ID,Protocol,Address_Type
      Unitronics_Modbus_Node,255,Modbus/TCP,ADU //================================================================================
      //
      // Map Descriptors
      //
      Map_Descriptors
      Map_Descriptor_Name,Data_Array_Name,Data_Array_Offset,Function,Node_Name,Address,Length,Data_Type
      SMD_DA_AI_U16_1,DA_AI_U16,0,Passive,Unitronics_Modbus_Node,1,4,Input_Register
    • can it be that value on graph is correct when placing the pointing on the carve  but the Y axis shows incorrect value ? on the image the white line value is "1" and the Y axis shows something between 0 to 1  
  • Blog Entries

×