Using the less than or equal to function does depend on the controller you are using. Omron will usually use bits that are effective after an instruction is executed. An example would be the instruction Compare. After the rung is executed it will set the following SR bits: equal, greater than, less than.
Here is the CQM1H manual. https://www.fa.omron.com.cn/data_pdf/closed/mnu/w364-e1-05_cqm1h-cpu.pdf?id=27
Look up 5-19 Comparison Instructions on page 280. It will show you an example.