![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 240](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586240.webp)
211
Using the Serial Gateway
Section 6-4
Serial Communications Boards
CPU Unit
Note
The following ladder program example shows how to return the Serial Gate-
way to the not prohibited status when the PMCR(260) instruction has been
executed and the sequence is completed. (This example uses port number 1
of a Serial Communications Unit with unit number 0.)
Serial port
Serial port number
Serial port 1
E4 hex (228 decimal)
Serial port 2
E5 hex (229 decimal)
Serial port
Serial port number
Peripheral port
FD hex (253 decimal)
RS-232C port
FC hex (252 decimal)
Serial Communications Board
Serial port 1
Serial port 2
CPU Unit
Peripheral port
RS-232C port
SET
1500.04
PMCR
C1
C2
W000.01 A20200
ASL
W000
W000.00
150915
S
D
RSET
1500.04
W000.02
150915
150915
ASL
W000
Execution condition
At the same time, bit 00 of W000 is shifted one bit to the left.
At the same time, bit 00 of W000 is shifted one bit to the left.
Communications
Port Enabled
Flag for Port No.
0
Protocol
Macro
Executing
Flag (n+9,
bit 15)
Protocol Macro
Executing Flag
(n+9, bit 15)
When execution condition W00000 is ON, the Serial Gateway Prohibited Flag
(port 1: Word n, bit 04: CIO 1500, bit 04) turns ON and the Serial Gateway is
prohibited.
When W00001 is ON, the Communications Enabled Flag for port No. 0
(internal logic port) is ON, and the Protocol Macro Executing Flag (port 1:
Word n+9, bit 15: CIO 150915) is OFF, the PMCR(260) instruction
executes.
When W00002 is ON, the sequence ends, and the Protocol Macro Executing
Flag (port 1: Word n+9, bit 15: CIO 150915) turns from ON to OFF, the Serial
Gateway Prohibited Flag (port 1: Word n, bit 04: CIO 150004) is reset to 0,
and the Serial Gateway is no longer prohibited.
Summary of Contents for SYSMAC CJ1W-SCU21-V1
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x...
Page 15: ...xvi...
Page 89: ...60 Basic Operating Procedure Section 1 9...
Page 151: ...122 RS 232C and RS 422A 485 Wiring Section 3 4...
Page 173: ...144 Host Link Function for Replacing Existing PLCs Section 4 6...
Page 223: ...194 Enhanced Protocol Macro Functions Section 5 6...
Page 277: ...248 Communications Frames Section 6 8...
Page 291: ...262 Basic Operating Procedure in No protocol Mode Section 7 4...
Page 301: ...272 Auxiliary Area and CIO Area Allocations Section 8 3...
Page 391: ...362 Introduction Appendix A...
Page 421: ...392 CompoWay F Master Protocol Appendix B...
Page 513: ...484 E5 K Digital Controller Read Protocol Appendix F...
Page 571: ...542 E5ZE Temperature Controller Write Protocol Appendix I...
Page 587: ...558 E5 J Temperature Controller Protocol Appendix J...
Page 627: ...598 ES100 Digital Controller Protocol Appendix K...
Page 661: ...632 V500 V520 Bar Code Reader Protocol Appendix M...
Page 697: ...668 3Z4L Laser Micrometer Protocol Appendix N...
Page 717: ...688 Visual Inspection System Protocol Appendix O...
Page 755: ...726 V600 V620 ID Controller Protocol Appendix P...
Page 763: ...734 Hayes Modem AT Command Protocol Appendix Q...
Page 767: ...738 Changing Communications Port Settings Using STUP 237 Appendix R...
Page 781: ...752 Revision History...