assignment17 / MAIN
Block: MAIN
Author:
Created: 2050.08.30 12:50:34
Last Modified: 2050.08.30 12:50:36
Address Symbol Var Type Data Type Comment
1 . . TEMP . .
2 . . TEMP . .
3 . . TEMP . .
4 . . TEMP . .
Program Comments
Network 1
Network Comment
CPU_I~ :I0.3 CPU_I~ :I0.0 CPU_~ :Q0.0
CPU_I~ :I0.1 CPU_~ :Q0.1
Symbol Address Comment
CPU_Input0 I0.0
CPU_Input1 I0.1
CPU_Input3 I0.3
CPU_Output0 Q0.0
CPU_Output1 Q0.1
Network 2
CPU_~ :Q0.0 CPU_~ :Q0.1 CPU_~ :Q0.2
/
CPU_~ :Q0.1 CPU_~ :Q0.0
/
Symbol Address Comment
CPU_Output0 Q0.0
CPU_Output1 Q0.1
CPU_Output2 Q0.2
Network 3
Network Comment
1 / 13
assignment17 / SBR_0
Block: SBR_0
Author:
Created: 2050.08.30 12:50:34
Last Modified: 2050.08.30 12:50:34
Address Symbol Var Type Data Type Comment
1 . EN IN BOOL .
2 . . IN . .
3 . . IN_OUT . .
4 . . OUT . .
5 . . TEMP . .
Subroutine Comments
Network 1
Network Comment
2 / 13
assignment17 / INT_0
Block: INT_0
Author:
Created: 2050.08.30 12:50:34
Last Modified: 2050.08.30 12:50:34
Address Symbol Var Type Data Type Comment
1 . . TEMP . .
2 . . TEMP . .
3 . . TEMP . .
4 . . TEMP . .
Interrupt routine comments
Network 1
Network Comment
3 / 13
assignment17 / Table 1
Symbol Address Comment
1 . . .
2 . . .
3 . . .
4 . . .
5 . . .
4 / 13
assignment17 / System Symbols
Symbol Address Comment
1 Always_On SM0.0 Always ON
2 First_Scan_On SM0.1 ON for the first scan cycle only
3 Retentive_Lost SM0.2 ON for one scan cycle if retentive data is lost
4 RUN_Power_Up SM0.3 ON for 1 scan cycle when RUN mode is entered from a power-up
condition
5 Clock_60s SM0.4 Clock pulse that is ON for 30 s, OFF for 30 s, for a duty cycle time
of 1 min.
6 Clock_1s SM0.5 Clock pulse that is ON for 0.5 s, OFF for 0.5 s, for a duty cycle
time of 1 s.
7 Clock_Scan SM0.6 Scan cycle clock which is ON for one cycle and OFF for the next
cycle
8 RTC_Lost SM0.7 This bit is turned ON for one scan cycle, if system time was lost on
power-up
9 Result_0 SM1.0 Set to 1 by the execution of certain instructions when the result of
the operation = 0
10 Overflow_Illegal SM1.1 Set to 1 by the execution of certain instructions on overflow or
illegal numeric value
11 Neg_Result SM1.2 Set to 1 when a math operation produces a negative result
12 Divide_By_0 SM1.3 Set to 1 when an attempt is made to divide by zero
13 Table_Overflow SM1.4 Set to 1 when the Add to Table instruction attempts to overfill the
table
14 Table_Empty SM1.5 Set to 1 when a LIFO or FIFO instruction attempts to read from
an empty table
15 Not_BCD SM1.6 Set to 1 when an attempt is made to convert a non-BCD value to
a binary value
16 Not_Hex SM1.7 Set to 1 when an ASCII value cannot be converted to a valid
hexadecimal value
17 Receive_Char SMB2 Contains each character received from Port 0 or Port 1 during
Freeport communication
18 Parity_Err SM3.0 Set for Port 0 or 1 if a parity error is detected in a character
received by Port 0 or Port 1
19 Comm_Int_Ovr SM4.0 Set to 1 if the communication interrupt queue overflows (interrupt
routine only)
20 Input_Int_Ovr SM4.1 Set to 1 if the input interrupt queue overflows (interrupt routine
only)
21 Timed_Int_Ovr SM4.2 Set to 1 if the timed interrupt queue overflows (interrupt routine
only)
22 RUN_Err SM4.3 Set to 1 when a run-time programming error is detected
23 Int_Enable SM4.4 Indicates the global interrupt enable state: 1 = interrupts are
enabled
24 Xmit0_Idle SM4.5 Set to 1 when the transmitter is idle (Port 0)
25 Xmit1_Idle SM4.6 Set to 1 when the transmitter is idle (Port 1)
26 Force_On SM4.7 Set to 1 when a value is forced: 1 = value forced, 0 = no value
forced
27 IO_Err SM5.0 Set to 1 if any I/O errors are present
28 Too_Many_D_IO SM5.1 Set to 1 if too many digital I/O points are connected to the I/O bus
29 Too_Many_A_IO SM5.2 Set to 1 if too many analog I/O points are connected to the I/O
bus
30 CPU_ID SMB6 Identifies the CPU model number
31 CPU_IO SMB7 Identifies the I/O types
32 EM0_ID SMB8 Module 0 ID register
33 EM0_Err SMB9 Module 0 error register
34 EM1_ID SMB10 Module 1 ID register
35 EM1_Err SMB11 Module 1 error register
36 EM2_ID SMB12 Module 2 ID register
37 EM2_Err SMB13 Module 2 error register
38 EM3_ID SMB14 Module 3 ID register
39 EM3_Err SMB15 Module 3 error register
40 EM4_ID SMB16 Module 4 ID register
41 EM4_Err SMB17 Module 4 error register
42 EM5_ID SMB18 Module 5 ID register
43 EM5_Err SMB19 Module 5 error register
44 Last_Scan SMW22 Scan time of the last scan cycle
45 Minimum_Scan SMW24 Minimum scan time recorded since entering the RUN mode
46 Maximum_Scan SMW26 Maximum scan time recorded since entering the RUN mode
47 SB_ID SMB28 Signal board ID
48 SB_Err SMB29 Signal board errors
5 / 13
assignment17 / System Symbols
Symbol Address Comment
49 P0_Config SMB30 Configure port 0 communication: parity, number of data bits per
character, baud rate, and protocol
50 P0_Config_0 SM30.0 Select Freeport or system protocol for Port 0
51 P1_Config SMB130 Configure port 1 communication: parity, number of data bits per
character, baud rate, and protocol
52 P1_Config_0 SM130.0 Select Freeport or system protocol for port 1
53 Time_0_Intrvl SMB34 Specifies time interval (in 1-ms increments from 5 to 255) of
interrupt 0.
54 Time_1_Intrvl SMB35 Specifies time interval (in 1-ms increments from 5 to 255) of
interrupt 1.
55 HSC0_Status SMB36 HSC0 Counter Status
56 HSC0_Status_5 SM36.5 HSC0 current counting direction status: 1= counting up
57 HSC0_Status_6 SM36.6 HSC0 current value equals preset value status: 1= equal
58 HSC0_Status_7 SM36.7 HSC0 current value is greater than preset value status: 1= greater
than
59 HSC0_Ctrl SMB37 Configure and control HSC0
60 HSC0_Reset_Level SM37.0 HSC0 active level control for counter reset: 0=active high;
1=active low
61 HSC0_Rate SM37.2 HSC0 counting rate selector: 0=4x (quadrature rate); 1=1x
62 HSC0_Dir SM37.3 HSC0 counting direction control: 0=count down; 1=count up
63 HSC0_Dir_Update SM37.4 HSC0 update the counting direction: 0=no update; 1=update
direction
64 HSC0_PV_Update SM37.5 HSC0 update preset value: 0=no update; 1=update preset
65 HSC0_CV_Update SM37.6 HSC0 update current value: 0=no update; 1=update current value
66 HSC0_Enable SM37.7 HSC0 enable: 0=disable; 1=enable
67 HSC0_CV SMD38 HSC0 new current value
68 HSC0_PV SMD42 HSC0 new preset value
69 HSC1_Status SMB46 HSC1 Counter Status
70 HSC1_Status_5 SM46.5 HSC1 current counting direction status: 1= counting up
71 HSC1_Status_6 SM46.6 HSC1 current value equals preset value status: 1= equal
72 HSC1_Status_7 SM46.7 HSC1 current value is greater than preset value status: 1= greater
than
73 HSC1_Ctrl SMB47 Configure and control HSC1
74 HSC1_Dir SM47.3 HSC1 counting direction control: 0=count down; 1=count up
75 HSC1_Dir_Update SM47.4 HSC1 update the counting direction: 0=no update; 1=update
direction
76 HSC1_PV_Update SM47.5 HSC1 update preset value: 0=no update; 1=update preset
77 HSC1_CV_Update SM47.6 HSC1 update current value: 0=no update; 1=update current value
78 HSC1_Enable SM47.7 HSC1 enable: 0=disable; 1=enable
79 HSC1_CV SMD48 HSC1 new current value
80 HSC1_PV SMD52 HSC1 new preset value
81 HSC2_Status SMB56 HSC2 Counter Status
82 HSC2_Status_5 SM56.5 HSC2 current counting direction status: 1= counting up
83 HSC2_Status_6 SM56.6 HSC2 current value equals preset value status: 1= equal
84 HSC2_Status_7 SM56.7 HSC2 current value is greater than preset value status: 1= greater
than
85 HSC2_Ctrl SMB57 Configure and control HSC2
86 HSC2_Reset_Level SM57.0 HSC2 active level control for counter reset: 0=active high;
1=active low
87 HSC2_Rate SM57.2 HSC2 counting rate selector: 0=4x (quadrature rate); 1=1x
88 HSC2_Dir SM57.3 HSC2 counting direction control: 0=count down; 1=count up
89 HSC2_Dir_Update SM57.4 HSC2 update the counting direction: 0=no update; 1=update
direction
90 HSC2_PV_Update SM57.5 HSC2 update preset value: 1 = write new preset value to HSC2
preset
91 HSC2_CV_Update SM57.6 HSC2 update current value: 0=no update; 1=update current value
92 HSC2_Enable SM57.7 HSC2 enable: 0=disable; 1=enable
93 HSC2_CV SMD58 HSC2 new current value
94 HSC2_PV SMD62 HSC2 new preset value
95 HSC3_Status SMB136 HSC3 Counter Status
96 HSC3_Status_5 SM136.5 HSC3 current counting direction status: 1= counting up
97 HSC3_Status_6 SM136.6 HSC3 current value equals preset value status: 1= equal
98 HSC3_Status_7 SM136.7 HSC3 current value is greater than preset value status: 1= greater
than
99 HSC3_Ctrl SMB137 Configure and control HSC3
100 HSC3_Dir SM137.3 HSC3 counting direction control: 0=count down; 1=count up
101 HSC3_Dir_Update SM137.4 HSC3 update the counting direction: 0=no update; 1=update
direction
6 / 13
assignment17 / System Symbols
Symbol Address Comment
102 HSC3_PV_Update SM137.5 HSC3 update preset value: 0=no update; 1=update preset
103 HSC3_CV_Update SM137.6 HSC3 update current value: 0=no update; 1=update current value
104 HSC3_Enable SM137.7 HSC3 enable: 0=disable; 1=enable
105 HSC3_CV SMD138 HSC3 new current value
106 HSC3_PV SMD142 HSC3 new preset value
107 PTO0_Status SMB66 PTO0 Status
108 PLS0_Ovr SM66.6 PTO0 pipeline overflow is cleared by system when using external
profiles, otherwise must be reset by user: 0=No overflow,
1=Pipeline overflow
109 PLS0_Idle SM66.7 PTO0 idle: 0 = PTO in progress;1= PTO is idle
110 PLS0_Ctrl SMB67 Monitor and control PTO0 (Pulse Train Output) and PWM0 (Pulse
Width Modulation) for Q0.0
111 PLS0_Cycle_Update SM67.0 PTO0/PWM0 update the cycle time value: 1= write new cycle time
112 PWM0_PW_Update SM67.1 PTO0/PWM0 update the pulse width value: 1= write new pulse
width
113 PTO0_PC_Update SM67.2 PTO0 update the pulse count value: 1= write new pulse count
114 PLS0_TimeBase SM67.3 PTO0/PWM0 time base: 0=1µs/tick, 1=1ms/tick
115 PLS0_Select SM67.6 PTO0/PWM0 mode select: 0=PTO; 1=PWM.
116 PLS0_Enable SM67.7 PTO0/PWM0 enable: 1=enable.
117 PLS0_Cycle SMW68 Word data type: PTO0/PWM0 cycle time value (2 to 65,535 units
of time base)
118 PWM0_PW SMW70 Word data type: PWM0 pulse width value (0 to 65,535 units of
time base)
119 PTO0_PC SMD72 Double Word data type: PTO0 pulse count value (1 to 2^32 - 1)
120 PTO1_Status SMB76 PTO1 Status
121 PLS1_Ovr SM76.6 PTO1 pipeline overflow is cleared by system when using external
profiles, otherwise must be reset by user: 0=No overflow,
1=Pipeline overflow
122 PLS1_Idle SM76.7 PTO1 idle: 0=PTO in progress; 1=PTO is idle.
123 PLS1_Ctrl SMB77 Monitor and control PTO1 (Pulse Train Output) and PWM1 (Pulse
Width Modulation) for Q0.1
124 PLS1_Cycle_Update SM77.0 PTO1/PWM1 update the cycle time value: 1= write new cycle time
125 PWM1_PW_Update SM77.1 PTO1/PWM1 update the pulse width value: 1= write new pulse
width
126 PTO1_PC_Update SM77.2 PTO1 update the pulse count value: 1= write new pulse count
127 PLS1_TimeBase SM77.3 PTO1/PWM1 time base: 0=1µs/tick, 1=1ms/tick
128 PLS1_Select SM77.6 PTO1/PWM1 mode select: 0=PTO; 1=PWM.
129 PLS1_Enable SM77.7 PTO1/PWM1 enable: 1=enable.
130 PLS1_Cycle SMW78 Word data type: PTO1/PWM1 cycle time value (2 to 65,535 units
of time base)
131 PWM1_PW SMW80 Word data type Word: PWM1 pulse width value (0 to 65,535 units
of time base)
132 PTO1_PC SMD82 Double Word data type: PTO1 pulse count value (1 to 2^32 - 1)
133 PTO2_Status SMB566 PTO2 Status
134 PLS2_Ovr SM566.6 PTO2 pipeline overflow is cleared by system when using external
profiles, otherwise must be reset by user: 0=No overflow,
1=Pipeline overflow
135 PLS2_Idle SM566.7 PTO2 idle: 0 = PTO in progress;1= PTO is idle
136 PLS2_Ctrl SMB567 Monitor and control PTO2 (Pulse Train Output) and PWM0 (Pulse
Width Modulation) for Q0.0
137 PLS2_Cycle_Update SM567.0 PTO2/PWM2 update the cycle time value: 1= write new cycle time
138 PWM2_PW_Update SM567.1 PTO2/PWM2 update the pulse width value: 1= write new pulse
width
139 PTO2_PC_Update SM567.2 PTO2 update the pulse count value: 1= write new pulse count
140 PLS2_TimeBase SM567.3 PTO2/PWM2 time base: 0=1µs/tick, 1=1ms/tick
141 PLS2_Select SM567.6 PTO2/PWM2 mode select: 0=PTO; 1=PWM.
142 PLS2_Enable SM567.7 PTO2/PWM2 enable: 1=enable.
143 PLS2_Cycle SMW568 Word data type: PTO2/PWM2 cycle time value (2 to 65,535 units
of time base)
144 PWM2_PW SMW570 Word data type: PWM2 pulse width value (0 to 65,535 units of
time base)
145 PTO2_PC SMD572 Double Word data type: PTO2 pulse count value (1 to 2^32 - 1)
146 P0_Stat_Rcv SMB86 Port 0 receive message status
147 P0_Stat_Rcv_0 SM86.0 1=Receive message terminated: Parity error
148 P0_Stat_Rcv_1 SM86.1 1=Receive message terminated: Maximum character count
achieved
149 P0_Stat_Rcv_2 SM86.2 1=Receive message terminated: Timer expired
150 P0_Stat_Rcv_5 SM86.5 1=Receive message terminated: End character received
7 / 13
assignment17 / System Symbols
Symbol Address Comment
151 P0_Stat_Rcv_6 SM86.6 1=Receive message terminated: Error in input parameter or
missing start or end condition
152 P0_Stat_Rcv_7 SM86.7 1=Receive message terminated: User disable command
153 P0_Ctrl_Rcv SMB87 Receive message control
154 P0_Ctrl_Rcv_1 SM87.1 0=Ignore break conditions; 1=Use break conditions as start of
message detection
155 P0_Ctrl_Rcv_2 SM87.2 0=Ignore SMW92, 1= Terminate receive if the time period in
SMW92 is exceeded
156 P0_Ctrl_Rcv_3 SM87.3 0=Timer is an inter-character timer, 1=Timer is a message timer
157 P0_Ctrl_Rcv_4 SM87.4 0=Ignore SMW90, 1=Use the value of SMW90 to detect an idle
condition
158 P0_Ctrl_Rcv_5 SM87.5 0=Ignore SMB89, 1=Use the value of SMB89 to detect end of
message
159 P0_Ctrl_Rcv_6 SM87.6 0=Ignore SMB88, 1=Use the value of SMB88 to detect start of
message
160 P0_Ctrl_Rcv_7 SM87.7 0=Receive message function disabled, 1=Receive message
function enabled
161 P0_Start_Char SMB88 Start of message character
162 P0_End_Char SMB89 End of message character
163 P0_Idle_Time SMW90 Idle line time period given in milliseconds
164 P0_Timeout SMW92 Inter-character/message timer time-out value given in milliseconds
165 P0_Max_Char SMB94 Maximum number of characters to be received (1 to 255 bytes)
166 P1_Stat_Rcv SMB186 Port 1 receive message status
167 P1_Stat_Rcv_0 SM186.0 1=Receive message terminated: Parity error
168 P1_Stat_Rcv_1 SM186.1 1=Receive message terminated: Maximum character count
achieved
169 P1_Stat_Rcv_2 SM186.2 1=Receive message terminated: Timer expired
170 P1_Stat_Rcv_5 SM186.5 1=Receive message terminated: End character received
171 P1_Stat_Rcv_6 SM186.6 1=Receive message terminated: Error in input parameter or
missing start or end condition
172 P1_Stat_Rcv_7 SM186.7 1=Receive message terminated: User disable command
173 P1_Ctrl_Rcv SMB187 Receive message control
174 P1_Ctrl_Rcv_1 SM187.1 0=Ignore break conditions; 1=Use break conditions as start of
message detection
175 P1_Ctrl_Rcv_2 SM187.2 0=Ignore SMW192, 1= Terminate receive if the time period in
SMW192 is exceeded
176 P1_Ctrl_Rcv_3 SM187.3 0=Timer is an inter-character timer, 1=Timer is a message timer
177 P1_Ctrl_Rcv_4 SM187.4 0=Ignore SMW190, 1=Use the value of SMW190 to detect an idle
condition
178 P1_Ctrl_Rcv_5 SM187.5 0=Ignore SMB189, 1=Use the value of SMB189 to detect end of
message
179 P1_Ctrl_Rcv_6 SM187.6 0=Ignore SMB188, 1=Use the value of SMB188 to detect start of
message
180 P1_Ctrl_Rcv_7 SM187.7 0=Receive message function disabled, 1=Receive message
function enabled
181 P1_Start_Char SMB188 Start of message character
182 P1_End_Char SMB189 End of message character
183 P1_Idle_Time SMW190 Idle line time period given in milliseconds
184 P1_Timeout SMW192 Inter-character/message timer time-out value given in milliseconds
185 P1_Max_Char SMB194 Maximum number of characters to be received (1 to 255 bytes)
186 EM_Parity_Err SMW98 This word is incremented each time a parity error is detected on
the expansion I/O bus. It is cleared upon power up and by the
user writing a zero.
187 CPU_Alarm SMW100 CPU
188 SB_Alarm SMW102 Signal board
189 EM0_Alarm SMW104 Expansion module bus slot 0
190 EM1_Alarm SMW106 Expansion module bus slot 1
191 EM2_Alarm SMW108 Expansion module bus slot 2
192 EM3_Alarm SMW110 Expansion module bus slot 3
193 EM4_Alarm SMW112 Expansion module bus slot 4
194 EM5_Alarm SMW114 Expansion module bus slot 5
195 DL0_InitResult SMB480 Initialization result code for Data Log 0
196 DL1_InitResult SMB481 Initialization result code for Data Log 1
197 DL2_InitResult SMB482 Initialization result code for Data Log 2
198 DL3_InitResult SMB483 Initialization result code for Data Log 3
199 DL0_Maximum SMW500 Maximum number of records configured for Data Log 0
200 DL0_Current SMW502 Current number of records present for Data Log 0
201 DL1_Maximum SMW504 Maximum number of records configured for Data Log 1
8 / 13
assignment17 / System Symbols
Symbol Address Comment
202 DL1_Current SMW506 Current number of records present for Data Log 1
203 DL2_Maximum SMW508 Maximum number of records configured for Data Log 3
204 DL2_Current SMW510 Current number of records present for Data Log 3
205 DL3_Maximum SMW512 Maximum number of records configured for Data Log 3
206 DL3_Current SMW514 Current number of records present for Data Log 3
9 / 13
assignment17 / POU Symbols
Symbol Address Comment
1 SBR_0 SBR0 Subroutine Comments
2 INT_0 INT0 Interrupt routine comments
3 MAIN OB1 Program Comments
10 / 13
assignment17 / I/O Symbols
Symbol Address Comment
1 CPU_Input0 I0.0 .
2 CPU_Input1 I0.1 .
3 CPU_Input2 I0.2 .
4 CPU_Input3 I0.3 .
5 CPU_Input4 I0.4 .
6 CPU_Input5 I0.5 .
7 CPU_Input6 I0.6 .
8 CPU_Input7 I0.7 .
9 CPU_Input8 I1.0 .
10 CPU_Input9 I1.1 .
11 CPU_Input10 I1.2 .
12 CPU_Input11 I1.3 .
13 CPU_Input12 I1.4 .
14 CPU_Input13 I1.5 .
15 CPU_Input14 I1.6 .
16 CPU_Input15 I1.7 .
17 CPU_Input16 I2.0 .
18 CPU_Input17 I2.1 .
19 CPU_Output0 Q0.0 .
20 CPU_Output1 Q0.1 .
21 CPU_Output2 Q0.2 .
22 CPU_Output3 Q0.3 .
23 CPU_Output4 Q0.4 .
24 CPU_Output5 Q0.5 .
25 CPU_Output6 Q0.6 .
26 CPU_Output7 Q0.7 .
27 CPU_Output8 Q1.0 .
28 CPU_Output9 Q1.1 .
29 CPU_Output10 Q1.2 .
30 CPU_Output11 Q1.3 .
11 / 13
assignment17 / System Block
PLC
Module Input Output Order Number
CPU CPU ST30 (DC/DC/DC) I0.0 Q0.0 6ES7 288-1ST30-0AA0
SB
EM 0
EM 1
EM 2
EM 3
EM 4
EM 5
CPU
Type: CPU ST30 (DC/DC/DC)
Communications
Fixed IP: No
Background time: 10
RS485 Port: 2
Baud rate: 9.6 kbps
Retentive Ranges
Data Area Offset Number of elements
Range 0: VB 0 0
Range 1: VB 0 0
Range 2: VB 0 0
Range 3: VB 0 0
Range 4: VB 0 0
Range 5: VB 0 0
Security
Password: Full Privileges
Restrict communication writes: No
Allow serial ports writes: No
Startup
CPU mode: STOP
Allow missing hardware: Yes
Allow configuration errors: Yes
12 / 13
assignment17 / System Block
Digital Inputs
Input filter Pulse catch
I0.0: 6.4 ms .
I0.1: 6.4 ms .
I0.2: 6.4 ms .
I0.3: 6.4 ms .
I0.4: 6.4 ms .
I0.5: 6.4 ms .
I0.6: 6.4 ms .
I0.7: 6.4 ms .
I1.0: 6.4 ms .
I1.1: 6.4 ms .
I1.2: 6.4 ms .
I1.3: 6.4 ms .
I1.4: 6.4 ms .
I1.5: 6.4 ms .
I1.6: 6.4 ms .
I1.7: 6.4 ms .
I2.0: 6.4 ms .
I2.1: 6.4 ms .
Digital Outputs
Freeze outputs in last state: No
Freeze outputs
Q0.0: .
Q0.1: .
Q0.2: .
Q0.3: .
Q0.4: .
Q0.5: .
Q0.6: .
Q0.7: .
Q1.0: .
Q1.1: .
Q1.2: .
Q1.3: .
13 / 13