# HARTQ.CFG # # This file contains the configuration for the PTQ-HART communication # module with the Large I/O functionality. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # # This section is used to define the configuration for the Module level # data. # [Module] Module Name : Test Example of PTQ-HART Communication Module Error/Status Offset : 1000 #Location of port error/status offset data Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Initialize Output Data : Yes #Initialize the database file on startup #Used to define the data areas moved between the module and the processor Read Register Start : 0 #Database start register to move to processor Read Register Count : 200 #Number of words moved from module to processor Write Register Start : 2000 #Database start register where data placed from processor Write Register Count : 200 #Number of words moved from processor to module #Used to define the area in the processor for the module to interface with. #The first 64 words are reserved for special block (control block) functionality. #At offset word 65 starts the actual database transfer area. # For this example, 200 words of data will be copied starting from processor address 40065 (Quantum) or %MW65 (Unity) # to PTQ database starting at address 2000. Also, 200 words of data will be copied starting from PTQ database address 0 # to processor at input register starting address 30065 (Quantum) or %IW65 (Unity) 3x Register Start : 1 #3x start register where data moved from module to processor (1-n) 4x Register Start : 1 #4x start register where data moved from processor to module (1-n) # This section is used to define the configuration for the HART channel # # [HART Port 0] Enabled : Y #Y=Use port, N=Do not use port Preambles : 5 #Number of Preambles to be sent to HART Network Primary Master : Y #Y=The Master is Primary N=Secondary Retry Count : 3 #Number of retries after error DB Address Status : 300 #Database Address to place device status Command Count : 2 #Number of Commands in Command Table Auto-Poll Code : P #P=p2p, M=multidrop, N=Not used Auto-Poll DB Address : 0 #DB address for auto-poll data Auto-Poll Swap Float : 2 #Swap code for auto-poll float data Max Device Count : 2 #Maximum number of devices (1-15) [HART Port 0 Commands] # The file contains examples for a pressure transducer. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # START # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # Float DB Poll Word Swap Short Func Int. DB Word Swap Use Enable DB Done DB Write DB Swap Byte Fixed # Enable Address Interval Count Code Address Code Address Count Code Long Address Address Address Code Count Data # 1 0 0 10 2 2 3 40 3 0 1 39 9 -1 0 0 END # This section is used to define the configuration for the HART channel # # [HART Port 1] Enabled : Y #Y=Use port, N=Do not use port Preambles : 5 #Number of Preambles to be sent to HART Network Primary Master : Y #Y=The Master is Primary N=Secondary Retry Count : 3 #Number of retries after error DB Address Status : 301 #Database Address to place device status Command Count : 2 #Number of Commands in Command Table Auto-Poll Code : P #P=p2p, M=multidrop, N=Not used Auto-Poll DB Address : 50 #DB address for auto-poll data Auto-Poll Swap Float : 2 #Swap code for auto-poll float data Max Device Count : 1 #Maximum number of devices (1-15) [HART Port 1 Commands] # The file contains examples for a pressure transducer. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # START # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # Float DB Poll Word Swap Short Func Int. DB Word Swap Use Enable DB Done DB Write DB Swap Byte Fixed # Enable Address Interval Count Code Address Code Address Count Code Long Address Address Address Code Count Data END # This section is used to define the configuration for the HART channel # # [HART Port 2] Enabled : Y #Y=Use port, N=Do not use port Preambles : 5 #Number of Preambles to be sent to HART Network Primary Master : Y #Y=The Master is Primary N=Secondary Retry Count : 3 #Number of retries after error DB Address Status : 302 #Database Address to place device status Command Count : 0 #Number of Commands in Command Table Auto-Poll Code : P #P=p2p, M=multidrop, N=Not used Auto-Poll DB Address : 100 #DB address for auto-poll data Auto-Poll Swap Float : 2 #Swap code for auto-poll float data Max Device Count : 1 #Maximum number of devices (1-15) [HART Port 2 Commands] # The file contains examples for a pressure transducer. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # START # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # Float DB Poll Word Swap Short Func Int. DB Word Swap Use Enable DB Done DB Write DB Swap Byte Fixed # Enable Address Interval Count Code Address Code Address Count Code Long Address Address Address Code Count Data END # This section is used to define the configuration for the HART channel # # [HART Port 3] Enabled : Y #Y=Use port, N=Do not use port Preambles : 5 #Number of Preambles to be sent to HART Network Primary Master : N #Y=The Master is Primary N=Secondary Retry Count : 3 #Number of retries after error DB Address Status : 303 #Database Address to place device status Command Count : 1 #Number of Commands in Command Table Auto-Poll Code : P #P=p2p, M=multidrop, N=Not used Auto-Poll DB Address : 150 #DB address for auto-poll data Auto-Poll Swap Float : 2 #Swap code for auto-poll float data Max Device Count : 1 #Maximum number of devices (1-15) [HART Port 3 Commands] # The file contains examples for a pressure transducer. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # START # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # Float DB Poll Word Swap Short Func Int. DB Word Swap Use Enable DB Done DB Write DB Swap Byte Fixed # Enable Address Interval Count Code Address Code Address Count Code Long Address Address Address Code Count Data END