![background image](http://html1.mh-extra.com/html/omron/f10-c20/f10-c20_instruction-sheet_741247022.webp)
38
37
8.2 Output Response Format
■ Normal Response
When the input command has been recognized correctly, a response will be re-
turned in the following format:
■ Error Response
When a unit number between 00 and 31 has been designated and the header
and unit number have been recognized correctly but the command has not
been recognized, a response will be returned in the following format:
■ No Response
When the unit number has been specified as XX, and the format up to the
header or unit number is incorrect, no response will be returned.
Header
@($40)
1 byte fixed
Space
($20)
1 byte fixed
Delimiter
CR($0D)
1 byte fixed
Unit No.
00 to 31
2 bytes fixed
Command
A($41) to Z($5A)
2 bytes fixed
Response
Space($20), 0($30) to 9($39),
A($41) to Z($5A)
Byte length variable
Header
@($40)
1 byte fixed
Space
($20)
1 byte fixed
Delimiter
CR($0D)
1 byte fixed
Unit No.
00 to 31
2 bytes fixed
Response
E($46) R($52)
2 bytes fixed
8.
Serial Communication Command
(only F10-C50/C55)
8.1 Basic Input Format
The basic format of input commands is described below.
・Specify the header @($40) at the beginning of input commands (1 byte fixed).
・ A value between 00 to 31, or XX, can be set as the unit number (2 bytes).
When the unit number is a single digit, it must be prefixed with メ0モ ($30) to ar-
rive at the required length of 2 bytes.
With a one-to-one connection, specifying 00 as the unit number performs the pro-
cess regardless of the unit number of the F10.
With a one-to-many connection, specifying XX as the unit number sends a com-
mand to all connected amplifiers. (XX cannot be specified with some com-
mands and parameters.)
・ Set the command as a 2-byte fixed-length code between A($41) and Z($5A).
・ The presence and length of parameters varies according to the command.
Parameters are specified using the space character ($20), 0 ($30) to 9 ($39),
and A($41) to Z($5A).
The parameters can be a maximum of 31 bytes in length, including the leading
space. Lower-case letters cannot be used.
・Input commands must conclude with the one-byte delimiter CR ($0D).
Header
@($40)
1 byte fixed
Delimiter
CR($0D)
1 byte fixed
Unit No.
00 to 31, XX
2 bytes fixed
Command code
A($41) to Z($5A)
2 bytes fixed
Parameters
Space($20), 0($30) to 9($39),
A($41) to Z($5A)
31 bytes max.
形F10-C20/C25/C30/C35/C50/C55 02.11.19 10:12 AM ページ 37