TOHO ELECTRONICS TRM-006A User Manual

Page 32

Advertising
background image

32

6.11.4 Errors in address specification

This product will not respond to any "request message" that specifies an address other than that
specified for itself. If, therefore, the address portion of a "request message" is error-ridden, none
of the mobile units will return a "response message."
Therefore, the high-level computer transmits the necessary "request message" again if a "request
message" is sent to this product but the latter does not return a "response message" at the end of
an appropriate period.
The moment a start is received, this product clears all codes received before that.

6.11.5 Number of digits in data and the decimal position

See "6.10 Description of ASCII codes, i) Data portion."

6.11.6 Operation after receiving a store request message

This product starts to store data after correctly receiving a store request message from a
high-level computer.
This product only stores data different from the contents of the EEPROM (data that is changed).
The time (TW) required for storing data is within 6 seconds.
This product transmits a storage-complete reply after the data is stored.
This product will not guarantee that the data is stored if this product is turned off during a storage
operation. Do not turn off this product for 6 seconds after transmitting a store request message.

6.11.7 Operation after turning on the power

This product will not perform communications (no response) for about 4 seconds after it is turned
on. Allow for a delay until communications is started after this product is turned on.

6.11.8 Storing data other than a store request message

This product will store all parameters in the EEPROM in either of the two cases described below,
even if no store request message is received.
1) If a parameter is changed by key operation
2) If auto-tuning is started and ends normally.

6.11.9 Changing the settings (SV or SV2) by communications during auto-tuning

Even if the settings (SV or SV2) used in control for auto-tuning are changed by communications,
the settings (SV or SV2) will not be changed until the auto-tuning ends.


6.12 Example of LRC calculations

Following is an example of calculating LRC with VisualBasic6.0.

Variables are declared as shown below.
VisualBasic6.0 cannot use code-free variables. It therefore uses code-equipped 16-bit integer
variables as data. Similarly, the LRC calculation results are entered into code-equipped 16-bit
integer variables.

Dim LRC As Integer
Dim i, arry_count As Integer

Dim lrc_arry(128) As Integer

Advertising