Example - Ladder Diagram
BASIN
The BASIN instruction calculates the arcsine, or inverse sine, of the 4-digit binary coded decimal (BCD) operand, S, and saves the result in an assigned 8-digit binary coded decimal (BCD) data register, D.
Ladder Diagram Example
When the contact, M1.1, is ON (1), the instruction executes asin(H0000) and saves the result, H00000007.
Memory Monitor
![]()
BASINP
The BASINP one-shot instruction calculates the arcsine, or inverse sine, of the 4-digit binary coded decimal (BCD) operand, S, and saves the result in an assigned 8-digit binary coded decimal (BCD) data register, D.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M1.2, is ON (1), the instruction executes asin(H0001) and saves the result, H00000326.
Memory Monitor
![]()