Change Sp Sample Programming; Change Mv Upper Limit/Lower Limit Sample Programming - Omron E5ZN-DRT Operation Manual

Devicenet communications unit for e5zn temperature controllers
Hide thumbs Also See for E5ZN-DRT:
Table of Contents

Advertisement

Ladder Programming Examples
4-5-2

Change SP Sample Programming

Operation
Programming Example
4-5-3

Change MV Upper Limit/Lower Limit Sample Programming

Operation
66
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).
• Writes the SP to the E5ZN Temperature Controller (SP = 150 hex, desti-
nation = 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. After corresponding Output Enable Bits turn ON,
and the SP is refreshed, the corresponding bits that were ON are turned
OFF (to prevent overwriting of SPs that are being used for other opera-
tions).
A20011
000000
First Scan
Flag ON
0000 00
000002
Execution
condition
000001
0000 05
Execution
condition
000008
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).
• Writes the MV upper limit/lower limit to the E5ZN Temperature Controller
(write destination = unit 0, ch1, write contents = upper limit: 50 hex, lower
limit 20 hex)
• MV upper limit/lower limit cannot be used with simple I/O allocation, so
the Configurator is used to allocate the settings. In this sample program,
the MV upper limit is allocated in CIO 3218, the MV lower limit in CIO
3219, the setting area 0/1 for Units 0 to 7 in CIO 3220, the MV upper limit
monitor in CIO 3326, and the MV lower limit monitor in CIO 3327.
• The MV upper limit is first set in D1000 and the MV lower limit in D1001.
The values are then transferred to CIO 3218 and CIO 3219 at the start of
the ladder program. The corresponding Setting Area 0/1 Bit and Output
Sets 0150 in D1000.
MO V(021)
# 0150
D1000
Moves D1000 (0150) to CIO 3206.
MOV(02 1)
(Transfers to channel in which SP
D1000
is allocated.)
3206
Shifts the contents of CIO 0000 one
ASL(02 5)
bit to the left. (CIO 000001 ON)
0000
320000
Turns ON the Output Enable Bit.
Output Enable Bit
Shifts the contents of CIO 0000 one
ASR(026)
bit to the right. (CIO 000002 ON)
0001
END(001)
END
Section 4-5

Advertisement

Table of Contents
loading

Table of Contents