![Omron SYSMAC CJ1W-SCU21-V1 Operation Manual Download Page 180](http://html1.mh-extra.com/html/omron/sysmac-cj1w-scu21-v1/sysmac-cj1w-scu21-v1_operation-manual_743586180.webp)
151
Overview of the Protocol Macro Functions
Section 5-1
Standard System Protocol Example
Process Value Read Sequence for E5
@
K Controller Read Protocol
DM Area Settings for
Standard System Protocol
The following data is set in the Setup Area in the DM Area for a standard sys-
tem protocol.
m = 100
×
unit number
Level
Item
Setting
Sequence
Link words
---
Transmission control
parameters
Modem control
Response notification
method
Scan
Reception wait time Tr
3 s
Reception finished wait
time Tfr
3 s
Send finished wait time
Tfs
3 s
Steps
Step number
00
Repeat counter
Reset/001
Command
SEND&RECV
Retry count
3
Send wait time
---
Send message
SD (00) _1
Receive message
RV (00) _1
Response write enable
Write
Next process
End
Error process
Abort
Send message
SD (00) _1
Header <h>
“@”
Terminator <t>
[2A0D]
Error check code <c>
LRC (horizontal parity) (0) (2 bytes of ASCII)
Length <l>
---
Address <a>
$ (R (1) ) ,2)
Message edited
Receive message
RV (00) _1
Header <h>
“@”
Terminator <t>
[2A0D]
Error check code <c>
LRC (horizontal parity) (0) (2 bytes of ASCII)
Length <l>
---
Address <a>
& (R (1) ) ,2)
Message edited
<h> + <a> + "1" + "00" + "0000" + <c> + <t>
Data
<h> + <a> + "00" + "00" + & (W (1) ,4) + <c> + <t>
Data
Board
(CS Series only)
Unit
(CS/CJ Series)
Contents
Setting for a standard system protocol
Port 1
Port 2
Port 1
Port 2
D32000
D32010
m
m + 10
Bits 00 to 04: Communications
parameters
Set to match the parameters of the external
device.
Bits 08 to 11: Serial communica-
tions mode
Set to 6 Hex to specify Protocol Macro Mode.
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...