Bit Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Bit data

Data size and data range
Bit data is handled in increments of bits such as contacts and coils.
Data name
Bit data
Handling bit data with bit devices and labels
One point of bit device/label can handle 1-bit data.
Handling bit data with bit word devices
By specifying a bit number for a word device, bit data of the specified bit number can be handled.
A bit in a word device can be specified by "Word device number.Bit number".
A bit number can be specified in hexadecimal in the range from 0 to F.
For example, bit 5 (b5) of G0 is specified as G0.5, and bit 10 (b10) of G0 is specified as G0.A.
The following word devices support bit specification.
Item
Word devices which support bit specification
Handling bit data with word type labels
By specifying a bit number for a word type label, bit data of the specified bit number can be handled.
A bit in a word type label can be specified by "Label name.Bit number".
Ex.
L_INT.0
Label name
Bit specification
The following data types of labels support bit specification.
Item
Data types of labels which support bit specification.
1 OVERVIEW
20
1.2 Data Specification Method
Data size
1 bit
L_INT[1].0
or
Bit number
Label name
Bit specification
Value range
0, 1
Device
• Buffer memory access device (G)
• Remote register of link device (RWw, RWr)
• Link register of link device (LW)
• Link special register (SW)
L_STRUCT[1].S_INT.0
or
Bit number
Structure label name
Data type
• Word [signed] (INT type)
• Word [unsigned]/bit string [16 bits] (WORD type)
• Current value (N) of timer (TIMER type)
• Current value (N) of retentive timer (RETENTIVETIMER type)
• Current value (N) of counter (COUNTER type)
Label name
Bit specification
Bit number

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents