DL06 Micro PLC User Manual, 3rd Edition, Rev. E
5-359
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
CTRIO Read Error (CTRRDER) (IB-1014)
CTRIO Read Error Code will get the decimal error code value from the CTRIO module (listed
below) and place it into the given Error Code register, on a leading edge transition to the IBox
Error Codes:
0: No Error
100: Specified command code is unknown or unsupported
101: File number not found in the file system
102: File type is incorrect for specified output function
103: Profile type is unknown
104: Specified input is not configured as a limit on this output
105: Specified limit input edge is out of range
106: Specified input function is unconfigured or invalid
107: Specified input function number is out of range
108: Specified preset function is invalid
109: Preset table is full
110: Specified Table entry is out of range
111: Specified register number is out of range
112: Specified register is an unconfigured input or output
2001: Error reading Error Code - cannot access CTRIO via ERM
CTRRDER Parameters
• CTRIO#: specifies a specific CTRIO module based on a user defined number (see CTRIO Config)
• Workspace: specifies a V-memory location that will be used by the instruction
• Error Code: specifies the location where the Error Code will be written
DS
Used
HPP
N/A
Parameter
DL06 Range
CTRIO#
K
K0-255
Workspace
V
See DL06 V-memory map - Data Words
Error Code
V
See DL06 V-memory map - Data Words
Since the Error Code in the CTRIO is only
maintained until another CTRIO command is
given, you must use this instruction immediately
after the CTRIO IBox that reports an error via its
Error bit parameter.
The Workspace register is for internal use by
this IBox instruction and MUST NOT be used
anywhere else in your program.