App index – Yokogawa Value Series FX1000 User Manual
Page 141
4-5
IM 04L21B01-17EN
Responses
1
2
3
4
5
6
App
Index
if((csum = (csum & 0xffff) + ((csum>>16) & 0xffff)) 0xffff)
/* Add the overflowed digits */
csum = csum - 0xffff;
/* If the digit overflows again, add a 1. */
return((~csum) & 0xffff);
/* bit inversion */
}
Dedicated Commands for RS-422A/485
The dedicated commands for the RS-422A/485 interface and the corresponding
responses are listed in the following table.
Command Syntax Meaning
Response
ESC Oxx CRLF
Opens the device.
• Response from the device with the specified
address
ESC Oxx CRLF
• No response when the device with the specified
address does not exist
1
ESC Cxx CRLF
Closes the instrument. • Response from the device with the specified
address
ESC Cxx CRLF
• No response when the device with the specified
address does not exist
1
1: Some of the possible reasons that cause the condition in which the device with the specified
address cannot be found are a command error, the address not matching that of the device,
the device is not turned ON, and the device not being connected via the serial interface.
• The “
xx” in the table indicates the device address. Specify the address that is
assigned to the instrument from 01 to 99.
• Only one device can be opened at any given time.
• When a device is opened with the ESC O command, all commands on the device
become active.
• When a device is opened with the ESC O command, any other device that is open
is automatically closed.
• Normally, either CR+LF or LF can be used as a terminator for communication
commands. However, the terminator for these commands must be set to CR+LF.
Note
The ASCII code of ESC is 1BH. See appendix 3.
4.1 Response Syntax