2 Methods for Connecting and Communicating with External Devices
Data type
Integer
Double
String
• Example: Open the unit setting UI of TDM Editor
4
Enter data into Data text box.
Data that can be output with one data No. is a range only to be handled as one string.
(1) When directly entering an output content into the Data text box.
A string enclosed with " " (double quotation marks) handled as one string and the rest fol-
lowing it is not output.
Example: "AA"TEST → only "AA" is output.
2 - 222
•
Entered data is handled as four-byte data.
•
Allowable entering range is a range of signed INT.
•
When string variables are specified for data, character strings like digits which
can be converted into numerical values will be converted and output.When dec-
imal digits are included, they are truncated.Moreover, they are handled as "0" if
they are not convertible.
•
In the Open the unit setting UI of TDM Editor, enter it with the following format.
INT,<offset>,<data>
If the format is different from above, it will be the same as String type output.
For the Offset, set a value counted from the beginning address. When Open the
unit setting old UI is used, the offset value will be set by automatic calculation.
•
Entered data is handled as eight-byte data.
•
The allowable entering range is a range of eight-byte floating decimal value.
•
When string variables are specified for data, character strings like digits which
can be converted into numerical values will be converted and output. Moreover,
they are handled as "0" if they are not convertible.
•
In the Open the unit setting UI of TDM Editor, enter it with the following format.
DBL,<offset>,<data>
•
Entered data is set based on specified Size.
Example: Size is four and the entered data is ABCD.
ABCD → ABC+NULL
•
The number of allowable entering characters is up to 4,095.
If this limit is exceeded, nothing is displayed and output.
•
When NULL is included in the entered character string, the character string fol-
lowing NULL is not output.
•
The following escape sequence codes can be entered. The entered escape se-
quence codes are handled as fixed character strings.
\N: Carriage return, \r: Line feed, \t: Tab, \xXX: ASCII code specified by "XX"
(numerical value), \": Double quotation mark, \\: Backslash
•
In the Open the unit setting UI of TDM Editor, enter it with the following format.
STR, <Offset>, <Size>, <Code page>, <Data
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Description
>
Need help?
Do you have a question about the SYSMAC FH Series and is the answer not in the manual?
Questions and answers