TOHO ELECTRONICS TTM-10L User Manual

TOHO ELECTRONICS INC.
Operation Manual, Communications
Model: TTM-10L Series Designation: Digital Board Controller
1
Thank you very much for purchasing a TTM-10L Series (with communications). Please read this operation manual carefully and use this product correctly.
1. Before using the product......................................................................................................3
1.1 On this operation manual
1.2 Conditions for communications
1.3 What can be done with communications
1.4 Positioning communications (priority ranking)
1.5 Setting before communications
2. Settings regarding communications.....................................................................................4
2.1 Overview
2.2 Setting a communications type
2.3 Setting a data length
2.4 Setting a stop bit length
2.5 Setting a parity
2.6 Setting whether to conduct a BCC check
2.7 Setting a communications speed
2.8 Setting an address
2.9 Setting a response delay time
3. Communications control......................................................................................................6
3.1 Communications procedure
3.2 Message types
3.3 Composition of a request message (transmitted from a high-level computer to this product)
3.4 Composition of a response message (transmitted from this product to a high-level computer)
3.5 Description of codes
3.6 Communications precautions
4. Examples of communications............................................................................................13
4.1 Examples of communications to be read
4.2 Examples of communications to be written
5. Specifications.....................................................................................................................15
5.1 Communications standard category
5.2 Communications specifications
6. Connections .......................................................................................................................16
6.1 Connecting TTM-10L in RS-485
6.2 Connecting TTM-10L in RS-232C
7. Table of identifiers (codes) ................................................................................................17
8. Table of ASCII codes.........................................................................................................19
2
1. Before using the product
1.1 On this operation manual
This is an operation manual regarding communications with a TTM-10L Series (hereinafter referred to as "this product").
1.2 Conditions for communications
The communications function of this product is optionally specified. For that reason, you should specify a communications option (RS-485 or RS-232C) in purchasing this product.
1.3 What can be done with communications
With this product, users can write and read items specified in "7. Table of identifiers (codes)," such as "reconfiguring, starting, or stopping items that are operable with the front keys" and "reading information displayable on the display."
However, reading and writing with ordinary commands are performed with regarding to the RAM in this product. Written data can be turned back into the values before the writing (the values stored on the EEPROM) by turning power off and on again. To store the written data on the EEPROM of this product, execute a store request message. (See "Communications precautions" in chapter 3.6.)
Settings regarding options not added and other unnecessary settings cannot be read or written.
1.4 Positioning communications (priority ranking)
Data and parameters in this product can be changed with keys while in operation in the communications mode.
(Note that any modification related to communications is not permitted.) While this product is in operation without use of the communications function, readout or setting
change of the data or parameters cannot be executed through communications. Switchover of the communications type cannot be key-locked.
1.5 Setting before communications
Before performing communications, this product must be set. See "2. Settings regarding communications."
3
2. Settings regarding communications
[MODE key]
Mod
e screen
The parameter screen opens by pressing the MODE key for 2 seconds or longer.
Parameter screen
On the parameter screen, the left is displayed.
Press the MODE key several times to open the screen for the communications
2.1 Overview
Before communications is performed, initial settings must be made on this product. Enter such settings with the keys on the front panel.
(No change can be made during communications.)
Measured value
Proportional band
Power-on
[MODE key] [MODE key]
Initial screen Displayed for 4 seconds upon the power-on.
In 4 seconds from the power-on, the screen automatically opens.
type “###.” (The number of the presses depends on specifications including options.)
Press the MODE key to open the following screens. Use the p and q keys to make inputs.
Communications type
Communications parameter
Communications speed
Communications address
Response delay time
Upon completion of the settings, press the MODE key for 2 seconds or longer; the screen returns to the measured value screen.
The parameters shown above are initial values. MODE key: Press the MODE key once to change a screen.
2.2 Setting a communications type
Press and set the first digit using the p and q keys. The initial setting is "###."
When RS-485 is specified
Not used (off) RS-485 (on)
When RS-232C is specified
Not used (off) RS-232C (on)
* This screen in not key-locked. No switchover between RS-232C and RS-485 is possible. (Must be specified at the time of
purchase.)
4
2.3 Setting a data length
F
Stop bit 1
I
Stop bit 2
c
No parity
f
Odd parity
D
Even parity
N
Data len
gth, 7 bits
E
Data length, 8 bits
˜
:
BCC check
c
BCC check disabled
j
BCC check enabled
12
00 BPS
2400 BPS
4800 BPS
9600 BPS
2.4 Setting a stop bit length
2.5 Setting a parity
2.6 Setting whether to conduct a BCC check
Operate the and keys to make the settings. The initial value is HHHH.
p: Stop bit length
¢: Parity
˜¿¢p
¿: Data length
2.7 Setting a communications speed
Operate the and keys to make the settings. The initial value is HH.
****
I K E M
2.8 Setting an address
Operate the and keys to make the settings. The initial value is H.
Setting range: 1 to 99 stations (It cannot be set to a 0.)
2.9 Setting a response delay time
Set a time from the time when the high-level computer finished sending a "request message" until the time when it delivers the line and enters an input state.
Operate the and keys to make the settings. The initial value is ###.
Setting range: 0 to 250msec
* If the response delay time is set to a short setting, the communications may not be conducted
normally.
* In a real operation, the processing time for this product will be added, in addition to the response
delay time.
5
3. Communications control
3.1 Communications procedure
This product returns a "response message" in response to a "request message" from a high-level computer. It therefore does not initiate a transmission.
Transmitted by a high-
level computer
High-level computer
This product (TTM-10L)
See "2.9 Setting a response delay time." See "3.6.1 Communications timing."
Request message
Response delay time
0-250ms
Transmitted by
TTM-10L
Response message
3.2 Message types
n Messages are roughly divided into the following types:
Request message (transmitted
from a high-level computer)
"3.3.1"
Read request message
Transmitted by a high-
level computer
Request message
1ms or more
See "3.6.2 Interval between requests."
Response message (transmitted
from this product)
"3.4.1"
Receipt acknowledgement and data
response
Transmitted by
TTM-10L
Response message
"3.4.2"
"3.3.2"
Write request message
"3.3.3"
Store request message
"3.4.3"
"3.4.2"
: Response when a normal "request message" is received : When a received "request message" contains an error
Write complete response
Reception error and error description
response
Store complete response
n All codes (except for BCC) from STX and data to ETX are expressed in ASCII codes. n In assembling a program for a high-level computer, see "7. Table of identifiers (codes)" and "8.
Table of ASCII codes" at the end of this manual.
6
Loading...
+ 13 hidden pages