Aten VK1200 [10/10] Example

Aten VK2100A [10/10] Example
10
Example:
ir help ↙ : show instructions
ir p01 ↙ : display the setting information of IR port1.
ir p* ↙ : display the setting information of all IR ports.
ir p01,04,07 type 232 ↙ : configure port1,4,7 to RS232 type
ir p01 type 232 baud 115200 dbit 8 parity none sbit 1 checksum type modbus↙ :
configure port1 to RS232 type and the settings
ir p02 write dtype hex “0a0b0c” ↙ : send hex format data 0a0b0c from port2
ir p02 baud 19200 ↙ : configure port2 to baud 19200 and use the default settings for other parameters.
ir p02 write “sw i01 o02\r\n” ↙ : send the ASCII text ‘sw i01 o02’ from port2.
ir p02 write “sw i01 o02\x0D\x0A”↙ : send the ASCII text ‘sw i01 o02’ from port2.
Скачать