User`s manual

56
CYMOD 4531
Response of CYMOD Commands
The response message depends on CYMOD command. The response is also
composed with several characteristics, including leading code, variables, and
carriage return for ending. There are two kinds of leading code for response
message: ”!“ or ”>“ means valid command, and ”?“ means invalid. By checking
the response messages, a user can monitor device status.
Note : Under the following conditions, there will be no response
message.
1. The specified address ID does not exist.
2. Syntax error.
3. Communication error.
4. Some special commands do not have response.
5.4.2 Summary of Command Set
Command Set of Digital I/O Modules
Command Syntax
General Commands
Set Configuration %(OldAddr)(NewAddr)
(TypeCode)(BaudRate)
(CheckSumFlag)
Read Configuration $(Addr)2
Read Module Name $(Addr)M
Read Firmware Version $(Addr)F
Soft Reset $(Addr)RS
Reset Status $(Addr)5
Functional Commands
Set RTS Status $(Addr)0(RTS Status)
Read RTS Status $(Addr)3
Read CTS Status $(Addr)1
Set Device ID $(Addr)6(Device ID)
Read Device ID $(Addr)7
Set Delimiter $(Addr)C(Delimiter)
Read Delimiter $(Addr)D
Data Pass (Delimiter)(Addr)(Data)
Open/Close Data Gate &(Addr)8(Data Gate Mode)