background image

XG555 CAN to DeviceNet Gateway 

April 21, 2005 

DeviceNet 

 

A second CANbus interface provides a DeviceNet interface to the transducer position 

information. An EDS file is provided with the unit. The DeviceNet interface defaults to 500 kbps, node 63. 
This setup can be changed using RSNetworx for DeviceNet or another DeviceNet configuration tool. 
 
 

To configure the gateway within RSNetworx, first use the EDS Wizard to add the .EDS file 

supplied with the gateway. The gateway should be detected correctly during the next scan of the network. 
After the gateway has been detected, add the gateway to the scan list of your PLC’s DeviceNet scanner. 
Download the new configuration to the scanner. When you go on-line, the scanner should be exchanging 
data with the transducer gateway.   
 
 

The slave provides a polled connection that consumes 1 byte and produces 63 bytes. The 

consumed byte is a command byte similar to the command byte used in the parallel connection. The bits of 
the command byte are as follows: 

 

Bits 0-3   

Magnet number (0-15) (LSB is bit 0) 

 

Bits 4-5   

Transducer number (0-3) (LSB is bit 4) 

 Bit 

 Set 

Zero 

 Bit 

 Unused 

 
The data produced by the slave contains position and status data for one transducer, and returns 

the command byte for feedback purposes. The production data is as follows: 

Bytes 0-59 

Position data for the requested transducer (0-14). The position data is 
returned as twos-compliment 32-bit signed integers. 

Bytes 60-61 

Status data for the magnets on the requested transducer. Each bit of the 
status data corresponds to a magnet. For example bit 0 of byte 60 
indicates the status of magnet 0 on transducer 0. 

Byte 62 

The consumed command byte. 

 

The position data returned will contain position data for magnets on the following transducer if 

the requested transducer has less than 15 magnets, followed by the next transducer if space is still 
available, and so on. At most, 15 positions will be returned.  
 

Examples:  

If your setup used 3 transducers with 6 magnets each and requested magnet 0; transducer 0 positions would be 

stored between bytes 0 and 23, transducer 1 positions would be stored between bytes 24 and 47, and transducer 1 positions 
for magnets 0 through 2 would be stored between bytes 48 and 59. 

If you were to request transducer 1; transducer 1 positions would be stored between bytes 0 and 23, transducer 2 

positions would be stored between bytes 24 and 47, and zeros would between bytes 48 and 59 because only three 
transducer are used in the setup. 

 
 

When bit 6 is not set, position and status data for the transducer requested in the command word 

are returned. In this case, the magnet number is ignored. 

If bit 6 is set, the transducer specified in the command word is offset to the position of the magnet 

specified. If magnet 15 is specified, the offset of the transducer specified is set to zero. The command byte 
must change before the transducer will be zeroed again. 

 
The command byte mirrored in Byte 62 can be used to determine when the data has been updated. 

The following sequence can be used: 

1.  Ouput new command byte 
2.  Wait for byte 62 to equal the sent command byte 
3. Read 

data 

4.  Return to step 1 

 

 

 

Содержание XG555

Страница 1: ...104 stack includes the processor a CANBUS interface and a DeviceNet interface Features Up to eight channels of MTS Temposonics CANBUS position information Up to 15 magnets per transducer DeviceNet int...

Страница 2: ...5 Remote File Operations 6 Program Upgrades 6 Backup and Restore 7 ling and Changing Transducer Node IDs 7 Hardware 8 Processor 8 PC 104 boards 8 CANbus interface modules 8 CANBus 9 CANBus Connections...

Страница 3: ...Pressing the enter key while viewing this status screen takes you to the setup menu Setup Setup can be accomplished via a terminal attached to the RS232 serial port of the XG555 or by using the displ...

Страница 4: ...serial connector If the operator desires to enter the Setup Mode the operator should type three characters rapidly at 9600 baud until the control acknowledges with a setup menu The control is then in...

Страница 5: ...h disk Display magnet positions Prints the position of a selected magnet until Q is pressed Pressing and 0 3 changes the selected magnet and transducer increments the selected magnet number will decre...

Страница 6: ...e requested transducer Each bit of the status data corresponds to a magnet For example bit 0 of byte 60 indicates the status of magnet 0 on transducer 0 Byte 62 The consumed command byte The position...

Страница 7: ...transducers A single transducer does not respond Check that the transducer has the right setup information entered and that the drop cable from the trunk to the transducer is ok You may need to use th...

Страница 8: ...ator For COMM and ProComm press the PGUP key and select XMODEM For HyperTerminal select the Transfer pull down menu Once the XMODEM function has started you will see transfer status information printe...

Страница 9: ...MSERV REMDISK or by using TRANSFER COMM Detect Utility Changing Transducer Serial Numbers Node IDs or baud rates Transducer serial Numbers Node Ids and Baud Rates can be detected and changed using the...

Страница 10: ...Aim104 CAN module is an 8 bit PC 104 module providing a single channel optically isolated CAN bus interface In addition the board is fitted with an EEPROM for configuration information and an output p...

Страница 11: ...or If they are to be powered from another 24V source then connect the power supply to the V pin on the Gateway and leave the V pin unconnected CANBus Termination For proper operation the CANBus cable...

Страница 12: ...onnected to the 5 pin screw terminal In normal operation this is a separate supply from the CANBus transducer supply DeviceNet Termination For proper operation the DeviceNet cable must be terminated w...

Страница 13: ...ril 21 2005 Serial Interface Cable Pinout The serial cable for use with REMSERV REMDISK or TRANSFER COMM is as follows RTS TX RX DSR RTS GND TX CTS RX PC DB9F 5 9 4 8 3 7 2 6 1 GND DTR DTR SAPPI DB9F...

Страница 14: ...NET 1 2 3 4 5 24V CAN BUS 1 2 3 4 5 CANL 24V RET DEV TERM 120 120 24V 24V RET MTS CAN XDCR MTS D6 1 2 3 4 5 6 CANL POWER SUPPLY CANH 24V PWR 1 2 CANL CANH 24V SHIELD INSTALL TERMINATION AT LAST XDCR D...

Страница 15: ...XG555 CAN to DeviceNet Gateway 13 April 21 2005 XG555 TOP COVER 9 1 9 9 5 8 3 3 8 4 1 5 TITLE XG555 GATEWAY Dimensions...

Отзывы: