Professional Documents
Culture Documents
Quikref s5 Analog and Special Modules
Quikref s5 Analog and Special Modules
Copyright 1998 by Siemens Energy & Automation, Inc. All Rights Reserved Printed in USA
Reproduction, transmission, or use of this document or contents is not permitted without express consent of Siemens Energy & Automation, Inc. All rights, including rights created by patent grant or registration of a utility model or design, are reserved. Since Siemens Energy & Automation, Inc., does not possess full access to data concerning all of the uses and applications of customers products, we do not assume responsibility either for customer product design or for any infringements of patents or rights of others which may result from our assistance.
I/O Type
AO AI AI AO WI WO DI DO DI DO WI, WO WI, WO WI, WO WI, WO WI, WO, DO WI, WO DO WI, WO RT WI, WO TC WI, WO DI, DO DI, DO DI, DO DI, DO DI, DO, WI, WO
Description
2-Channel Analog Output 4-Channel Analog Input 8-Channel Analog Input 8-Channel Analog Output Parallel Word Input Parallel Word Output 8-Channel Discrete Input 8-Channel Discrete Output 32-Channel Discrete Input 32-Channel Discrete Output ASCII Message Output Programmable BASIC Dual Communications Port MS-DOS Computer High-Speed Pulse Input High-Speed PID Controller Network Interface/TIWAYt Peerlinkt RTD Servo Axis Thermocouple Injection Machine Control 110 VAC Redundant Output 110 VAC Rapid Response 120 VDC Rapid Response 24 VDC Rapid Response User-defined Module
I/O Type
AO AO AI, AO AI, AO AI, AO AI, AO AI AO WI WO DI DO WO DI, DO, WI, WO AI DI DO WI WO DI DO WI, WO WI, WO WI, WO WI, WO WI, WO WI, WO DI, DO DO WI, WO WI, WO RT RT DI, DO WI, WO DI, DO, WO WI, WO DI, DO, WO TC WI, WO DI, DO, WI, WO
Description
2-Channel Analog Output 4-Channel Analog Output 20-Channel Analog In/4 Ch Analog Out 4-Channel Analog In/4 Ch Analog Out 6-Channel Analog In/2 Ch Analog Out 8-Channel Analog In/4 Ch Analog Out 8-Channel Analog Input 8-Channel Analog Output Parallel Word Input Parallel Word Output 8-Channel Discrete Input 8-Channel Discrete Output Parallel Word Output Special Function 16-Channel Advanced Function 16-Channel Analog Input 16-Channel Discrete Input 16-Channel Discrete Outut Parallel Word Input Parallel Word Output 32-Channel Discrete Input 32-Channel Discrete Output 80386 Computer with Hard Disk or Diskette Drive Programmable BASIC Ethernet TCP/IP Adapter SINECr H1 Network Communications Processor High-Speed Counter High-Speed Counter Encoder Isolated Discrete Interrupt Module Network Interface/TIWAY Peerlink Program Port Expander RTD RTD Self-contained block of I/O Field Interface; controls SIMOREGr DC Drive Field Interface; controls SIMOREG DC Drive in broadcast mode Field Interface; controls SIMOVERTr AC Drive Field Interface; controls SIMOVERT AC Drive in broadcast mode Thermocouple Injection Machine Control User-defined Module
16DI 16DO 16WI 16WO 32DI 32DO ATM BASIC ENET H1 HSC HSCE INTRP NIM PLINK PPEXP 8RTD 16RTD SLICE SREG SREGB SVRT SVRTB TC TURBO USER
Code
AI
Analog g Output
AO
Discrete Input
DI
Discrete Output
DO
BCD Input
BI
BCD Output
BO
Word Input
WI
WO
PW 0 to 254 OW 0 to 254
I/O Extensions *
I/O Type
AI BI BO TC** RT**
Read-only Boolean
Read-only Integer
.RAW RAW .RAW .OUT .RAW RAW RAW .RAW
Read-only Real
I/O name .SRV I/O name I/O name I/O name .SRV I/O name .SRV
Read/Write Integer
Read/Write Real
.FTAU FTAU
* AO, DI, DO, WI, and WO do not have any extensions. ** The TC and RT I/O types are supported for Series 505 controllers only only. Resistance Temperature Detector and Thermocouple inputs for
S5 are configured as AIs.
Extension
.IMIN .ISEC .IYEAR .IMONTH .IDAY .IDOW .DIS_SF2 .IID1* .IID2* .BCH_REQ .BCH_REQ_RESP .BCH_REQ_INFO .DIS_SF1 .DIS_SF2 .ENABL .ABORT
Code
I R B F T SI CT FT ST
Range of Values
32768 to +32767 9.223372 E18 to +9.223372 E18 for Series 505; 1.701412 E38 to +1.701412 E38 for S5 0 and 1 0 and 1 Any printable character 32768 to +32767 0 to 32767 counts 0 to 32767 counts 0 to 32767 counts
Comments
Counts in milliseconds (0.001 seconds); however, accuracy is 0.01 seconds for S5 controllers Counts in tenths of seconds (0.1 seconds)
Array Declarations
Type
Integer Array Real Array Boolean Array DI10 Array DO10 Array Sequence Array Shift Register Text Array
Code
IA RA BA IX DX SA SR TA
* Valid only with integers named in the Declaration Table. Cannot be used in user subroutines. Flag Commands
LATCH ON CLEAR
Extension
Extension Type
Read-only Boolean Read-only Integer
Extension
Extension Type
Read/Write Integer Read/Write Boolean Read/Write Boolean Read/Write Boolean Read/Write Boolean
Extension
Extension Type
Read-only Boolean Read-only Integer Read/Write Integer Read/Write Boolean Read/Write Boolean
Extension
Extension Type
Read-only Boolean Read-only Integer Read/Write Boolean Read/Write Integer
Safe-State Commands
Syntax
SSENTRY label; SSRETURN label; SSDEFINE LEVEL level; SSDEFINE LEVEL level RETENTIVE; SSDEFINE LOCAL TO sfc_name; SSTRIGGER identifier; SSARM sfc_name; SSDISARM sfc_name; SSABORT; SSDEFINE LOCAL TO sfc_name RETENTIVE;
Extension
Extension Type
Read/Write Boolean Read/Write Boolean Read/Write Boolean Read/Write Real Read/Write Integer Read/Write Boolean
Code
Failed State
Flag
.RTL .RTU .RTR .RFWRD .RREV .RHIGH .RLOW .RTS .RSTOP .RESET MSS MSN MSS MDN MSN MSN MSN MSS MSS MSS MDN MDN MDN
Motor Types
MDS MDS MDS RM1/2 RM1/2 TS1/2 TS1/2 MDS RM1/2 MDS RM1/2 TS1/2 TS1/2 MUD MUD RM1/2 RM1/2 TS1/2 TS1/2 MUD MUD MUD
Valve Commands
Command
LOCK UNLOCK OPEN OPENL OPENH OPENA OPENB CLOSE RESET
Flag
.RTL .RTU .RTO .RLOW .RHIGH .RTOA .RTOB .RTC .RESET VSN VSS VSS VSD VSD VSN VSN VSN VSS VSS VSS VSD VSD VSD
Valve Types
VDD VDD VDD VMD VMD VMD BV1/2 BV1/2 BV1/2 BV1/2 VUD VUD VUD VUD VUD VUD VUD VDD VDD VMD VMD BV1/2 BV1/2 VUD VUD
Cylinder Commands
Command
LOCK UNLOCK RESET EXTEND RETRACT
Flag
.RTL .RTU .RESET .RTE .RTR CSD CSD CSD CSD CSD
Cylinder Types
CUD CUD CUD CUD CUD
Press Commands
Command
LOCK UNLOCK RAISE RAISEL RAISEH RAISEA RAISEB LOWER RESET
Flag
.RTL .RTU .RTO .RLOW .RHIGH .RTOA .RTOB .RTC .RESET PSN PSS PSS PSD PSD PSN PSN PSN PSS PSS PSS PSD PSD PSD
Press Types
PDD PDD PDD PMD PMD PMD PS1/2 PS1/2 PS1/2 PS1/2 PUD PUD PUD PUD PUD PUD PUD PDD PDD PMD PMD PS1/2 PS1/2 PUD PUD
Motor Types
MDS MDS MDS RM1 RM1 TS1 TS1 TS2 MUD MUD MUD
Valve Types
VSD VDD VDD VMD VMD BV1 BV1 BV2 BV2 VUD VUD VUD VUD VUD VUD VUD VUD VUD VUD VUD VUD
Boolean Extensions
.CMMD .EXTC .RETC .TRVL CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD CSD .EXTENDED .RETRACTED .ELS .RLS .FAILD .FTE .FTR .DSBLD .LOCKD CSD
Cylinder Types
CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD CUD
Timer/Counter (read/write)
Flag
.RSTART .RSTOP .RHOLD .RESET .RCONT
10
Press Types
PSD PDD PDD PMD PMD PS1 PS1 PS2 PS2 PUD PUD PUD PUD PUD PUD PUD
11
CFB Commands
Command Flag
Analog Alarm Anti-Reset Windup/C Anti-Reset Windup/S ENABLE (ENA) DISABLE (DIS) .REN .RDIS Average Selector Correlated Lookup Dead Time Delay Derivative 1st Order Lag AUTO MANUAL (MAN) CASCADE (CAS) AUTO MANUAL (MAN) CASCADE (CAS) ENABLE (ENA) DISABLE (DIS) ENABLE (ENA) DISABLE (DIS) SWITCH .RATO .RMAN .RCAS .RATO .RMAN .RCAS .REN .RDIS .REN .RDIS Dead Time Compensator Feedforward Setpoint Adjust I Loop Dual Mode Feedforward Output Adjust j
Blocks
First Order Lead Lag High Selector Integrator Low Selector Math Median Selector Motor Position Output Limiter On/Off P Loop PD Loop Proportional Time Control Rate Limiter Scale 2nd Order Lag 2nd Order Lead Lag Split Range Threshold Selector Valve Sequencer PI Loop PID Loop Ratio Station
12
Extensions
.INYDA .SMODE .INODA .VFLAG .INRCA .IERR* .INBTA* .OVRUN
Read-only Boolean Read-only Integer Read-only Real PID Read/Write Boolean Read/Write Integer Read/Write Real
Read-only Boolean Read-only Integer Read-only Real On/Off Read/Write Boolean Read/Write Integer Read/Write Real * Series 505 controllers only
Extensions
13
Extensions
.SERR .INBTA* .SNUM* .DMOUT .GCASC .IMN* .LMN .KC .YDA .DTIME .SERR .INBTA* .SNUM* .INHHA .OVRUN .SMODE .SPV .RMAN .AWS .HLIM .TI .RCA .BIAS .INHHA .OVRUN .SMODE .RATO .CFL .LLIM .TD .SP .INHA .VFLAG .RCAS .CFH .RSP .HHA .SPH .INLA .IERR* .IBIAS* .ST .HA .SPL .INLLA .INHA .VFLAG .INLA .IERR* .INLLA
Read-only Boolean Read-only Integer Read-only Real Read/Write Boolean Dual Mode Read/Write Integer
Read/Write Real
Read-only Boolean Read-only Integer Read-only Real Feedforward Output Adj st Adjust Read/Write Boolean Read/Write Integer
Read/Write Real
Read-only Boolean Read-only Integer Read-only Real Feedforward Setpoint Adj st Adjust Read/Write Boolean Read/Write Integer Read/Write Real
Read-only Boolean Read-only Integer Read-only Real Read/Write Boolean Ratio Station Read/Write Integer
14
Extensions
15
Extensions
.IN30K .IID* .SNUM* .STAT .ISTATUS
16
Extensions
Extension Type
Read-only Integer Read-only Real Read/Write Integer Read/Write Real Read-only Integer Read-only Real Read/Write Integer Read/Write Real Read-only Boolean Read-only Integer Read-only Real .IOUT .OUT .IIN .IN .IOUT .OUT .IIN1 .IN1 .ENABLD .IOUTE .OUTE .ENABL .IINA .INA .IIN2 .IN2 .DOUTE .IOUTF .OUTF .NRDY .IINB .INB .DOUTF .IOUTG .OUTG .REN .IINC .INC
Extensions
Math Block
17
Extension Type
Read-only Integer Read/Write Boolean Read/Write Real Read-only Integer Read/Write Boolean Read/Write Real Read-only Boolean Read-only Integer Read-only Real Read/Write Boolean Read/Write Integer Read/Write Real Read-only Boolean Read-only Integer Read-only Real .ECODE* .ENABL .IN .ECODE* .ENABL .IN .ENABLD .IOUT .OUT .ENABL .IIN .IN .ENABLD .IOUT .OUT .ENABL .IIN .IN .HRIN .LRIN .NRDY .REN .ECODE* .IID* .NRDY .REN .ECODE* .IID* .IID* .NRDY .HLIM .IID* .NRDY .SNUM* .REN .LLIM .SNUM* .REN
Extensions
.RDIS
Anti-Reset Windup/Select
.RDIS
.SNUM* .RDIS
.POS
Scale
18
Format of Procedure
FRS(Boolean expression, Boolean variable); RLL RLL RLL
Code Type
STL STL STL STL STL STL STL STL STL STL STL STL STL STL STL STL STL STL
RLL/SFPGM RLL SFPGM RLL RLL RLL RLL/SFPGM RLL/SFPGM RLL RLL/SFPGM RLL/SFPGM RLL RLL SFPGM SFPGM SFPGM RLL RLL/SFPGM SFPGM RLL/SFPGM SFPGM SFPGM SFPGM SFPGM SFPGM SFPGM SFPGM
STL STL STL STL STL STL STL STL STL STL
SIMATIC, S5, SINEC, SIMOREG, and SIMOVERT are registered trademarks of Siemens AG. APT, Series 500, Series 505, ESP, PCS, Peerlink, and TIWAY are trademarks of Siemens Energy & Automation, Inc.
19