0% found this document useful (0 votes)
103 views

Step 7 Elementary Data Types - PLCdev

Uploaded by

calvinytkuh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views

Step 7 Elementary Data Types - PLCdev

Uploaded by

calvinytkuh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

7/10/23, 2:54 PM Step 7 Elementary Data Types | PLCdev

Tools for PLC programming

Recent Posts
Home Tutorial Directory Glossary Recent Posts Contrib

Resources
GE Automation Step 7 Elementary Data Types
Allen-Bradley
Siemens
PDF Electric & Supply
Do Supply Company Type and Size Format Options Range and Number Notation Example in STL
Distcache Description in (lowest to highest values)
Networking Hardware
Bits

PLC Programming BOOL (Bit) 1 Boolean text TRUE/FALSE TRUE


Handbooks
Allen Bradley BYTE (Byte) 8 Hexadecimal number B#16#0 to B#16#FF L B#16#10
Siemens L byte#16#10
Modicon
WORD (Word) 16 Binary number 2#0 to L 2#0001_0000_0000_0000
Popular Articles 2#1111_1111_1111_1111
PLC Timeline
Hexadecimal number W#16#0 to W#16#FFFF L W#16#1000
Rockwell Automation's
L word#16#1000
Retroincabulator!
PLC Basics BCD C#0 to C#999 L C#998
PLC Simulators
Cheap PLCs Decimal number B#(0,0) to B#(255,255) L B#(10,20)
unsigned L byte#(10,20)
Navigation
DWORD (Double 32 Binary number 2#0 to L 2#1000_0001_0001_1000_
Book reviews
word) 2#1111_1111_1111_1111_ 1011_1011_0111_1111
Online books
www.plcdev.com/step_7_elementary_data_types 1/3
7/10/23, 2:54 PM Step 7 Elementary Data Types | PLCdev

Recent posts 1111_1111_1111_1111


About
Hexadecimal number W#16#0000_0000 to L DW#16#00A2_1234
W#16#FFFF_FFFF L dword#16#00A2_1234
RSS
Feed Me! Firefox and Decimal number B#(0,0,0,0) to B# L B#(1, 14, 100, 120)
Thunderbird make it easy to unsigned (255,255,255,255) L byte#(1,14,100,120)
keep up on the latest articles
INT (Integer) 16 Decimal number -32768 to 32767 L 101
from PLCdev
signed

User login DINT (Double 32 Decimal number L#-2147483648 to L L#101


Username: * integer) signed L#2147483647

REAL (Floating- 32 IEEE Floating-point Upper limit +/-3.402823e+38 L 1.234567e+13


Password: * point number) number Lower limit +/-1.175495e-38

S5TIME (SIMATIC 16 S7 time in steps of S5T#0H_0M_0S_10MS to L S5T#0H_1M_0S_0MS


Log in
time) 10ms (default) S5T#2H_46M_30S_0MS and L
Create new account
S5T#0H_0M_0S_0MS S5TIME#0H_1H_1M_0S_0MS
Request new password
TIME (IEC time) 32 IEC time in steps of T#24D_20H_31M_23S_648MS L T#0D_1H_1M_0S_0MS
1 ms, integer signed to L TIME#0D_1H_1M_0S_0MS
T#24D_20H_31M_23S_647MS

DATE (IEC date) 16 IEC date in steps of D#1990-1-1 to L D#1996-3-15


1 day D#2168-12-31 L DATE#1996-3-15

TIME _OF_DAY 32 Time in steps of 1 TOD#0:0:0.0 to L TOD#1:10:3.3


(Time) ms TOD#23:59:59.999 L TIME_OF_DAY#1:10:3.3

CHAR (Character) 8 ASCII characters A', 'B' etc. L 'E'

S5TIME NOTES

Underscores in time and date are optional


It is not required to specify all time units (for example: T#5h10s is valid)
Maximum time value = 9,990 seconds or 2H_46M_30S

www.plcdev.com/step_7_elementary_data_types 2/3
7/10/23, 2:54 PM Step 7 Elementary Data Types | PLCdev

S5TIME Format

Time base Binary Code

10 ms 00

100 ms 01

1s 10

10 s 11

‹ Siemens Technical Terms up Symbol Table Allowed Addresses and Data


Types ›

Printer-friendly version
( categories: Siemens )

Home » Siemens SIMATIC Step 7 Programmer's Handbook

Terms of Use | Privacy Policy | About PLCdev | Contact Us | Write for us


Copyright © 2005-2023 plcdev.com

www.plcdev.com/step_7_elementary_data_types 3/3

You might also like