![background image](http://html1.mh-extra.com/html/omron/ej1-07-2008/ej1-07-2008_operation-manual_743567098.webp)
79
Ladder Programming Examples
Section 4-6
Programming Example
4-6-2
Change SP Programming
Example
The ladder programming example here is for the following execution condi-
tions.
• Using simple I/O allocation to allocate data in the fixed allocation area 1 of
a CS/CJ-series DeviceNet Unit of CS/CJ-series DeviceNet Unit (OUT
Area = CIO 3200 to CIO 3263, IN Area = CIO 3300 to CIO 3363).
Operation
• Writes the SP to the TC2 (SP = 150 hex, destination = Unit 0, ch1).
• Writes the SP to the first word + 6 words of the default allocated OUT
Area (CIO 3206).
• The SP is first set in D1000, and then transferred to CIO 3206 at the start
of the ladder program when the execution condition (CIO 000000) turns
ON. The OUT Enable Bit will then turn ON, and the SP will be refreshed.
SET
32 0200
00 0000
END(001)
0000 20
ASL(025)
0000
SET
32 0000
000001
ASL(025)
0000
3302 00
RSET
320000
000007
ASL( 025)
0000 02
0000
000003
R SET
3 20200
0 00010
00 0100
ASL(025 )
0 001
S ET
3 20000
00 0101
ASL(025 )
0 001
3 30200
RSET
3200 00
0000 17
A SL(025)
0 00102
0 001
00 0013
0 00000
END
Turns ON CIO 320200 (RUN/STOP).
RUN/STOP Confirmation Flag
RUN/STOP Confirmation Flag
Turns ON CIO 320000 (Output Enable Bit)
Turns OFF CIO 320000 (Output Enable Bit).
Turns OFF CIO 320200 (RUN/STOP).
Turns ON CIO 320000 (Output Enable Bit).
Turns OFF CIO 320000 (Output Enable Bit).
Execution
condition
Execution
condition
Shifts the contents of CIO 0000 one
bit to the left. (CIO 000001 ON)
Shifts the contents of CIO 0000 one
bit to the left. (CIO 000002 ON)
Shifts the contents of CIO 0000 one
bit to the left. (CIO 000003 ON)
Shifts the contents of CIO 0001 one
bit to the left. (CIO 000101 ON)
Shifts the contents of CIO 0001 one
bit to the left. (CIO 000102 ON)
Shifts the contents of CIO 0001 one
bit to the left. (CIO 000103 ON)
Summary of Contents for EJ1 - 07-2008
Page 3: ...iv...
Page 19: ...xx...
Page 33: ...14 Initial Temperature Controller Settings Section 1 4...
Page 53: ...34 Wiring the Temperature Controllers Section 3 4...
Page 101: ...82 Ladder Programming Examples Section 4 6...
Page 143: ...124 Sending Explicit Messages Section 6 5...
Page 155: ...136 Message Communications Characteristics Section 7 2...
Page 163: ...144 Maintenance Section 8 2...
Page 189: ...170 Allocation Numbers for Configurators Manufactured by Other Companies Appendix B...
Page 197: ...178 Index...