WilWil67
Member
Using a Counter to SHIFT patterns??
Goody,
I have recently done a project that required the starting of Chiller System units in random order (with each unit operating independently and each being assigned a specific number). I used an AB Compute instruction to create a truth table (I suggest you use the dye cycle events as the conditions). I then created an equation that would generate a different output each time ------------------------------>
[{A*(-B)}+{(B^2)*(-1)}]*C^2
In this way you can create two truth tables of fairly small size and have different outputs depending on operator inputs. You can change the math to fit your process or just associate the output to different dye lenghts. You can associated the value of the output with an integer address using an EQU instruction. You can then use MOV instructions to to manipulate the data. I am attaching my original excel sheet with example.
Goody,
I have recently done a project that required the starting of Chiller System units in random order (with each unit operating independently and each being assigned a specific number). I used an AB Compute instruction to create a truth table (I suggest you use the dye cycle events as the conditions). I then created an equation that would generate a different output each time ------------------------------>
[{A*(-B)}+{(B^2)*(-1)}]*C^2
In this way you can create two truth tables of fairly small size and have different outputs depending on operator inputs. You can change the math to fit your process or just associate the output to different dye lenghts. You can associated the value of the output with an integer address using an EQU instruction. You can then use MOV instructions to to manipulate the data. I am attaching my original excel sheet with example.