SimpleProgramming RS Rev1.0
SimpleProgramming RS Rev1.0
A: Revision
Rev. Date Originator Function Department Description
For reference only not an official document
Revision History
Rev. Date Originator Function Department Description
D: Distribution
Organisation Name Function Department
Document Control
First Line of Appendix List (Do Not Delete this line, it will not print out).
Yokogawa ISS
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Table of Contents
1 Introduction ................................................................................................................................................... 3
1.1 Purpose ............................................................................................................................................... 3
1.2 Validity ............................................................................................................................................... 3
1.3 Definitions, Abbreviations and Acronyms ......................................................................................... 3
2 Prosafe-RS Programming.............................................................................................................................. 4
2.1 Open Project ....................................................................................................................................... 4
2.2 Creating New POU (Logic Page) ....................................................................................................... 5
2.3 Analog Input ....................................................................................................................................... 7
2.4 Digital Input & Output...................................................................................................................... 13
2.5 Creating Annunciator ....................................................................................................................... 18
2.6 Creating SOE block for logic ........................................................................................................... 20
2.7 Timer (TOF) ..................................................................................................................................... 22
2.8 Tag Name Builder............................................................................................................................. 23
2.9 I/O Parameter Builder ....................................................................................................................... 27
2.10 SCS Link Transmission Builder (sending BOOL between 2 controller) .......................... 30
2.10.1 LTSND (sending signal) ................................................................................................... 30
2.10.2 LTRCV (receiving signal)................................................................................................. 33
2.11 Build Project/Dictionary ................................................................................................... 35
3 Download .................................................................................................................................................... 37
3.1 Online download............................................................................................................................... 37
3.2 Offline Download ............................................................................................................................. 41
3.3 Output Enable ................................................................................................................................... 45
3.4 Debug................................................................................................................................................ 49
3.4.1 Start Debug Mode ............................................................................................................. 49
3.4.2 Lock input and output from POU in debug mode ............................................................. 50
3.4.3 Locking and unlocking internal variable (Non hardwire signal) ...................................... 51
4 I/O Lock Window ....................................................................................................................................... 55
4.1 Lock/Unlock I/O Card ...................................................................................................................... 55
4.2 Lock/Unlock I/O by channel............................................................................................................. 56
5 IOM Load .................................................................................................................................................... 57
END OF DOCUMENT 57
P a g e |2
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 Introduction
1.1 Purpose
Purpose of this document is to provide simple guidance on how to operate Prosafe-RS software
and programming. Client shall not treat this document as official copy from YISS. There shall be
no revision update required.
1.2 Validity
This document is valid as guidance on simple Prosafe-RS programming.
P a g e |3
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
2 Prosafe-RS Programming
Step 1: Select the workbench from the start menu (or from the desktop)
Step 2:
1 Select Open
Step 3: Look in: Local Disk (C): RS-Project > MYRSPJT > SCS0106 or SCS0107
Step 4:
1 Select PRJdictionary
2 Click Open
P a g e |4
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Important: All POU name and tag name in Prosafe-RS 0106 and 0107 cannot be the same!
Step 1:
Step 2:
2 Save
P a g e |5
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
If the new POU was not saved, the following window will appear when user tries to open the new
POU.
P a g e |6
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e |7
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e |8
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select “Structures”
P a g e |9
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select ANLG_S
Note: The comment in ID must Start with ‘ and end with ’. The comment will be shown in SOE
viewer for historical records.
P a g e | 10
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Click Ok
P a g e | 11
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 12
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
If the IO window
does not appear
click this icon and
1 Rename double click the
the DI or DO tag again
Point
3 ensure all
Parameter as per
Table 3.4-1
P a g e | 13
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select “Structure”
3 Select DI point.
1 Double Click on DI
4 Click OK
P a g e | 14
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select AND
5 Click Ok
Note: Prosafe-RS is IEC 61508 & 61511 compliance software. Hence direct loop back is not
allowed. See following for alternative solution.
INPUT A AND
OR
RESET
INPUT A AND
OR
RESET
To create new BOOL tag please refer chapter 3.3 step 9 and step 10.
P a g e | 15
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 16
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
2 Build program
1 Save
P a g e | 17
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select ANN
5 Click OK
P a g e | 18
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
The ANN block will create alarm on HIS graphic when the input is “TRUE”. If the ANN was tie to
shutdown output, then a not gate should be included before the ANN.
3 save
4 Build Program
P a g e | 19
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select SOE_B
5 Click OK
P a g e | 20
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 21
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Select TOF
4 Click OK
P a g e | 22
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Important: The Tag name builder must be downloaded to SCS controller whenever there is
modification. Then user must import tag list and equalize all station from CS3000.
The following step should be follow in order to modify the tagname builder
P a g e | 23
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 Click on BOOL/ECW_B
st
2 Click on the 1 Colum
of the empty row
P a g e | 24
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 25
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
st
2 Click on the 1 Colum 1 Click on ANLGI/ANLGS
of the empty row
8 Save
P a g e | 26
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 27
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
This value is
always in 0-100%
reflecting 4-20mA
1 Select the
card where AI
was added 3 Change the input value at
fault to the trip value of the
new AI. (Example for AI that
triggers HH trip, then user can
enter 100.0% in this Colum)
P a g e | 28
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
5 save
P a g e | 29
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 click “LINK_TRANS”
Step 2:
P a g e | 30
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 select “LTSND”
4 select Tag
5 click OK
P a g e | 31
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 click “Engineering”
P a g e | 32
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 click “LINK_TRANS”
Step 2:
3 select “LTRCV”
4 select Tag
5 click OK
P a g e | 33
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
1 click “Engineering”
P a g e | 34
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Step 8: Compare the receiving table in SCS0107 and sending table at SCS0106. Both should be the
same. For example, If SCS0106 is sending Z25_8 using Bit No. 001 then the receiving side at
SCS0107 must also read the Bit No. 001 from 06 as Z25_8
1 Build Project/
Dictionary
P a g e | 35
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Ethernet network problem might cause “Invalid the path to CENTUM connection. Upper
Equipment Name might not be correctly compiled.” .
Warning on Prosafe-RS
and CENTUM
connection path
P a g e | 36
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3 Download
Before the online download, steps in chapter 3.9 must all be fulfilled.
P a g e | 37
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Step 3: Go to maintenance
P a g e | 38
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 39
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 40
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 41
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Step 3: Go to maintenance
P a g e | 42
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Click Download
Click OK
P a g e | 43
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Step 8: After
P a g e | 44
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 45
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Step 3:
Click OK
Click OK
P a g e | 46
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
2 click OK
Notes: “F” indicate faulty channel, whereas “D” indicate locked channel which require output
enable.
P a g e | 47
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Important: If the letter “F” appears, please check the field wiring and Prosafe-RS I/O Parameter
setting.
P a g e | 48
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
3.4 Debug
To view the logic condition in Prosafe-RS, User needs to put the Prosafe workbench into debug
mode. In the debug mode user are allow to lock or unlock the I/O tag. However, the “SCS Security
Level” needs to be set as “1” (refer previous chapter on steps to set security level).
Perform following step to enter debug mode:
P a g e | 49
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Important: Make sure the security level is “1” before locking or unlocking any tag
2 click “Lock”
Once locked, the field I/O variable can only be unlocked from I/O lock window. Refer to I/O lock
window’s chapter for operation detail
P a g e | 50
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Warning: It is not advised to lock the internal variable during operation because user might
forget to unlock the variable and the plant might not trip should any dangerous even happened.
Locking internal variable can only be done in debug mode. Hence all steps in 4.4.1 must be
complete and security level must be “1” before executing these steps.
2 Click Lock
P a g e | 51
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 52
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
2 click “Unlock”
P a g e | 53
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 54
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
I/O lock window is a common tools used to monitor and modify field value by user. Following
show how to open the I/O lock window.
Important: Security level must be 1 in order to lock or unlock any value in I/O lock window
P a g e | 55
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
Once I/O is locked, user is able to force the I/O value for testing or maintenance purposes.
P a g e | 56
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
5 IOM Load
I/O module load is required when a new card is attached to an online controller. Following steps
shows how to perform IOM load.
P a g e | 57
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
P a g e | 58
YOKOGAWA
Yokogawa Industrial Safety Systems
Project Description : Document : Prosafe-RS
YEA-SCA Project No. : Date :
Client P.O. Number : Revision : 1.0
END OF DOCUMENT
P a g e | 59
YOKOGAWA
Yokogawa Industrial Safety Systems