Chapter 3 Standard Instructions Graphic expression: S : String which is cleared 3_ Explanation: The string in S is cleared. b15 b0 b7 b8 S S 0000 16# +1 S +2 S +1 S +2 S 0000 16# 0000 16# +3 S +3 S 0000 16# +4 S +5 S 0000 16# 0000 16# After the instruction is executed +4 S +5 S Example: The string in D0 is cleared, as illustrated below. D0 b15 b0 b7 b8 0000 16# D0 D2 D1 0000 16# 0000 16# D2 D1 D3 After the instruction is executed 0000 16# D3 Additional remark: If the string in S does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
3-549 FB/FC Instruction Operand Description FC $CLR P S Clearing the string BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S Device X Y M S T C HC/AC D L SM SR E PR K 16# “$” D F S Pulse instruction 16-bit instruction 32-bit instruction AH Motion CPU AH Motion CPU - 16#31(1) 16#2D(-) 16#33(3) 16#32(2) 16#34(4) 16#35(5) 16#36(6) 16#2E(.) 16#38(8) 16#37(7) 16#00 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#36(6) 16#35(5) 16#00 16#37(7)