Appendix 1: Command Reference - JFE Advantech RINKO FT User Manual

Fast optical do sensor for integration
Table of Contents

Advertisement

Appendix 1: Command reference

1. Communication protocol:
Protocol:
Baud rate:
Data:
Stop bit:
Parity:
2. Command format:
When sending a command from Host Controller (hereinafter, HC) to RINKO FT, it sends the command in the following format.
Request ,Checksum ,<CR><LF>
When RINKO FT responds to a command from HC, it responds the command in the following format.
Response ,Checksum ,<CR><LF>
Description of Checksum :
3. Sleep mode and precautions:
a) RINKO FT has a sleep mode. In sleep mode, the RINKO FT is in the following condition.
- Analog electronics are powered OFF.
- CPU is in low-power mode.
- RINKO FT returns Error Code 0003 to the first command during the sleep mode.
b) It requires 5 seconds to stabilize the DO output after turning ON the analog power.
c) RINKO FT automatically enters sleep mode if it does not receive any command for 2 minutes.
d) When turning off the power of RINKO FT, do so after the RINKO FT is in sleep mode if LED accumulated time is needed.
UART (3.3 V logic) or RS-232C
Note: UART is available only for the standard type (ARO-FT).
38400
8 data bits
1 bit
None
The checksum is the least significant byte of ones' complement of the sum of the values of Request (or Response)
and "," (comma). The checksum should be converted to 2-byte ASCII.
For example:
In case of a command "do,Checksum,<CR><LF>", 0x64 + 0x6F + 0x2C = 0xFF, then take the ones' complement of
0xFF, which equals 0x00. Then 0x00 should be converted to 2-byte ASCII, which equals "00", i.e.,
"do,00,<CR><LF>".
When receiving any command during sleep mode, the RINKO FT will send Error Code 0003 as its first Response
(it will take a little time to respond in 1 second at maximum). Only the CPU will wake up (the analog electronics are
still powered off) and start to appropriately accept any command. The CPU will enter low-power mode if it does not
receive any command for 2 minutes. See also Chapter 8 for Error Code 0003.
In order to obtain a stable and reliable DO data, it is necessary to wait at least 5 seconds after turning ON the analog
power for the first time. In this appendix, this time is referred to as "preheat time". If the power is already ON for
more than 5 s, it is not necessary to wait.
The power can be turned off immediately after receiving the "qs" response. If the Checksum does not match or the
"qs" response cannot be received when sending a "qs" command in order to turn off the power, retry up to three
times. After failing three times, turn OFF the power. We STRONGLY RECCOMMEND to turn off the power of
RINKO FT (i.e., OFF not only analog electronics but also CPU) instead of using sleep mode.
If the RINKO FT is turned off without entering sleep mode, LED time is not accumulated appropriately. Nothing
damages physically the RINKO FT. If LED accumulated time is not used, the RINKO FT can be turned off without
entering sleep mode.
[Appendix 1] 1 /4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aro-ftArod-ft

Table of Contents