214
CompoWay/F Master Protocol
Appendix B
2.
The read data is returned as 4-digit hexadecimal as follows: F0019999 to 00099999 Hex.
The 3rd and 4th operands of the PMCR(260) instruction are specified as follows.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
Broadcast with ASCII Conversion, No Response
(Sequence No. 601 (Hex 0259))
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 ladder programming handles data in 4-byte units.
Offset
Contents (data format)
Data
+0
Number of send data words
(4 digits Hex)
0007 Hex
+1
(Undefined)
Node No. (2 digits
BCD)
0000 Hex
+2 MRC
(2 digits Hex)
SRC (2 digits Hex) 0101 Hex
+3
Number of send bytes (4 digits BCD)
000C Hex
+4
Send data (12 digits Hex)
C000 Hex
+5
0000 Hex
+6
0001 Hex
Offset
Contents (data format)
Data
+0
Number of receive data words
(4 digits Hex)
EX is stored at reception (0004 Hex)
+1
Response code (4 digits Hex)
The response code will be stored in hexa-
decimal form.
The normal end response code is 0000.
+2
Receive data (8 digits Hex)
The 4 bytes of read data.
+3
Offset
Contents (data format)
Data
+0
Number of send data words
(4 digits Hex)
0005 to 00FA Hex (5 to 250 decimal)
+1
(Undefined)
---
+2 MRC
(2 digits Hex)
SRC
(2 digits Hex)
Set the command code for the required ser-
vice
+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
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
(Undefined)
MRC
SRC
Number of send bytes
Содержание CJ1W-SCU41
Страница 2: ...6 60 6 6HULHV 6HULDO RPPXQLFDWLRQV RDUGV DQG 6HULDO RPPXQLFDWLRQV 8QLWV 2SHUDWLRQ 0DQXDO 5HYLVHG 0D ...
Страница 3: ...KX ...
Страница 5: ...XK ...
Страница 9: ......
Страница 19: ......
Страница 119: ......
Страница 177: ......
Страница 187: ......
Страница 221: ......
Страница 259: ......
Страница 317: ......
Страница 333: ......
Страница 373: ......
Страница 395: ......
Страница 407: ......
Страница 443: ......
Страница 463: ......
Страница 501: ......
Страница 509: ......
Страница 513: ......
Страница 525: ......
Страница 526: ... XWKRUL HG LVWULEXWRU Cat No W336 E1 3 Note Specifications subject to change without notice Printed in Japan 0501 M ...