
A Standard System Protocol
R-18
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
This sequence converts the specified data beginning with the command code to ASCII and broadcasts
it. No responses are received.
Send Data Word Allocation (3rd Operand of PMCR(260))
Note 1
Set the number of send bytes to twice the number of bytes in memory. This is necessary
because the data is converted to ASCII data before being sent.
2
When hexadecimal data is converted to ASCII data, data is sent starting from the send
data word with the largest offset. This is done because user programs handle data in 4-
byte units.
Receive Data Word Allocation (4th Operand of PMCR(260))
None. (Specify a dummy value for the operand, such as #0000.)
Broadcast with ASCII Conversion, No Response
(Sequence No. 601 (Hex 0259))
Offset
Contents (data format)
Data
+0
Number of send data words (4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
+1
(Undefined) (0000 Hex)
---
+2 MRC
(2 digits Hex)
SRC
(2 digits Hex)
Set the command code for the required service
+3
Number of send bytes (4 digits Hex)
Number of data bytes from the next byte after the
command code until the byte just before the ETX.
0000 to 03D8 Hex (0 to 984 decimal)
+4
on
Send data (4-digit Hex)
The data specified in hexadecimal here will be
converted to ASCII and the number of send bytes
specified in S+3 will be sent.
Send data
First word of
send data
Number of send data words
+0
+1
+2
+3
+4
on
(Undefined)
MRC
SRC
Number of send bytes
1 2 3 4
5 6 7 8
Send data words
Send frame
"56" "78" "12" "34"
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...