FAQ
![](/usr/file/attachment/q&a.jpg)
![](/usr/file/attachment/q&a_sp.jpg)
FAQAbout Products
![](/usr/file/attachment/img_mv-1_sm.jpg)
- FAQ > Controllers > Programmable Controllers MELSEC > MELSEC iQ-R Series > Digit specification for bit devices in ST language with GX Works3
FAQ
Digit specification for bit devices in ST language with GX Works3
I want to create a program in ST language with GX Works3. How can I specify digits for a label of a bit device?
- Category :
Answer
For a label where digits are to be specified, set a bit type array as its data type. The following shows an example of when
a global label is used.
- Global label
- Label name: Lamp
- Data type: Bit array of 16 elements
- Device: Y100
- Program: Describe the digit specification of the bit device for a destination of the MOV instruction.
![](/usr/faq/images/DueB1F8tZxjVMu5y.bmp)
a global label is used.
- Global label
- Label name: Lamp
- Data type: Bit array of 16 elements
- Device: Y100
- Program: Describe the digit specification of the bit device for a destination of the MOV instruction.
![](/usr/faq/images/DueB1F8tZxjVMu5y.bmp)
- Product Name
- MELSEC iQ-R Series
- Series
- MELSEC iQ-R Series