259
R
Read
T
temperature
CR
Enter, data end
PLC needs to send the ASCII code of the above characters to the instrument in order to read
the current temperature value measured by the instrument. The ASCII code values
(hexadecimal) of each character can be obtained by querying the ASCII code table.
Character
ASCII code value
:
3A
R
52
T
54
CR
0D
Obviously, according to the situation described above, using MODBUS instructions can not
communicate, at this time you need to use free communication. Detailed usage will be used as
an example to program the sample program in later chapters.
6-3-4
.
Free communication instruction
Send data [SEND]
1.
Instruction overview
Write the local data to specified remote station address.
Send data [SEND]
16-bit
instruction
SEND
32-bit
instruction
-
Execution
condition
Normally ON/OFF, rising
edge triggering
Suitable
model
XD, XL
Hardware V3.2.3 and higher version
Software
V3.2.2 and higher version
2.
Operand
Operand Function
Type
S1
Local data starting address
16-bit, BIN
S2
Send byte number
16-bit, BIN
n
Communication port no.
16-bit, BIN
3.
Suitable soft component
Word
operand
System
constant
Module
D
FD
ED
TD
CD
DX
DY
DM
DS
K /H
ID
QD
S1
●
●
●
●
S2
●
●
●
●
●
n
●
K
Function and action
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...