FAQ
FAQAbout Products
- FAQ > Controllers > Programmable Controllers MELSEC > MELSEC-F Series > Turning on/off a specified bit of a word device (D) using a simple program
FAQ
Turning on/off a specified bit of a word device (D) using a simple program
In the FX programmable controllers, is it possible to turn on/off a specified bit of a word device (D only) using a simple program?
Answer
In the FX programmable controllers (FX3U/FX3UC series), a bit in a word device can be specified in a program. It can be specified as "word device (D only) + decimal point + bit position (0 to F)".
An index modifier (Z and V) cannot be used for device numbers (example: D10Z0.5) and bit position numbers (example: D10.5Z0).
Example of instruction input
A program that turns on/off b5 (6th bit) of D10
Condition of turning on/off the device
An index modifier (Z and V) cannot be used for device numbers (example: D10Z0.5) and bit position numbers (example: D10.5Z0).
Example of instruction input
A program that turns on/off b5 (6th bit) of D10
Condition of turning on/off the device
|---| |--------------------(D10.5)
- Product Name
- MELSEC-F Series
- Product Category
- FX3U,FX3UC
- Series
- Main Unit, Engineering Software, GX Works2, GX Developer