background image

 

Manual_GK473_DeviceNet_EN.doc 

18/31 

Baumer IVO GmbH & Co. KG 

04.05.11  

Villingen-Schwenningen, 

Germany 

Example for transparent transfer of a SPA command  
 

SPA  identifier  0 (0x20) command: read current value „R“ (0x52) 

 

Excerpt of operating manual SPA N140 : 

 
This command is for reading the 6-digit current value (bottom line of the display). Data volume is always 6 
Byte. A negative value comes with “-“ sign (2Dh) followed by 5 data Bytes. Positive values are returned as 6 
data Bytes less sign. Values of less than 6 (5) digits come with preceding zeroes. 

 

Example:   Current value = -32,50 

 

SOH  Adr  Cmd  EOT  CRC

Transmission 

01h  20h  52h  04h  40h 

 

SOH  Adr  Cmd 

Current value = –32,50 

EOT CRC 

Response 

01h  20h  52h 

2Dh  30h 33h 32h 35h 30h

04h

54h 

 

 

 

 

 
 
 
 

 

 

More examples in the annex.

Summary of Contents for GK473

Page 1: ...Fax 49 0 7720 942 900 05 11 174 02 051 4 info de baumerivo com Subject to technical and design modifications www baumer com Errors and omissions excepted Manual GK473 Gateway RS485 DeviceNet Firmware...

Page 2: ...iceNet Master Slave 9 5 2 Data exchange DeviceNet RS485 sub bus 10 6 DeviceNet CIP Object Implementation 10 7 GK473 Object Class 0x64 15 7 1 Attribute 1 Autoscan SPA 16 7 2 Attribute 2 Transparent tra...

Page 3: ...ing on encoder configuration and part number delivery is including Encoder CD with describing file and manual also available as download in the Internet 1 2 Product assignment Product Product code Dev...

Page 4: ...ufacturer Safety instructions Prior to commissioning of the equipment check all electrical connections If installation e connection or any other work performed at the gateway and at the equipment is n...

Page 5: ...gateway to protective earth PE conductor using shielded cable The braided shield must be connected to cable gland or plug Ideally aim at a bilateral connection to protective earth PE i e housing via...

Page 6: ...6 7 CAN_H 8 Drain 9 RS485 utilizing the screw terminals Connection to protective earth PE is additionally provided by the DIN rail mount Gateway power supply UB 24 VDC 20 ca 50 mA Each spindle positio...

Page 7: ...erating elements are accessible The housing is closed again by pulling it back to its original position until both locks snap in again 4 3 2 Setting the DeviceNet user ID Mac ID The DeviceNet user ID...

Page 8: ...ce in the bus line the CAN bus must be terminated by resistor that is activated by setting the one pole DIP switch to ON Default OFF ON 1 ON final user OFF user X 4 3 5 EDS file For gateway projecting...

Page 9: ...unkline dropline with bilateral terminating resistors The terminating resistors provide 120 Ohm GK473 DeviceNet gateway operates as a Class 2 Slave in the DeviceNet bus network The device supports I O...

Page 10: ...art and stop token as well as CRC byte cyclic redundancy check will be taken out of the RS485 message but latter is passed with unchanged content to the data block of a DeviceNet message so that it is...

Page 11: ...ess Rule Name DeviceNet Data type Value 1 Get Vendor ID UINT 0x01D4 2 Get Device Type UINT 0x000C 3 Get Product Code UINT 0x002D 4 Get Revision STRUCT of USINT Major fieldbus version USINT Minor field...

Page 12: ...STRUCT of Allocation choice Byte Byte Master s MAC ID USINT 6 Get MAC ID Switch changed BOOL 7 Get Baud Rate Switch changed BOOL 8 Get MAC ID Switch Value USINT 9 Get Baud Rate Switch Value USINT Inst...

Page 13: ...age Groups to consume produce date 7 Get Produced Connection Size UINT 0x0030 Number of bytes transmitted across this connection 8 Get Consumed Connection Size UINT 0x0000 Number of bytes received acr...

Page 14: ...application of a RetryLimit_Reached event 3 Get Set Producing Connection Instance USINT 0x0004 Connection Instance which contains the path of the producing I O application object which will be notifi...

Page 15: ...AY 48 of USINT Information in binary code on state number and IDs of the SPAs spindle position displays connected to RS485 sub bus Byte 0 15 SPA not in position Byte 16 31 SPA in error states Byte 32...

Page 16: ...and for DeviceNet read in The AutoScan function relieves the CANopen master from proceeding cyclic SPA scanning operations itself This operating mode is necessary to make the batched information objec...

Page 17: ...message if the addressed SPA did not reply within the timeout window approx 100 ms Any timeout administered by the DeviceNet Master for monitoring of gateway reply should not be less than 400 ms The...

Page 18: ...ading the 6 digit current value bottom line of the display Data volume is always 6 Byte A negative value comes with sign 2Dh followed by 5 data Bytes Positive values are returned as 6 data Bytes less...

Page 19: ...Attribute 3 RS485 Sub bus full SPA status information Class Instance Attribute Access Rule Name DeviceNet Data type Default Value 100 1 3 Get RS485 sub bus full SPA status information ARRAY 48 of USIN...

Page 20: ...5 13 44 75 res 2 5 14 45 76 res 2 6 14 45 76 res 2 6 14 45 76 res 2 6 15 46 77 res 2 7 15 46 77 res 2 7 15 46 77 res 2 7 16 47 78 res 2 0 16 47 78 res 2 0 16 47 78 res 2 0 17 48 79 res 2 1 17 48 79 re...

Page 21: ...SPAs with identifiers 0 1 2 4 5 6 7 and 30 are connected Byte 0 15 bin r 0 31 62 93 2 0 1 32 63 94 2 1 2 33 64 95 2 2 3 34 65 96 2 3 4 35 66 97 2 4 5 36 67 98 2 5 6 37 68 bc 2 6 7 38 69 res 2 7 8 39...

Page 22: ...xample Result SPAs with identifiers 1 5 and 30 are not in position Byte 0 15 bin r 0 31 62 93 2 0 1 32 63 94 2 1 2 33 64 95 2 2 3 34 65 96 2 3 4 35 66 97 2 4 5 36 67 98 2 5 6 37 68 bc 2 6 7 38 69 res...

Page 23: ...h identifier 5 is in error state possible reason No motor supply of the motive operated SPA Byte 0 15 bin r 0 31 62 93 2 0 1 32 63 94 2 1 2 33 64 95 2 2 3 34 65 96 2 3 4 35 66 97 2 4 5 36 67 98 2 5 6...

Page 24: ...t SPAs with identifiers 1 2 4 5 and 6 are in timeout state possible reason cable break Byte 0 15 bin r 0 31 62 93 2 0 1 32 63 94 2 1 2 33 64 95 2 2 3 34 65 96 2 3 4 35 66 97 2 4 5 36 67 98 2 5 6 37 68...

Page 25: ...ected SPAs to verify whether they are existing The function Automatic SPA recognition takes for granted that all SPAs have been switched on prior to or together with the gateway 8 2 2 Cyclic scanning...

Page 26: ...or Device On line AND Device needs Commissioning Flashing Green The device is operating in a normal condition and the device is on line with no connections in the established state The device has pas...

Page 27: ...ntifier scan operation and will store all encountered identifiers in the internal memory The storing operation may take up to 14 seconds maximum Later the gateway will transmit the DUP MAC ID message...

Page 28: ...o SPA EIA RS485 ASCII Protocol Data memory 10 years flash EEPROM Programmable parameters Auto Check functions Auto Scan SPA Auto Message SPA Position Auto Message SPA Error Emitted interference DIN EN...

Page 29: ...urrent value R 52h This command is for readout of the 6 digit current value bottom line of display The amount of data is always 6 bytes In case of a negative value the sign 2Dh together with 5 data by...

Page 30: ...ata 0 RxData 1 RxData 2 RxData 3 RxData 4 RxData 5 RxData 6 RxData 7 RxData 8 RxData 9 RxData 10 RxData 11 RxData 12 RxData 13 RxData 14 RxData 15 Vendor specific Service 0x32 Class 0x64 Instance 1 At...

Page 31: ...Instance Attribute TxData 0 TxData 1 TxData 2 TxData 3 TxData 4 N20 20 TxData 5 TxData 6 TxData 7 TxData 8 TxData 9 TxData 10 TxData 11 TxData 12 TxData 13 TxData 14 TxData 15 N20 50 RX ID Status Port...

Reviews: