12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PackDNHeaderFieldbus Command InterfacePathData type: stringInstructionThe values for the Path is found in the EDS file. For a more detailed descriptionsee the Open DeviceNet Vendor Association “DeviceNet Specification rev. 2.0”.Support for both long string format (e.g. "6,20 1D 24 01 30 64,8,1") and short string format (e.g. "20 1D 24 01 30 64").RawDataData type: rawbytesVariable container to be packed with message header data starting at index 1 inRawData.Program executionDuring program execution the DeviceNet message RawData ‘container’is:- first completly cleared- and then the header part is packed with dataFormat DeviceNet HeaderThe instruction PackDNHeader will create a DeviceNet message header with followingformat:Tabell 11RawDataHeader FormatNo ofbytesNoteFormat 1 Internal IRC5 code for DeviceNetService 1 Hex code for serviceSize of Path 1 In bytesPath x ASCII charsThe data part of the DeviceNet message can afterwards be set with the instruction Pack-RawBytes starting at index fetched with (RawBytesLen(my_rawdata)+1).SyntaxPackDNHeader [Service ’:=’ ] < expression (IN) of string> ’,’[Path ’:=’ ] < expression (IN) of string> ’,’[RawData ’:=’ ] < variable (VAR) of rawbytes> ’;’314 <strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!