368
CompoWay/F Master Protocol Appendix B
CompoWay/F Master Protocol Sequences
The CompoWay/F Master Protocol provides 18 communications sequences that can be used for the following:
• Converting to ASCII data or not converting to ASCII data
• Sending to a specified Unit or broadcasting
• Specifying from the command code or specifying from the subaddress and SID.
Structure of the Protocol
The following table shows the structure of the CompoWay/F Master Protocol.
Sequence
No.
Communications
sequence name
Function Ladder interface
Send word
allocation
Receive word
allocation
600 (0258) Send with ASCII conver-
sion, with response
Send in order from right-
most to leftmost word.
Receive in order from
leftmost to rightmost
word.
Converts the specified data beginning with
the command code to ASCII and sends it to
the specified Unit. The response is con-
verted to hexadecimal and stored starting at
the specified word.
Ye s Ye s
601 (0259) Broadcast with ASCII
conversion, no response
A broadcast version of sequence No. 600.
No responses are received.
Ye s N o
602 (025A) Send with no conversion
and with response
Sends specified data beginning with the
command code to the specified Unit. The
response is stored starting at the specified
word. This is the same as sequence No.
600 without data conversion and can be
used when conversion is not required.
Ye s Ye s
603 (025B) Broadcast with no con-
version and no response
A broadcast version of sequence No. 602.
No responses are received.
Ye s N o
604 (025C) General-purpose send
with no conversion and
with response
Sends specified data beginning with the
subaddress and SID to the specified Unit.
The response is stored starting at the spec-
ified word. This sequence can be used
whenever it is necessary to specify the sub-
address or SID.
Ye s Ye s
605 (025D) General-purpose broad-
cast with no conversion
and no response
A broadcast version of sequence No. 604.
No responses are received.
Ye s N o
606 (025E) Send/receive with ASCII
conversion and with
response
Send: Leftmost to right-
most word order
Receive: Leftmost to
rightmost word order
Converts specified data beginning with the
command code (MRC, SRC) into ASCII and
sends it to the specified Unit. The response
is converted into hexadecimal and stored
starting at the specified word.
Ye s Ye s
607 (025F) Send/receive with ASCII
conversion and with
response
Send: Rightmost to left-
most word order
Receive: Rightmost to
leftmost word order
Converts specified data beginning with the
command code (MRC, SRC) into ASCII and
sends it to the specified Unit. The response
is converted into hexadecimal and stored
starting at the specified word.
Ye s Ye s
610 (0262) Variable area read Reads the contents of the specified number
of elements from the address of the speci-
fied variable type to the specified node
number and stores the data starting at the
specified word.
Ye s Ye s