Automationdirect.com DirectLOGIC DL205 Series User Manual page 555

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
CTRIO Edit Preset Table Entry (CTREDPT) (IB-1003)
1
CTRIO Edit Preset Table Entry, on a leading edge transition to this IBox, will edit a single
entry in a Preset Table on a specific CTRIO Output resource. This IBox is good if you are
editing more than one entry in a file at a time.
230
2
If you wish to do just one edit and then reload
240
the table immediately, see the CTRIO Edit
250-1
3
and Reload Preset Table Entry (CTREDRL)
260
IBox.
4
This IBox will take more than one PLC scan to
DS5
Used
execute. Either the Success or Error bit will
HPP
N/A
turn on when the command is complete. If the
5
Error Bit is on, you can use the CTRIO Read
Error Code (CTRRDER) IBox to get extended
6
error information.
Entry Type:
7
K0: Set
K1: Reset
8
K2: Pulse On (uses Pulse Time)
K3: Pulse Off (uses Pulse Time)
9
K4: Toggle
K5: Reset Count
10
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
11
anywhere else in your program.
12
CTREDPT Parameters
13
• 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
14
• 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
A
• 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
B
• 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
C
• 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
D
5–338
DL205 User Manual, 4th Edition, Rev. B

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF