Delta Electronics A10 User Manual page 259

Dop series hmi
Hide thumbs Also See for A10:
Table of Contents

Advertisement

Chapter 4 Macro Function|ScrEdit Software User Manual
$20 = 3A00H
$28 = 0A0DH
$50 = PUTCHARS($20, 18, 500)
$51 = GETCHARS($110, 18, 500)
DTB
When using ON Macro, the communication commands used to set SV value (1001H) of DTB
temperature controller to 20
ASCII
:
HEX
3A
ON Macro
$100 = INITCOM(1, 2, 0, 2, 0, 6, 0)
SELECTCOM(1)
CHR($1002, "0106100100C820")
4-38
o
C are listed as follows:
0
1
0
6
1
30
31
30
36
31
Set starting Bit. Because the value of high byte and low
byte will be exchanged when HMI sends command, even
though the starting Bit is 3A when sending data, it is
needed to input 3A00.
Set end Bit. Because the value of high byte and low byte
will be exchanged when HMI sends command, even
though the end Bit is 0D0A when sending data, it is
needed to input 0A0D.
Start to send data from $10, the data length is 18 bytes
and the timeout setting is 500ms.
Receive the PLC response data after communication. The
received data is stored in $100, the data length is 18 bytes
and the timeout setting is 500ms.
0
0
1
0
30
30
31
30
Set communication setting as COM2, RS485, 9600, 7, E,
1 (Regarding the communication setting of DTB series
temperature controller, please refer to DTB series user
manual).
Select COM2 port.
Convert the string of commands to ASCII code and store
data from $1002.
0
C
8
2
0
30
43
38
32
30
Revision Apr. 30th, 2007, 2007PDD23000002
\r
\n
0D
0A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents