Delta-electronics Human Machine Interface DOP-A Series Manual de usuario Pagina 259

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 329
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 258
Chapter 4 Macro Function|ScrEdit Software User Manual
4-38 Revision Apr. 30th, 2007, 2007PDD23000002
$20 = 3A00H 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.
$28 = 0A0DH 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.
$50 = PUTCHARS($20, 18, 500) Start to send data from $10, the data length is 18 bytes
and the timeout setting is 500ms.
$51 = GETCHARS($110, 18, 500) 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.
DTB
When using ON Macro, the communication commands used to set SV value (1001H) of DTB
temperature controller to 20
o
C are listed as follows:
ASCII : 0 1 0 6 1 0 0 1 0 0 C 8 2 0 \r \n
HEX 3A 30 31 30 36 31 30 30 31 30 30 43 38 32 30 0D 0A
ON Macro
$100 = INITCOM(1, 2, 0, 2, 0, 6, 0) 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).
SELECTCOM(1) Select COM2 port.
CHR($1002, "0106100100C820") Convert the string of commands to ASCII code and store
data from $1002.
Vista de pagina 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 328 329

Comentarios a estos manuales

Sin comentarios