$ Advanced DeviceNet Monitor Electronic Data Sheet [File] DescText= "CDN066 Serial Gateway"; CreateDate= 04-21-1999; CreateTime= 12:00:00; ModDate= 4-21-1999; ModTime= 12:00:00; Revision= 2.0; [Device] VendCode= 59; ProdType= 12; ProdCode= 1056; MajRev= 4; MinRev= 1; VendName= "D.I.P. Incorporated"; ProdTypeStr="Communications Adapter"; ProdName= "CDN066"; Catalog= "RS232 Gateway"; [IO_Info] Default= 0x0001; PollInfo= 0x0001, 1, 1; Input1= 16, 0, 0x0001, "Producing IO/Data", 6,"20 04 24 01 30 03", "Help"; Output1= 16, 0, 0x0001, "Consuming IO/Data", 6,"20 04 24 02 30 03", "Help"; [Params] Param1= 0, $ parameter value slot 6, "20 40 24 01 30 05", $ link size and path 0x0003, $ descriptor (RO, Mon, Enum) 24, 1, $ Unsigned, 1 byte "Status", $ parameter name "", $ units string "Status\n\n" " The status information indicates\n" " whether data transfer errors have\n" " ocurred. It is bit mapped as follows:\n\n" " Bit\tInterpretation\n" " 0\tTx channel blocked\n" " 1\tTx FIFO empty\n" " 2*\tRx parity error\n" " 3\tRx FIFO empty\n" " 4*\tRx overflow\n" " 5*\tFraming error\n" " 6*\tTx FIFO overflow\n" " 7\tState of CTS signal (1==Asserted)\n" " \n" " * Writing any value to the Status field\n" " will clear the error bits.\n" " \n", $ help string 0, 255, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param2= 0, $ parameter value slot 6, "20 40 24 01 30 06", $ link size and path 0x02, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Baud Rate", $ parameter name "", $ units string "Baud Rate\n\n" " The Buad Rate may be set by the\n" " RS232 Buad Rate switch or by the\n" " software. To enable software setting\n" " the switch must be in the 'PRG' position\n\n" " Baud Rate\tInterpretation\n\n" " 0\t\t9600 baud\n" " 1\t\t4800 baud\n" " 2\t\t2400 baud\n" " 3\t\t1200 baud\n" " 4\t\t600 baud\n" " 5\t\t38.4 Kbaud\n" " 6\t\t19.2 Kbaud\n" " \n", $ help string 0, 6, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param3= 0, $ parameter value slot 6, "20 40 24 01 30 07", $ link size and path 0x02, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Parity", $ parameter name "", $ units string "Parity\n\n" " The Parity may be set by software.\n" " Note: setting parity to 0 forces\n" " the data length to 8. Setting the\n" " parity to non-zero forces the data\n" " length size to 7.\n\n" " Parity\tInterpretation\n\n" " 0\tNo parity\n" " 1\tEven parity\n" " 2\tOdd parity\n" " 3\tN/A\n" " 4\tN/A\n" " 5\tForce to 1\n" " 6\tForce to 0\n" " \n", $ help string 0, 6, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param4= 0, $ parameter value slot 6, "20 40 24 01 30 08", $ link size and path 0x001, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Data Size", $ parameter name "", $ units string "Data Size\n\n" " The CDN066 serial channel always processes\n" " 8 information bits. If parity is set to 0\n" " (no parity) 8 data bits are transmitted/received.\n" " If the parity is set to a non-zero value then\n" " only 7 data bits are transmitted and the 8th bit\n" " is used for the parity bit. The Data Size field is\n" " read only.\n" " \n", $ help string 7, 8, 8, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param5= 0, $ parameter value slot 6, "20 40 24 01 30 09", $ link size and path 0x0010, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Stop bit", $ parameter name "", $ units string "Stop bit\n\n" " Attribute is read only.\n" " The CDN066 serial channel always\n" " operates with 1 stop bit.\n" " The Stop Bits field is read only and\n" " fixed at 1 stop bit.\n" "\n", $ help string 0, 1, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param6= 0, $ parameter value slot 6, "20 40 24 01 30 0A", $ link size and path 0x02, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Flow control", $ parameter name "", $ units string "Flow control\n\n" " Flow control may be set by software\n\n" " Flow Control\tInterpretation\n\n" " 0\t\tNo flow control\n" " 1\t\tX-on/X-off flow control\n" " 2\t\tHardware flow control\n" " 3\t\tDO NOT USE\n" " 4\t\tCTS Detect Mode\n" " \n", $ help string 0, 4, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param7= 0, $ parameter value slot 6, "20 40 24 01 30 0B", $ link size and path 0x0001, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Receive count", $ parameter name "", $ units string "Receive count\n\n" " The receive count indicats the number\n" " of characters currently in the receive\n" " FIFO. Writing any value will flush\n" " the receive FIFO.\n" " \n", $ help string 0, 255, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param8= 0, $ parameter value slot 6, "20 40 24 01 30 0C", $ link size and path 0x0001, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Transmit count", $ parameter name "", $ units string "Transmit count\n\n" " The transmit count indicats the number\n" " of characters currently in the transmit\n" " FIFO. Writing any value will flush\n" " the transmit FIFO.\n" " \n", $ help string 0, 255, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param9= 0, $ parameter value slot 6, "20 40 24 01 30 0D", $ link size and path 0x0001, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Maximum receive size", $ parameter name "", $ units string "Maximum receive size\n\n" " This Attribute indicates the maximum number of data\n" " bytes to be returned when the receive\n" " FIFO is read either using EXPLICIT messages\n" " or through POLL connection. Setting this attribute\n" " will automatically reset the Produced Connection size as:\n\n" " Connection size=Max Rcv Size (Maximum size is 64)\n" " + 1 (if Status Byte enabled)\n" " + 1 (if String Format enabled)\n" " + 1 (if Receive Seq. Num enabled\n\n" " The maximum connection size is 67 bytes.\n\n" " *THIS ATTRIBUTE AFFECTS THE PRODUCED SIZE, AND IS\n" " ONLY SETTABLE WHEN THE POLL CONNECTION IS IN THE\n" " NON-ESTABLISHED STATE.\n" " \n", $ help string 0, 64, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param10= 0, $ parameter value slot 6, "20 40 24 1 30 12", $ link size and path 0x0001, $ Descriptor 8, 1, $ Date Type, 1 byte(s) "Maximum Transmit size",$ parameter name "", $ units string "Maximum Transmit size\n\n" " The Maximum Transmit size indicates the maximum number of data\n" " bytes to be transmitted across the RS232 channel. Setting this\n" " attribute will automatically reset the Poll Consumed size as:\n\n" " Connection size==Max Xmt Size (Maximum value 64)\n" " + 1 (if Status Clear enabled)\n" " + 1 (if String Format enabled)\n" " + 1 (if Transmit Seq. Num enabled)\n\n" " The Maximum connection size is 67 bytes.\n\n" " *THIS ATTRIBUTE AFFECTS THE CONSUME SIZE, AND IS ONLY SETTABLE\n" " WHEN THE POLL CONNECTION IS IN THE NON-ESTABLISHED STATE.\n" " \n", $ help string 0,64,0, $ min,max,default 1,1,1,0,0,0,0,0,0; Param11= 0, $ parameter value slot 6, "20 40 24 01 30 0E", $ link size and path 0x03, $ descriptor (RO, Mon, Enum) 24, 1, $ Unsigned, 1 byte "Data format", $ parameter name "", $ units string "Data format\n\n" " String Format\tInterpretation\n" " (Bit 0)\n\n" " 0\t\tProcess FIFO packets as SHORT_STRING variables\n" " 1\t\tProcess FIFO packets as an array of bytes. The array\n" " \t\tlength implicitly defines the number of valid bytes.\n\n" " Strip Parity\tInterpretation\n" " (Bit 1)\n\n" " 0\t\tRetain Parity information in receive FIFO\n" " 1\t\tSet MSB of receive FIFO data to 0\n\n" " PL/R\t\tInterpretation\n" " (Bit 2)\n\n" " 0\t\tLeft justify received character string if PADR set\n" " 1\t\tRight justify received character string if PADR set\n\n" " PADR\t\tInterpretation\n" " (Bit 3)\n\n" " 0\t\tDo not attemt to PAD received characters\n" " 1\t\tPad received characters strings with PADCHAR\n\n" " * THIS ATTRIBUTE AFFECTS THE PRODUCED AND CONSUME SIZE,\n" " AND IS ONLY SETTABLE WHEN THE POLL CONNECTION IS IN THE\n" " NON-ESTABLISHED STATE.\n" " \n", $ help string 0, 15, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param12= 0, $ parameter value slot 6, "20 40 24 01 30 0F", $ link size and path 0x02, $ descriptor (RO, Mon, Enum) 24, 1, $ Unsigned, 1 byte "Block Mode", $ parameter name "", $ units string "Block Mode\n" " The Block mode control byte has the following format:\n" "Bit0\tPre/Post Delimeter\n" " 0\tDelimeter (if enabled) occurs at the end of the packet.\n" " 1\tDelimeter (if enabled) occurs at the start of the packet.\n" " \tThe packet length is limited to the length.\n" " \tExcess characters are discarded.\n" "Bit1\tStrip Delimetr\n" " 0\tThe delimeter character appears in the response packet.\n" " 1\tThe delimeter character is removed from the response packet.\n" "Bit2\tDelimeter Enable\n" " 0\tDisable the delimeter character function\n" " 1\tEnable the delimeter character function\n" "Bit3\tEnable Rcv. Seq. Number\n" " 0\tDisable the receive sequence number\n" " 1\tEach response packet will have a sequential number pre-pended\n" " \tto allow the scanner to detect new response data.\n" "Bit4\tEnable Xmit Seq. Number\n" " 0\tDisable the transmit sequence number\n" " 1\tThe first byte of the poll request must contain a number\n" " \tdifferent than the last request to allow the updating of the\n" " \tscanner data field without generating erroneous data on the\n" " \tRS232 data.\n" "Bit5\tReSend\n" " 0\tValid data is on;y sent once\n" " 1\tValid data is resent during subsequent Poll requests until\n" " \ta new string of valid data is received on the RS232 serial\n" " \tchannel.\n" "Bit6\tSync\n" " 0\tDo not apply synchronous Hand-shake protocol\n" " 1\tApply synchronous Hand-shake protocol\n" " *THIS ATTRIBUTE ADDS 1 BYTE TO THE PRODUCE AND CONSUME SIZE,\n" " AND IS ONLY SETTABLE WHEN THE POLL CONNECTION IS IN THE\n" " NON-ESTABLISHED STATE.\n" " \n", $ help string 0, 127, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param13= 0, $ parameter value slot 6, "20 40 24 01 30 10", $ link size and path 0x0001, $ descriptor (RO, Mon, Enum) 8, 1, $ Unsigned, 1 byte "Receive Delimiter", $ parameter name "", $ units string "Receive Delimiter\n\n" " It determines the start or end\n" " of packet character for the RS232\n" " channel. It is effective if the\n" " the enable bit in the block control\n" " byte is set. See ASCII charts.\n" " \n", $ help string 0, 255, 0, $ min, max, default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param14= 0, $ parameter value slot 6, "20 40 24 01 30 11", $ link size and path 0x0001, $ Descriptor 8, 1, $ Data Type, 1 byte(s) "Pad Char", $ parameter name "", $ units string "Pad Char\n\n" " This attribute is used to pad string formatted receive data.\n" " It is typically set to ASCII(020H) or an ASCII (0)\n" " \n", $ help string 0, 255, 0, $ min,max,default 1, 1, 1, 0, $ mult, div, base, offset scaling 0, 0, 0, 0, 0; $ scaling links and precision Param15= 0, $ parameter value slot 6, "20 40 24 1 30 15", $ link size and path 0x0001, $ Descriptor 8, 1, $ Date Type, 1 byte(s) "Status Enable", $ parameter name "", $ units string "Status Enable\n\n" " Status Enable inserts the serial status(Class 64 Instance 1" " Attribute 5)\n" " as the first byte of the poll response when set to a\n" " non-zero value\n\n" " *THIS ATTRIBUTE ADDS 1 BYTE TO THE PRODUCE SIZE, AND IS ONLY\n" " SETTABLE WHEN THE POLL CONNECTION IS IN THE NON-ESTABLISHED\n" " STATE.\n" " \n", $ help string 0,255,0, $ min,max,default 1,1,1,0,0,0,0,0,0; Param16= 0, $ parameter value slot 6, "20 40 24 1 30 16", $ link size and path 0x0001, $ Descriptor 8, 1, $ Date Type, 1 byte(s) "Status Clear Enable", $ parameter name "", $ units string "Status Clear Enable\n\n" " Status Clear Enable allows the first byte in the poll command\n" " to clear the status byte (when status clear byte, the first\n" " byte in the poll is not equal to 0) or not change the status\n" " (status clear byte, the first byte in the poll is =0).\n\n" " *THIS ATTRIBUTE ADDS 1 BYTE TO THE CONSUME SIZE, AND IS ONLY\n" " SETTABLE WHEN THE POLL CONNECTION IS IN THE NON-ESTABLISHED\n" " STATE.\n" " \n", $ help string 0,255,0, $ min,max,default 1,1,1,0,0,0,0,0,0; [ParamClass] MaxInst=16; Descriptor=9; CfgAssembly=0; $ Parameter Enumeration Strings Section [EnumPar] Param1= "Transmit Block","Transmit FIFO empty","Receive Parity error","Receive FIFO empty","Receive overflow","Framing error","Transmit FIFO overflow","State of CTS"; Param2= "9600 baud","4800 baud","2400 baud","1200 baud","600 baud","38.4 Kbaud","19.2 Kbaud"; Param3= "No parity","Even parity","Odd parity","N/A","N/A","Force to 1","Force to 0"; Param6= "No flow control","X-on/X-off flow control","Hardware flow control", "DO NOT USE","CTS Detect Mode"; Param11 ="String Format","Strip Parity","Pad Left=0/Right=1","Pad"," "," "," "," "; Param12 ="Pre/Post Delimeter","Stript Delimeter","Delimeter Enable","Rcv. Seq.Number","Enable Xmit Seq. Number","Resend","Sync",""; $ Parameter Groups Section [Groups]