User Tools

Site Tools

한국어

cubloc:registers:index

Registers

CB210, CB220, CB280, CB320, CB380, CB400 and CT1820

The following is a chart showing the registers for the above models.

Register Name Range Units Feature
Input/Output Register P P0 to P127 1 bit Interface w/ External devices
Internal Registers M M0 to M511 1 bit Internal Registers
Special Register F F0 to F127 1 bit System Status
Timer T T0 to T99 16 bit (1 Word) For Timers
Counter C C0 to C49 16 bit (1Word) For Counters
Step Enable S S0 to S15 256 steps (1 Byte)For Step Enabling
Data Memory D D0 to 99 16bit (1 Word) For Storing Data

P, M, and F registers are in bit units whereas T, C, and D are in word units. To access P, M, and F registers in word units, use WP, WM, and WF respectively.

Register Name Range Units Feature
WP WP0 to 7 16 bit (1 Word) Register P Word Access
WM WM0 to WM31 16 bit (1 Word) Register M Word Access
WF WF0 to WF7 16 bit (1 Word) Register F Word Access

WP0 consists of registers P0 through P15. P0 is the least significant bit of WP0 and P15 is the most significant bit. These registers are often used with commands like WMOV.

CB290, CB405, CB405RT and CT1721C

The following is a chart showing the registers for the CB290, CB405, CB405RT and CT1721C models. The these models have more M, C, T, and D registers than the CB220 and CB280.

Register Name Range Units Feature
Input/Output Register P P0 to P127 1 bit Interface w/ External devices
Internal Registers M M0 to M2047 1 bit Internal Registers
Special Register F F0 to F127 1 bit System Status
Timer T T0 to T255 16 bit (1 Word) For Timers
Counter C C0 to C255 16 bit (1 Word) For Counters
Step Enable S S0 to S15 256 steps (1 Byte) For Step Enabling
Data Memory D D0 to 511 16 bit (1 Word) For Storing Data

P, M, and F Registers are in bit units whereas T, C, and D are in word units. To access P, M, and F registers in word units, use WP, WM, and WF respectively.

Register Name Range Units Feature
WP WP0 to 7 16 bit (1 Word) Register P Word Access
WM WM0 to WM63 16 bit (1 Word) Register M Word Access
WF WF0 to WF7 16 bit (1 Word) Register F Word Access

MSB Logic Memory

If using MSB Logic, the memory map is slightly different, and a little larger.

Register Name Range Units Feature
Input Registers P P0 to P31 1 bit DC24V Input (20V~28V)
Output Registers P P32 to P63 1 bit Output (Relays)
Internal Registers M M0 to M4096 1 bit Internal Registers
Special Registers F F0 to F127 1 bit System Status
KEEP Registers K K0 to K127 1 bit For maintaining data in case of a power loss
Timer T T0 to T253 16 bit (1 Word) For Timers
Timer T T224 to T255 16 bit (1 Word) For KEEP Timers
Counter C C0 to C79 16 bit (1 Word) For Counters
Counter C C80 to C255 16 bit (1 Word) For KEEP Counters
Data Memory D D0 to 511 16 bit (1 Word) For Storing Data
System Data Memory D Y0 to 511 16 bit (1 Word) For Storing System Data

When using the KEEP registers, you must use KCTU and KCTD instead of CTU and CTD, respectively.

See also AD Input with MSB Logic.

Go CUBLOC Ladder Logic home

cubloc/registers/index.txt · Last modified: 2018/07/27 13:43 by COMFILE Technology