Logical Operations; Shift And Rotate; Clock And Calendar - Siemens SIMATIC S7-200 Manual

Software conversion tool
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 LAD instruction conversion

4.10 Logical operations

4.10
Logical operations
Table 4- 10
Logical operations conversion
S7-200 instruction
INV_B, INV_W, INV_DW
WAND_B, WAND_W, WAND_DW
WOR_B, WOR_W, WOR_DW
WXOR_B, WXOR_W, WXOR_DW
4.11

Shift and Rotate

Table 4- 11
Shift and Rotate conversion
S7-200 instruction
SHL_B, SHL_W, SHL_DW
SHR_B, SHR_W, SHR_DW
ROL_B, ROL_W, ROL_DW
ROR_B, ROR_W, ROR_DW
SHRB Shift Register Bit
4.12

Clock and Calendar

Table 4- 12
Clock and Calendar conversion
S7-200 instruction
READ_RTC Read Real-Time Clock
SET_RTC Set Real-Time Clock
READ_RTCX Read Real-Time Clock Extended
SET_RTCX Set Real-Time Clock Extended
28
Converted?
S7-1200 instruction
Yes
INV Invert
Yes
AND
Yes
OR
Yes
XOR Exclusive OR
Converted?
S7-1200 instruction
Yes
SHL Shift Left
Yes
SHR Shift Right
Yes
ROL Rotate Left
Yes
ROR Rotate Right
No
Converted?
S7-1200 instruction
Yes
RD_SYS_T You must supply new data addresses.
Yes
WR_SYS_T You must supply new data addresses.
No
Time zone and daylight savings offsets are set by
the S7-1200 CPU Device configuration. You can
No
read the local time with the RD_LOC_T instruction.
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Manual, 1/2010

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents