![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)
Содержание EJ1 - 07-2008
Страница 1: ...DeviceNet Communications Unit for EJ1 Temperature Controllers Cat No H155 E1 02 OPERATION MANUAL...
Страница 2: ...DeviceNet Communications Unit for EJ1 Temperature Controllers Operation Manual Revised July 2008...
Страница 3: ...iv...
Страница 19: ...xx...
Страница 33: ...14 Initial Temperature Controller Settings Section 1 4...
Страница 53: ...34 Wiring the Temperature Controllers Section 3 4...
Страница 101: ...82 Ladder Programming Examples Section 4 6...
Страница 143: ...124 Sending Explicit Messages Section 6 5...
Страница 155: ...136 Message Communications Characteristics Section 7 2...
Страница 163: ...144 Maintenance Section 8 2...
Страница 189: ...170 Allocation Numbers for Configurators Manufactured by Other Companies Appendix B...
Страница 197: ...178 Index...