RMC150 Registers, File 47: Discrete I/O
All Discrete I/O registers are Read/Write. Each output or input is one bit. The inputs or outputs start at bit 0 in each register.
Tip:
For the DF1/CSP addressing format, all 'F' type registers (32-bit floating
point) can also be read as 'L' type (32-bit word) registers. This is very
useful when reading registers with DWORD or DINT external data types.
n = RMC slot (0-5)
b= 2 xn
AB |
Address |
External |
Internal IEC |
Internal |
Tag Name |
Register Name |
|
F47:0+n |
24065 + b |
D24064 + b |
DWORD |
%MD47.0+n |
DWORD |
_DIO.OutState[n] |
Outputs for Slot n |
F47:6+n |
24077 + b |
D24076 + b |
DWORD |
%MD47.6+n |
DWORD |
_DIO.InState[n] |
Inputs for Slot n |
F47:12+n |
24089 + b |
D24088 + b |
DWORD |
%MD47.12+n |
DWORD |
_DIO.OffInProgram[n] |
Output to Off in PROGRAM mode for slot n |
F47:18+n |
24101 + b |
D24100 + b |
DWORD |
%MD47.18+n |
DWORD |
_DIO.OnInProgram[n] |
Output to On in PROGRAM mode for slot n |
F47:24+n |
24113 + b |
D24112 + b |
DWORD |
%MD47.24+n |
DWORD |
_DIO.OffInFault[n] |
Output to Off in FAULT mode for Slot n |
F47:30+n |
24125 + b |
D24124 + b |
DWORD |
%MD47.30+n |
DWORD |
_DIO.OnInFault[n] |
Output to On in FAULT mode for Slot n |
F47:36+n |
24137 + b |
D24136 + b |
DWORD |
%MD47.36+n |
DWORD |
_DIO.OutForcedOFF[n] |
Force Off for Outputs in Slots n |
F47:42+n |
24149 + b |
D24148 + b |
DWORD |
%MD47.42+n |
DWORD |
_DIO.OutForcedON[n] |
Force On for Outputs in Slots n |
F47:48+n |
24161 + b |
D24160 + b |
DWORD |
%MD47.48+n |
DWORD |
_DIO.InForcedOFF[n] |
Force Off for Inputs in Slots n |
F47:54+n |
24173 + b |
D24172 + b |
DWORD |
%MD47.54+n |
DWORD |
_DIO.InForcedON[n] |
Force On for Inputs in Slots n |
F47:60+n |
24195 + b |
D24184 + b |
DWORD |
%MD47.60+n |
DWORD |
_DIO.Type[n] |
Type for configurable I/O in Slots n |
%IX and %QX Addressing
In RMCTools, the discrete I/O addresses are shown in the IEC 61131-3 format:
Inputs = %IXslot.n
Outputs = %QXslot.n
where
slot = numbering of slot starting with 0 for the left-most module in the RMC150.
n = the number of the input or output on that module, starting with zero
Examples:
%QX0.5 is output 5 in slot 0
%IX5.0 is input 0 in slot 5
See Also
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion