191
Enhanced Protocol Macro Functions
Section 5-6
5-6-1
Data Exchange Timing for Link Words
Link word specification (a method of specifying the common area for data
exchanged between the CPU Unit and the Board/Unit) is used as a method
for specifying the storage location of send/receive data when executing com-
munications sequences in protocol macro mode.
Pre-Ver. 1.2 Units
The link word area is refreshed between the CPU Unit and Board/Unit during
every CPU Unit cycle. The actual refresh timing with the CPU Unit, however,
does not correspond to whenever the I/O is refreshed. I/O refresh is per-
formed when a request is received from the Board/Unit (according to the
send/receive command executed in the communications sequence, and
therefore not synchronized with the CPU Unit scantime). This is called on-
request I/O refreshing.
Therefore, when a send command is executed ((1) in the above diagram), the
read processing of data using variables from the I/O memory addresses in the
CPU Unit specified in the link words is performed at the start of I/O refreshing
(2). The send message is compiled based on this data (3), after which the
actual message is sent (4). As a result, the actual message send timing is not
when the send command is executed, but waits until the next I/O refresh with
the CPU Unit.
Unit Ver. 1.2 or Later
The refresh between the CPU Unit and Board/Unit is the same as in earlier
models as far as being the CPU Unit’s refresh timing. I/O refresh with the CPU
Unit, however, is continuous during execution of the PMCR(260) instruction,
regardless of any request from the Board/Unit. When the send/receive com-
mand is executed, the data from within the Board/Unit is accessed and
exchanged. This method is called continuous I/O refresh and is set in the
Setup Area allocated in the DM Area.
CPU Unit
Ladder program
I/O memory
Receive data
Send data
Board/Unit
Step 0
Step 1 (send)
(2)
(1)
Ex
ecution
IN
OUT
Receive data
Send data
I1
O1
Read and compile message
(4) Send
R (O1, 2)
Link word 1
PMCR
Communications
sequence
Earlier models refresh I/O when a request is
received (using send/receive commands in the
communications sequence).
(1) to (4) are performed in
order for the processing within
this dotted line.
Send message according
to send command
Содержание SYSMAC CJ1W-SCU21-V1
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x...
Страница 15: ...xvi...
Страница 89: ...60 Basic Operating Procedure Section 1 9...
Страница 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Страница 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Страница 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Страница 277: ...248 Communications Frames Section 6 8...
Страница 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Страница 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Страница 391: ...362 Introduction Appendix A...
Страница 421: ...392 CompoWay F Master Protocol Appendix B...
Страница 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Страница 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Страница 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Страница 627: ...598 ES100 Digital Controller Protocol Appendix K...
Страница 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Страница 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Страница 717: ...688 Visual Inspection System Protocol Appendix O...
Страница 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Страница 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Страница 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Страница 781: ...752 Revision History...