DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-344
Chapter 5: Standard RLL 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 1 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
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 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
DS
Used
HPP
N/A
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.