Home PLC control possibilities are limited only by the - TopicsExpress



          

Home PLC control possibilities are limited only by the imagination. The following example demonstrates the control cycle counter with period regulated in the real time, and the brightness of LEDs controlled by a potentiometer connected to the input of the ADC. PLC home has ADC inputs and outputs PWM. Lets look at the instructions: > jump 256 in 7 > uint 255 value 4 > div 254 a 256 b 255 > jump 253 in 1 > jump 252 in 2 > scale 251 up 253 down 252 max 100 > uint 250 value 1 > sum 249 a 251 b 250 > cycle 248 on time from 249 off time from 249 repeat > counter 240 outputs amount 6 clk 248 > mul 7 a 240 b 254 > mul 8 a 241 b 254 > mul 13 a 242 b 254 > mul 9 a 243 b 254 > mul 11 a 244 b 254 > mul 12 a 245 b 254 Its takes 16 instructions to realize uncommon example.
Posted on: Mon, 22 Dec 2014 20:37:17 +0000

Trending Topics



Recently Viewed Topics




© 2015