Microscan DN120 DeviceNet User Manual Download Page 15

DN120 DeviceNet Gateway User’s Manual

Microscan Systems, Inc.

15

Transmitting Messages

The 

Serial Stream Object

 receives output bytes (

TX Message

) from the DeviceNet master in a

Poll Command message.  It saves the output bytes in the Transmit Buffer, to be transmitted when

the serial channel is available.  The maximum number of bytes that can be sent in one Poll

Command message is defined by the 

Maximum Transmit Size

 attribute.  The Transmit Buffer can

hold up to 64 bytes.  Because the DeviceNet Polled I/O data exchange may occur many times

faster than the transmission of serial data, the application may need to synchronize the transmit

data exchange with the gateway.

The number of output bytes in the Poll Command message is fixed.  The 

Status Clear

 and

Transmit Sequence Number

 bytes are always sent, if enabled.  The remaining number of bytes in

the Poll Command is defined by the 

Maximum Transmit Size

 attribute.  If the number of 

TX

Message

 bytes sent is less than the 

Maximum

 

Transmit Size

 number, then the remaining output

bytes are undefined.  The gateway uses the Short_String length to determine the valid number of

bytes to transmit.  If Byte Array format is used, all the bytes are transmitted.

Synchronization

To ensure that no information is lost between the gateway’s serial channel and the user

application program, the DN120 has three synchronization options:  

Receive

 

Sequence Number

,

Transmit Sequence Number

, and 

Handshake Protocol

.

Receive Sequence Number
When enabled, the gateway returns a 

Receive Sequence Number

 input byte in the DeviceNet Poll

Response message.  The 8-bit 

Receive Sequence Number

 is incremented by the gateway

whenever it returns new data in the input bytes.  The user application uses the 

Receive Sequence

Number

 to signal the receipt of new message data.  Valid numbers are 0-255.

Transmit Sequence Number
When enabled, the gateway receives a 

Transmit Sequence Number

 output byte in the DeviceNet

Poll Command message.  The gateway will not send the 

TX Message

 bytes out the serial channel

unless the 8-bit 

Transmit Sequence Number

 is different than the last received value.  Valid

numbers are 0-255.

Status Clear

Transmit Sequence Number

other output bytes

1.  TX Message bytes fill Poll Command
message.

Poll Command Message Data

TX Message bytes

TX Message bytes

undefined

2.  TX Message is smaller than Poll Command
message.  Unused output bytes are undefined.

Summary of Contents for DN120 DeviceNet

Page 1: ...DN120 DeviceNet Gateway User s Manual DN120 PN 84 210010 Rev A ...

Page 2: ... Receive Sequence Number 15 Transmit Sequence Number 15 Synchronous Handshake Protocol 16 CHAPTER 4 GATEWAY CONFIGURATION 18 CONFIGURE DEVICENET INTERFACE 18 DeviceNet Baud Rate Switch 18 MAC ID Switches 18 Serial Channel Baud Rate Option Switch 19 POWER UP GATEWAY 19 DeviceNet Status LEDs 19 Serial Channel Status LEDs 20 Register EDS File 20 CONFIGURE SERIAL CHANNEL 21 CONFIGURE DEVICENET MASTER ...

Page 3: ...PRE DELIMITED DATA 61 Barcode Scanner 61 DN120 Gateway 61 EXAMPLE 3 RECEIVING POST DELIMITED DATA 63 Barcode Scanner 63 DN120 Gateway 63 EXAMPLE 4 TRANSMITTING FIXED LENGTH DATA 65 Bar Code Scanner 65 DN120 Gateway 65 EXAMPLE 5 TRANSMITTING VARIABLE LENGTH DATA 67 Bar Code Scanner 67 DN120 Gateway 67 CHAPTER 8 TROUBLESHOOTING 68 APPENDIX A PRODUCT SPECIFICATIONS 69 DEVICENET INTERFACE 69 SERIAL CH...

Page 4: ...are also available upon request DN120 Product Features 500V isolated serial channel RS232 with RTS CTS flow control XON XOFF software flow control 300 600 1200 2400 4800 9600 19200 bps serial data rates Configurable parity 64 byte transmit and receive FIFO buffers Powered from DeviceNet 24VDC Loss of ground protection circuitry DeviceNet slave mode supports POLL and EXPLICIT messages Rotary switch...

Page 5: ... connector is not rated for NEMA4 IP65 environments Mount the gateway in a suitable location or enclosure for your application The gateway will generate up to 1 4W of heat so provide sufficient clearance and airflow to maintain 0 C to 70 C operating temperature range Use two screws not provided in the 0 19 inch mounting holes shown below to fasten the DN120 to the mounting surface 0 65 0 45 0 50 0...

Page 6: ...etworked devices at their peak operating power DeviceNet Interface PIN SIGNAL COLOR DESCRIPTION 1 DRAIN NONE Cable shield or drain wire 2 V RED DeviceNet 24VDC power 3 V BLACK DeviceNet 24VDC power 4 CAN_H WHITE Communication signal 5 CAN_L BLUE Communication signal Serial Channel Interface DN120 RS232 PIN SIGNAL DESCRIPTION 1 NC No Connect Do not connect any wires to NC pins 2 RXD Receive Data RS...

Page 7: ...erface may vary Refer to your device s documentation for the required data and control signals DN120 2 3 5 RXD TXD GND 1 2 3 4 5 DRAIN VDC VDC CAN H CAN L RXD TXD GND 2 3 5 RS232 Serial Device Simple RS232 Interface DN120 2 3 5 RXD TXD GND 1 2 3 4 5 DRAIN VDC VDC CAN H CAN L RXD TXD GND 2 3 5 RS232 Serial Device RS232 Interface HW Flow Control 7 8 RTS CTS RTS CTS 7 8 ...

Page 8: ...rrence of an Object operating on its unique set of Attribute values The DN120 gateway has six different Object Classes or types Five are standard objects defined by the DeviceNet Specification Identity Router DeviceNet Assembly Connection One is a device specific object defined for the DN120 gateway Serial Stream The Serial Stream Object configures and controls the serial channel It receives and p...

Page 9: ...oll Command message and the DN120 returning input data to the DeviceNet master in a Poll Response message The output and input data bytes are typically mapped into data files inside the DeviceNet master These data files are exchanged with the user application program The application processes the received input data from the gateway and writes new output data to the DeviceNet master which sends th...

Page 10: ... Data output bytes Status Clear if enabled TX Sequence Number if enabled Other Output Bytes 1 65 bytes output byte output byte output byte output byte output byte output byte output byte output byte output byte output byte output byte output bytes DeviceNet Master Inputs DeviceNet Poll Response Message Data input bytes Status if enabled RX Sequence Number if enabled Other Input Bytes 1 65 bytes in...

Page 11: ...it sent by the transmitter If the two bit values do not match then at least one serial bit value was corrupted during transmission Flow control enables the receiving device to regulate the rate of incoming data Hardware flow control uses RTS CTS signals between the devices to control the rate of transmission Software flow control uses serial characters XON OFF to control the rate CTS Detect Mode u...

Page 12: ...ffer There is no defined beginning or end to the message stream The only limitation is the gateway must send bytes from the Receive Buffer to the DeviceNet master Poll Response message faster than it saves new message bytes in the Receive Buffer or the 64 byte buffer may eventually overflow Block Mode Block Mode uses a configurable Delimiter byte to signal the start or end of a new message packet ...

Page 13: ... bytes in an RX Message string can be less than or equal to the Maximum Receive Size but never larger When the number is less the remaining Poll Response input bytes are either padded or undefined In Stream Mode the gateway will always try to fill Poll Response message with bytes from the Receive Buffer The only time the RX Message size is less than the Maximum Receive Size is when there are no mo...

Page 14: ... in subsequent Poll Response messages until new message bytes are received For the Short_String data type a null value consists of the length byte 0 For the Byte Array data type a null value consists of no data The gateway can also be configured to always return received message bytes in a Poll Response message If no new bytes in the Receive Buffer then the last received bytes are returned If new ...

Page 15: ...determine the valid number of bytes to transmit If Byte Array format is used all the bytes are transmitted Synchronization To ensure that no information is lost between the gateway s serial channel and the user application program the DN120 has three synchronization options Receive Sequence Number Transmit Sequence Number and Handshake Protocol Receive Sequence Number When enabled the gateway retu...

Page 16: ...dge Number equal to the Receive Request Number The updated Receive Acknowledge Number is sent back to the gateway in the next Poll Command Message When the Receive Acknowledge Number equals the Receive Request Number the gateway can return the next set of RX Message If the user application sends 0 as the Receive Acknowledge Number the gateway resets its Receive Request Number to 0 The following la...

Page 17: ...s and resets its Transmit Acknowledge Number to 0 The following ladder logic rungs show how the user application program writes a new TX Message value increments the Transmit Request Number TX Rqst Num and waits for the Transmit Acknowledge Number TX Ack Num to equal the Transmit Request Number TX Rqst Num Note the application must wrap the Transmit Request Number from 15 to 1 Compare Function TX ...

Page 18: ... to align that indicator with the desired setting Remove the DN120 cover if necessary to access the rotary switches DeviceNet Baud Rate Switch Valid settings are 125K 250K 500K or PGM When PGM is selected the DN120 uses the baud rate saved in its retentive memory A valid baud rate must be stored before the PGM selection can be used The baud rate is stored from the previous DN120 power cycle It can...

Page 19: ... to power up the gateway DeviceNet Status LEDs The DN120 gateway has two bi color status LEDs NET and MOD that indicate operational status During power up the LEDs cycle through a sequence of alternating red and green After power up the NET LED should be flashing green or solid green if allocated to a DeviceNet master and the MOD LED should be solid green If this does not occur disconnect from Dev...

Page 20: ...or parity or overrun error Flashing Green Data being transmitted Solid Green Not defined State Receive Status LED RX Off No data being received Flashing Red Not defined Solid Red Receive error parity or overrun error Flashing Green Data being received Solid Green Not defined Register EDS File If using a DeviceNet configuration tool that supports Electronic Data Sheet EDS files you should now regis...

Page 21: ...ace force to 0 2 odd parity 8 Data Size USINT Read only 7 bits if parity enabled 8 bits if no parity 9 Stop Bits USINT Read only Fixed at 1 bit 10 Flow Control USINT 0 none 2 CTS RTS 1 XON XOFF 4 CTS Detect Mode 11 Receive Count USINT Number of bytes in Receive Buffer Any write clears buffer 12 Transmit Count USINT Number of bytes in Transmit Buffer Any write clears buffer 13 Maximum Receive Size ...

Page 22: ...it out the serial channel by the gateway Transmit Data includes the Status Clear and Transmit Sequence Number bytes if enabled and the TX Message bytes Format is either Short_String or Byte Array defined by Data Format attribute Transmit Data is typically received in the DeviceNet Poll Command Message Reading Transmit Data returns the last byte in the Transmit Buffer Status Contains bit mapped ser...

Page 23: ...y transmits data when CTS is active low CTS Detect Mode is an RS232 hardware flow control option available only on the DN120 gateway When CTS is asserted the DN120 serial channel can transmit and receive When CTS is not asserted the DN120 serial channel is disabled and Receive Buffer cleared Receive Count Number of bytes currently available in the Receive Buffer Writing any value to this attribute...

Page 24: ...en the last data bytes are returned Bit 4 enables the Transmit Sequence Number synchronization option When enabled the Transmit Sequence Number byte is added to the Transmit Data output bytes Bit 3 enables the Receive Sequence Number synchronization option When enabled the Receive Sequence Number byte is added to the Receive Data output bytes Bit 2 selects the serial receive mode Set 0 for Stream ...

Page 25: ...en the gateway s connection to the DeviceNet master times out Enter the byte string in Short_String data format with 1st byte string length Set the length byte to 0 if you don t want to transmit a Fault String The Fault String can be from 0 to 16 bytes long not counting Short_String length byte Example Fault String is 0x02 0x42 0x43 where string length is 2 and data bytes are 0x42 B and 0x43 C You...

Page 26: ...aster to the DN120 Poll Command data Status Clear byte Transmit Sequence Number byte Short_String length byte TX data bytes 0 64 The first 3 bytes are present if enabled The following equation is used to calculate the DN120 Poll Consume Size Only include the overhead bytes that are enabled Status Clear byte 1 Transmit Sequence Number byte 1 Short_String length byte 1 Maximum Transmit Size ____ Pol...

Page 27: ...O Poll Command Message 10xxxxxx100 Master Explicit Request Message xxxxxx DN120 MAC ID DeviceNet Class Services The DN120 is a Group 2 Slave Device that supports the following class services and instance services SERVICE CODE SERVICE NAME 05 0x05 Reset 14 0x0E Get Attribute Single 16 0x10 Set Attribute Single 75 0x4B Allocate Group 2 Identifier Set 76 0x4C Release Group 2 Identifier Set DeviceNet ...

Page 28: ...NT 59 D I P Products 2 Get Product Type UINT 12 Communications 3 Get Product Code UINT 1 4 Get Revision STRUCT of Major Revision USINT 4 Minor Revision USINT 0 5 Get Device Status WORD Bit 0 owned 0 available 1 allocated Bit 2 configured 0 no 1 yes Bit 4 7 vendor specific 0 Bit 8 minor configuration fault Bit 9 minor device fault Bit 10 major configuration fault Bit 11 major device fault Bit 1 3 1...

Page 29: ...ny object class or instance residing in the DN120 device Router Object Class Code 02 0x02 Class Attribute Access Name Type Value 1 Get Revision UINT 1 6 Get Max Class Identifier UINT 7 7 Get Max Instance Attribute UINT 2 Instance Attribute Access Name Type Value 2 Get Number of Connections UINT 2 Common Services Service Code Class Instance Service Name 14 0x0E Yes Yes Get_Attribute_Single ...

Page 30: ...Valid settings are 0 125K 1 250K 2 500K Returns last value set or switch value 3 Get Set Bus Off Interrupt BOOL 0 hold CAN in OFF state default 1 reset CAN 4 Get Set Bus Off Counter USINT Writing this attribute forces counter value to zero 5 Get Allocation Information STRUCT of Choice Byte BYTE bit 0 explicit msg set to 1 to allocate bit 1 polled IO set to 1 to allocate bit 2 strobed IO not suppor...

Page 31: ...ces Service Code Class Instance Service Name 14 0x0E Yes Yes Get_Attribute_Single 16 0x10 No Yes Set_Attribute_Single Instance 1 Input Data Stream and Instance 2 Output Data Stream are structured as either an array of bytes or as a Short_String consisting of a single byte length field and N data bytes The Input Data Stream is the data returned in the Poll Response Message The Output Data Stream is...

Page 32: ...oduced connection id 5 Get Consumed Connection UINT Explicit Message 10xxxxxx100 consumed connection id I O Message 10xxxxxx101 consumed connection id 6 Get Initial Communication Characteristics USINT 0x21 for Explicit Message 0x01 for I O Message 7 Get Production Size UINT 67 for Explicit Message See Stream Object for I O Message 8 Get Consumed Size UINT 71 for Explicit Message See Stream Object ...

Page 33: ...Log Seg Class USINT 0x20 Class Number USINT 0x04 Log Seg Instance USINT 0x24 Instance Number USINT 0x02 Log Seg Attribute USINT 0x30 Attribute Number USINT 0x03 17 Get Production Inhibit UINT 0 Common Services Service Code Class Instance Service Name 05 0x05 Yes Yes Reset 14 0x0E Yes Yes Get_Attribute_Single 16 0x10 No Yes Set_Attribute_Single ...

Page 34: ... bps 3 1200 bps 7 Get Set Parity USINT 0 no parity 5 mark force to 1 1 even parity 6 space force to 0 2 odd parity 8 Get Data Size USINT 7 parity enabled or 8 no parity 9 Get Stop Bits USINT 1 10 Get Set Flow Control USINT 0 none 2 CTS RTS 1 XON XOFF 4 CTS Detect Mode 11 Get Set Receive Count USINT Number of bytes in Receive Buffer Write to clear 12 Get Set Transmit Count USINT Number of bytes in ...

Page 35: ...ng Short_String Byte string transmitted when gateway s Polled I O connection times out Length 0 for no Fault String 21 Get Set Status Enable USINT Nonzero value enables Status input byte 22 Get Set Status Clear Enable USINT Nonzero value enables Status Clear output byte Common Services Service Code Class Instance Service Name 05 0x05 No Yes Reset 14 0x0E Yes Yes Get_Attribute_Single 16 0x10 No Yes...

Page 36: ... RS232 25 Pin Serial Interface For Used with RSLogic Prog N L Neutral module 1746 IV8 8 pt Output module 1746 OB8 120VAC Input SLC502 PLC CPU Fuse 3A 24vdc output 1747 P1 120 240VAC Slot 1 1747 L524 DeviceNet Scanner 1747 SDN Slot 3 Power Sup Slot 2 8 pt Input Slot 0 PC Interface Color to pin 5 DeviceNet connector 1770 KFD RS232 DeviceNet PC Interface Mod DIP790 Device Net Dist Board DN120 RS232 D...

Page 37: ...o 03 Set the RS232 Baud Rate switch to PRG mode Connect the gateway to the DeviceNet network to power it up During power up the NET and MOD LEDs cycle through a sequence of alternating red and green After power up the NET LED should be flashing green and the MOD LED should be solid green Connect Register EDS File 1 Start up the RSNetworx program Select the Online operation from the Network menu ...

Page 38: ...t box should pop up showing the networks connected to your computer 3 Click on the 1770 KFD 1 to show all connected DeviceNet devices The gateway is at MAC ID 03 verifying its DeviceNet connection It is an Unrecognized Device until the gateway s EDS file is registered with RSNetworx ...

Page 39: ...y User s Manual Microscan Systems Inc 39 4 Click Cancel to close Browse for network window Select the EDS Wizard operation from the Tools menu Click Next to continue 5 Select the Register an EDS file s option and click Next ...

Page 40: ...ur gateway s EDS file You can download the latest EDS and ICON files from the www microscan com website Click Next when you have the correct path and EDS file name in the Named box 7 The next screen shows the RSNetworx installation test results Click View file to view the actual EDS file text Click Next to continue ...

Page 41: ...an Systems Inc 41 8 The next screen allows you to customize the gateway s icon for RSNetworx Click on Change icon 9 The Change Icon screen pops up Click Browse to enter path for DN120 icon file You can download the icon file from www microscan com ...

Page 42: ...eNet Gateway User s Manual Microscan Systems Inc 42 10 Enter the path to DN120 icon file in the File name box Click Open to continue 11 The DN120 icon should have changed to the proper icon Click Next to continue ...

Page 43: ...20 DeviceNet Gateway User s Manual Microscan Systems Inc 43 12 The final step is to finish EDS file registration Click Next to complete the registration process Click Finish to close the EDS Wizard window ...

Page 44: ... User s Manual Microscan Systems Inc 44 13 Repeat steps 1 2 and 3 to browse the DeviceNet network RSNetworx should now recognize the device at MAC ID 03 as a DN120 gateway and display the DN120 icon Click Cancel when finished ...

Page 45: ...canlist before changing any attribute values The Serial Stream Object attributes control the gateway s serial channel transmit and receive operations The following steps show how to configure the Serial Stream Object attributes using the RSNetworx program 1 Select the Online operation from the Network menu Select the DeviceNet adapter 1770 KFD 1 in this example and click OK 2 RSNetworx prompts you...

Page 46: ...DN120 DeviceNet Gateway User s Manual Microscan Systems Inc 46 3 RSNetworx displays the following text box while it uploads the network configuration 4 The following screen displays the online nodes ...

Page 47: ...ms Inc 47 5 Left click on the DN120 icon to select it Right click and select Properties from the pop up menu You can also double click on the DN120 icon to open its properties box 6 RSNetworx displaces the following text box while is reads DN120 EDS file ...

Page 48: ...nc 48 7 The DN120 Properties Box is displayed 8 Select the Parameters tab You will be prompted for the parameters source Select the Upload button to upload DN120 parameters from the actual device All the DN120 parameters are now shown in the Properties window ...

Page 49: ...e Serial Stream Object attributes in this window Note that the Idle String and Fault String attributes are not listed These attributes use Short_String data type which is not supported by RSNetworx EDS File interface 10 Use the Class Instance Editor to configure Short_String attributes ...

Page 50: ... String address is Class 64 Instance 1 Attribute Number 20 Enter the Short_String data as length byte then data bytes Example is 0x01 0x02 for a single byte string 0x02 ASCII STX 12 Enter the remaining Serial Stream Object attributes in the Parameters Box window Status Click on to open selection box Shows current status and error information Click on any errors to clear check Press OK to continue ...

Page 51: ...urrent value and enter desired number in decimal Maximum Transmit Click on current value and enter desired number in decimal Data Format Click on to open selection box Click on check box to select the desired option The Delimiter Mode uses bits 0 1 2 3 of the byte Ignore bits 4 through 7 Block Mode Click on to open up selection box Click on check box to set or clear the desired bit The Serial Stat...

Page 52: ...7 SDN DeviceNet master scanner you must calculate the Poll Produce Size Poll Consume Size Chapter 4 describes how to calculate these values 2 Double click on the 1747 SDN icon to open its Properties box You can also left click on the icon to select it right click for the pop up menu and select Properties 3 Select the Scan list tab RSNetworx prompts you for the Scanner Configuration Click Upload to...

Page 53: ...can Systems Inc 53 4 The next window shows the Available Devices that can be added to the 1747 SDN Scanlist 5 Select the Automap on Add checkbox if you want RSNetworx to automatically map the DN120 input and output bytes into the 1747 SDN memory ...

Page 54: ...Gateway User s Manual Microscan Systems Inc 54 6 Select the DN120 under Available Devices and click the button to transfer to Scanlist 7 RSNetworx warns that the DN120 does not contain any I O data Click OK to continue ...

Page 55: ...Consume Size value and the Tx Size to the calculated Poll Produce Size value Click Apply to update I O parameters 9 RSNetworx prompts to Automap the new input and output data bytes Select Yes to automap If you select No then you must manually map the I O bytes in the memory tables 10 RSNetworx prompts if you want to download the changes to the 1747 SDN Click Yes ...

Page 56: ...ew the automapped DN120 input bytes 12 Click the Advanced button to view current input mapping detail Change the mapping to suit your application Click Apply Mapping button after you make changes Click Yes at the RSNetworx prompt to download any changes to the 1747 SDN Click Close to continue ...

Page 57: ...ew the automapped DN120 output bytes 14 Click the Advanced button to view current input mapping detail Change the mapping to suit your application Click Apply Mapping button after you make changes Click Yes at the RSNetworx prompt to download any changes to the 1747 SDN Click Close to continue ...

Page 58: ...DN120 DeviceNet Gateway User s Manual Microscan Systems Inc 58 ...

Page 59: ...ave a fixed length of 5 bytes The data bytes will be returned as a Short_String The gateway will only return the data bytes once in a Poll Response Message The Serial Stream Object can now be configured The following shows the Serial Stream Object attribute settings for this application The 3rd column lists the address string if using Set_Attribute_Single commands to write the attribute values Ser...

Page 60: ...determine if a new message is being returned A length of 5 indicates valid data bytes new message data A length of 0 indicates no valid data bytes no new message The Barcode Scanner sends the following 5 byte serial message when it reads a UPC label printed with 12345 ASCII numbers The gateway generates the following Poll Response Message in response to the first Poll Command Message after its rec...

Page 61: ...Object can now be configured The following shows the Serial Stream Object attribute settings for this application The 3rd column lists the address string if using Set_Attribute_Single commands to write the attribute values Serial Stream Object Configuration Class Code 64 or 0x40 Attribute Data Class Instance Attribute Data Description 6 Baud Rate 0 0x40 0x01 0x06 0x00 0 9600 bps 7 Parity 0 0x40 0x...

Page 62: ... the last received Short_String data in its Poll Response Message The gateway increments the Receive Sequence Number when new Short_String data is returned The application can use the Receive Sequence Number to determine if the Short_String data is new or old information The Barcode Scanner sends the following 8 byte serial message when it reads a UPC label printed with 1234567 ASCII numbers The g...

Page 63: ... be enabled The Serial Stream Object can now be configured The following shows the Serial Stream Object attribute settings for this application The 3rd column lists the address string if using Set_Attribute_Single commands to write the attribute values Serial Stream Object Configuration Class Code 64 or 0x40 Attribute Data Class Instance Attribute Data Description 6 Baud Rate 0 0x40 0x01 0x06 0x00...

Page 64: ...tes no new message The Barcode Scanner sends the following 6 byte serial message when it reads a UPC label printed with 12345 ASCII numbers The gateway generates the following Poll Response Message in response to the first Poll Command Message after its receives the Barcode message The Status Byte is 0x0A indicating no transmit or receive errors an empty Transmit Buffer and an empty Receive Buffer...

Page 65: ...rial Stream Object attributes are shown below for this application The 3rd column lists the address string if using Set_Attribute_Single commands to write the attribute values Serial Stream Object Configuration Class Code 64 or 0x40 Attribute Data Class Instance Attribute Data Description 6 Baud Rate 5 0x40 0x01 0x06 0x05 5 300 bps 7 Parity 1 0x40 0x01 0x07 0x01 1 Even parity 10 Flow Control 1 0x4...

Page 66: ...ays receives 26 output bytes in the Poll Command Message It will not transmit a new serial message until the Transmit Sequence Number received in the Poll Command is different than the number received in a previous Poll Command The application should increment the Transmit Sequence Number when it sends new output byte values in the Poll Command Message to enable the transmission of the new message...

Page 67: ... 0x0E 0x01 String Format Short_String 15 Block Mode 00000000 0x40 0x01 0x0F 0x00 Transmit Sequence Number disabled 18 Max Transmit Size 25 0x40 0x01 0x12 0x19 Fixed message size of 25 bytes The gateway will transmit the output bytes received in a Poll Command Message The Status Clear byte is not enabled The Transmit Sequence Number is not enabled The Length Byte is enabled Short_String format The ...

Page 68: ...eNet power supply voltage Make sure Gateway baud rate matches network baud rate Verify Gateway baud rate is set from rotary switches or retentive memory value MOD LED is flashing or solid red Gateway has failed Cycle power to reset Replace Gateway if necessary RX LED does not flash green when data is sent to the Gateway If Sync enabled make sure Receive Request Number and Receive Acknowledge Numbe...

Page 69: ...Vdc Signal Levels ISO11898 Serial Channel Isolation 500 Volts ESD Protection 10 kV Overload Protection 30 Volts Short Circuit Indefinite RS232 Output Levels 7 9 Volts unloaded typical Environmental Operating Temperature 0o C to 70o C Storage Temperature 25o C to 85o C Size inches 3 25 x 2 37 x 1 08 Mounting inches 0 5 tabs 3 16 diameter mounting holes PCB Encapsulation RTV Silicon Compound ...

Page 70: ...DN120 DeviceNet Gateway User s Manual Microscan Systems Inc 70 Appendix B DeviceNet Template Class Instance Attribute Default Setting Unit Comments ...

Page 71: ...rriage return Ctrl M 0x2D 45 0x4D 77 M 0x6D 109 m 0x0E 14 SO Shift out Ctrl N 0x2E 46 0x4E 78 N 0x6E 110 n 0x0F 15 SI Shift in Ctrl O 0x2F 47 0x4F 79 O 0x6F 111 o 0x10 16 DLE Data line escape Ctrl P 0x30 48 0 0x50 80 P 0x70 112 p 0x11 17 DC1 Device control 1 Ctrl Q 0x31 49 1 0x51 81 Q 0x71 113 q 0x12 18 DC2 Device control 2 Ctrl R 0x32 50 2 0x52 82 R 0x72 114 r 0x13 19 DC3 Device control 3 Ctrl S ...

Reviews: