User`s manual
CYMOD 4531
•
55
(Leading
Code)
Leading Code is the first character of the CYMOD
command. All CYMOD commands need a command
leading code, such as %,$,#,@,...etc.
1- character
(Addr) Module’s address ID, the value is in the range of 00 - FF
(Hexadecimal) if no specified in the following.
2- character
(Command
Variable)
Items indicate command codes or value of variables.
Variable length
[Data] Some output commands need data.
Variable length
[Checksum] Checksum in brackets indicates an optional parameter.
This field is required only if checksum is enabled.
2- character
< > Identifies a control code character, such as <CR> for
carriage return, its value is 0x0D. 1- character
Format of CYMOD Commands
(Leading Code)(Addr)(Command)[Data]<CR>
Example:
User
Command:
$012<CR>
Response: !01400600<CR>
$: LeadingCode
01: Address
2: Command (Read Configuration)
<CR>: Carriage return 0x0D