7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
803
7
Calculating the arc cosine of BCD data
BACOS(P)
These instructions calculate the arc cosine of the angle specified by a BCD value.
■Execution condition
■Descriptions, ranges, and data types
■Applicable devices
Ladder ST
ENO:=BACOS(EN,s,d);
ENO:=BACOSP(EN,s,d);
FBD/LD
Instruction Execution condition
BACOS
BACOSP
Operand Description Range Data type Data type (label)
(s) Start device containing the data used for arc cosine
calculation
0 to 9999 BCD 4-digit ANY16_ARRAY
(Number of elements: 3)
(d) Device for storing the operation result BCD 4-digit ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)