Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 43

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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
Bit number
The following data types of labels support bit specification.
Item
Data types of labels which support bit specification.
*1 Cannot be specified in ladder programs.
L_INT[1].0
or
Label name
Bit specification
Bit number
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)
L_STRUCT[1].S_INT.0
or
Structure label name
Label name
*1
Bit specification
Bit number
*1
*1
1 OVERVIEW
1.2 Data Specification Method
1
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents