DL205 User Manual, 4th Edition, Rev. B
5–342
Chapter 5: Intelligent Box (IBox) Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
CTRIO Edit Preset Table Entry and Reload (CTREDRL) (IB-1002)
CTRIO Edit Preset Table Entry and Reload, on a leading edge transition to this IBox, will
perform this dual operation to a CTRIO Output resource in one CTRIO command. This
IBox will take more than one PLC scan to execute.
Either the Success or Error bit will turn on when the
command is complete. If the Error Bit is on, you can
use the CTRIO Read Error Code (CTRRDER) IBox
to get extended error information.
Entry Type:
K0: Set
K1: Reset
K2: Pulse On (uses Pulse Time)
K3: Pulse Off (uses Pulse Time)
K4: Toggle
K5: Reset Count
Note that the Pulse Time parameter is ignored by some Entry Types.
The Workspace register is for internal use by this IBox instruction and MUST NOT be used
anywhere else in your program.
CTREDRL Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config
Ibox)
• Output#: specifies a CTRIO output to be used by the instruction
• Table#: specifies the Table number of which an Entry is to be edited
• Entry#: specifies the Entry location in the Preset Table to be edited
• Entry Type: specifies the Entry Type to add during the edit
• Pulse Time: specifies a pulse time in msecs for the Pulse On and Pulse Off Entry Types
• Preset Count: specifies an initial count value to begin at after Reset
• Workspace: specifies a V-memory location that will be used by the instruction
• Success: specifies a bit that will turn on once the instruction has successfully completed
• Error: specifies a bit that will turn on if the instruction does not complete successfully
DS5
Used
HPP
N/A
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0