![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681017.webp)
978
Serial Communications Instructions
Section 3-24
Precautions
The data in the send area specified with S is actually sent using the symbol
read option, R( ), in a send message.
Data is actually received to the receive area specified by R using the symbol
write option, W( ), in a receive message.
Refer to the
CX-Protocol Operation Manual (W344)
for procedures for desig-
nating symbols R( ) and W( ).
PMCR(260) can be executed for a serial communications port on a Serial
Communications Board (CS Series only) or Serial Communications Unit. Up
to 16 Serial Communications Units can be mounted to the CPU Rack and
Expansion I/O Racks. The Unit address of the communications partner must
be set in bits 0 to 7 of C1 to specify which Unit/Board is to be used and the
serial port number must be set in bits 8 to 11. Unit addresses are specified as
shown in the following table.
The corresponding Protocol Macro Execution Flag will turn ON at the start of
PMCR(260) execution. It will turn OFF after the communications sequence
has been completed and data has been written to the specified receive area.
A N.C. input for the corresponding Protocol Macro Execution Flag should be
used as part of the execution condition whenever executing PMCR(260) to be
sure that only one communications sequence is being executed at the same
time for the same physical port. An example is shown below.
SEND(090), RECV(098), and CMND(490) also use the logical ports 0 to 7 to
execution communications sequences through Serial Communications Unit
and Boards (internally using FINS commands). PMCR(260) cannot be exe-
cuted for a logical port that is already being used by SEND(090), RECV(098),
CMND(490)or PMCR(260). To prevent more than one communications
sequence from being executed for the same logical port, the corresponding
Communications Port Enable Flag (A20200 to A20207) should be used as a
N.O. input in the execution condition for PMCR(260), as shown in the above
diagram.
Unit/Board
Unit address
Serial Communications Board
(CS Series only)
E1 hex
Serial Communications Unit
Unit 10 hex
Serial Communications Units
Serial Communications Board
(CS Series only)
E1 hex (CS Series only)
Unit No. + 10 hex
Unit address
PMCR(260)
Communications Port
Enabled Flag
Protocol Macro
Execution Flag
Execution
condition
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...