GE PACSystems RX7i Cpu Programmer's Reference Manual page 163

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 4. Ladder Diagram (LD) Programming
Operands for BUS_RMW
For BUS_RMW_WORD, the absolute bus address must be a multiple of 2. For BUS_RMW_DWORD, it
must be a multiple of 4.
The absolute bus address is equal to the base address plus the offset value.
Parameter Description
OP
Type of operation:
0 = AND
1 = OR
MSK
The data mask. DWORD constant or variable.
R
Rack number. UINT constant or variable.
S
Slot number. UINT constant or variable.
SS
Subslot number (optional, defaults to 0). UINT
constant or variable.
RGN
Region (defaults to 1). WORD constant or
variable.
OFF
The offset in bytes. DWORD constant or
variable.
ST
The status of the operation. WORD variable.
OV
Original value. DWORD variable.
BUS_RMW Status in the ST Output
The BUS_RMW function returns one of the following values to the ST output:
0
Operation successful.
1
Bus error
2
Module does not exist at rack/slot location.
3
Module at rack/slot location is an invalid type.
4
Start address outside the configured range.
5
End address outside the configured address range.
6
Absolute address even but interface configured as odd byte only
7
For WORD type, absolute bus address is not a multiple of 2. For DWORD type, absolute bus address is
not a multiple of 4.
8
Region not enabled
9
Function type too large for configured access type.
10
Function parameter invalid.
148
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
Allowed Operands
Constant
All except %S—%SC
All except %S—%SC
All except %S—%SC
All except %S—%SC
All except %S—%SC
All except %S—%SC
All except variables located in %S—
%SC, and constants
All except variables located in %S—
%SC, and constants
Optional
No
No
No
No
Yes
Yes
No
Yes
Yes
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents