4-41
4 Using Protocol Macros
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-3 Usin
g Pr
otoco
l Macr
o
s
4
4-3-1 Ex
ecuting
Comm
unications S
e
quences
z
SrcDat (Send Data Array Starting Element)
Specifies the word array starting element of the Send Area. Although the size is set for word array
SendData[0] (user-defined variable), set a value that includes the storage area of that size.
z
DstDat (Send Data Array Starting Element)
Specifies the word array starting element of the Receive Area. Although the size is set for word array
RecvData[0] (user-defined variable), set a value that includes the storage area of that size.
SendData[0]
SendData[1]
SendData[Size-1]
:
(Size-1)ch
Size
SendData[0]
SendData[1]
SendData[Size-1]
:
(Size-1)ch
Size