Omron CJ - 12-2004 Manual page 134

Id sensor units
Table of Contents

Advertisement

Sample Programming
Write, Communications Specification: Trigger
Outline
This example shows how to write data to the memory of a Data Carrier in the communications area of R/W
Head 1.
Unit Settings Example
Item
Unit No.
55
Operating modes
Normal Mode
System Settings
Operating mode switch enabled
Write verification setting
Communications mode: Communications
distance priority
Auto Wait Time Set-
Infinite
ting
Command
Write
Communications
Trigger
specification
Rightmost → Leftmost
Read data storage
order
Read Start address
0010 (hex)
Number of bytes to
8 bytes
read
Read data storage
D1100 to D1103
destination
Data Carrier
R/W Head 1
CS-series CPU Unit memory
Bit
Bit
15
00
D1100
02
01
D1101
04
03
Write command
executed
D1102
06
05
D1103
08
07
→: Write data storage order
Setting
Data is written to the
Data Carrier that is in
the communications
area when the
Command Execution Bit
turns ON.
Communications
area
Data Carrier
Bit
Bit
Address
7
0
(hex)
0010
0
1
0011
0
2
0012
0
3
0013
0
4
0014
0
5
0015
0
6
0016
0
7
0017
0
8
Setting location
Unit's front panel unit number switches: 55
Unit's front panel communications test switch: OFF
Set in the Special I/O Unit words in DM Area.
Set in the Special I/O Unit Area.
Appendix B
115

Advertisement

Table of Contents
loading

Table of Contents