![background image](http://html1.mh-extra.com/html/omron/ej1-07-2008/ej1-07-2008_operation-manual_743567099.webp)
80
Ladder Programming Examples
Section 4-6
Programming Example
4-6-3
Change MV Upper Limit/Lower Limit Programming Example
The ladder programming example here is for the following execution condi-
tions.
• Using the Configurator to allocate I/O in the fixed allocation area 1 of a
CS/CJ-series DeviceNet Unit (OUT Area = CIO 3200 to CIO 3263, IN
Area = CIO 3300 to CIO 3363).
Operation
• This programming example writes the MV upper limit/lower limit to the
TC2 (Unit 0, ch1) (upper limit: 50 hex, lower limit 20 hex).
• MV upper limit/lower limit cannot be used with simple I/O allocations, so
the Configurator is used to allocate memory. In this programming exam-
ple, the MV upper limit is allocated in CIO 3218, the MV lower limit in CIO
3219, and the Output Completed Flags in CIO 3300.
• The MV upper limit is set in D1000 and the MV lower limit is set in D1001
at the start of the ladder program, and then they are transferred to CIO
3218 and CIO 3219 when the execution condition, CIO 000000, turns ON.
Next, the upper and lower limits are refreshed when the OUT Enable Bit
turns ON. If the data is transferred normally, the Output Completed Flags
turn ON, and then OUT Enable Bit turns OFF.
Sets 0150 in D1000.
Moves D1000 (0150) to CIO 3206.
(Transfers to channel in which SP
is allocated.)
Shifts the contents of CIO 0000 one
bit to the left. (CIO 000001 ON)
Turns ON the OUT Enable Bit (CIO 320000).
Shifts the contents of CIO 0000 one
bit to the right. (CIO 000002 ON)
MOV(021)
0150
D1000
A20011
000000
000000
ASL(025)
0000
000001
END(001)
000002
000005
000008
END
MOV(021)
D1000
3206
SET
320000
ASL(025)
0000
First Scan Flag
Execution
condition
Содержание 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...