1734-2-8 Communication Data FormatIn case of controlling the laser marker from the external device, basically the characters to be used for thecommunication use the ASCII code, and part of the characters are shift JIS code.The character enclosed with the quotation “(‘ ʼ)” expresses the ASCII code.In case of using the shift JIS code, refer to explanation for details and follow it.■ Command DataThe command refers to the command to be sent to the laser marker from the external device. With the commanddata, it is possible to create command data using the specified format, to operate the laser marker by remotecontrol, and to perform the specified marking procedures.Command Data FormatDescription of Each CodeName DescriptionStart Code Code for recognizing the head of the data. Fixed with STX (code: 02(HEX) )Command Specifies command with 3 characters. (“4-2-10 Communication Command and Function”(P.180))Subcommand Specification of the “Set/Read” to be added to the command subsidiary.Specify operation with either character below:‘Sʼ ••• Setting or operation of data (Set)‘Rʼ ••• Reading of setting data (Read)(Note) There are some commands that disables to be specified with either ‘S’ or ‘Rʼ.Data Data to be specified for each command.The content of the specification is differed depending on the command. (“4-2-10 CommunicationCommand and Function” (P.180))Check Sum Data that the lowest 1 byte is expressed with 2 characters of ASCII code by adding thecodes from start code until data in binaryE.g.: Command•••‘ABC’, Subcommand•••‘Sʼ, Data•••‘000ʼ02(HEX) +41 (HEX)+42 (HEX) +43(HEX)+53 (HEX) +30(HEX) +30 (HEX) +30 (HEX) =1AB(HEX)When converting the lowest 1 byte AB(HEX) of the 1AB (HEX) into 2 characters, itbecomes “41(HEX)+42(HEX) ”.The valid/invalid of the checksum is available to be set in the environmental setting related tothe laser marker of the LP-310 setting software.Delimiter Code for recognizing the end of the dataCR+LF ••• 0D (HEX) and 0A(HEX)CR ••••••• 0D (HEX)• The laser marker deals the data from the start code (STX) to the delimiter (CR or CR+LF) asthe command data. In case of existing the unnecessary data before start code or afterdelimiter, that character is ignored (it just is ignored, not sent back the abnormal responsedata).Start Code1 CharacterCommand3 charactersSubcommand1 characterDataVariable lengthCheck sum2 charactersDelimiter2 char./1 char.Top ← → EndCHECK