You are on page 1of 50

Trusted ICS

Software Training
Trusted Software Training
 Application programming
 Getting started
 on line updating
 on line monitoring
 Diagnostics
 Modbus communication
 Cross checking tools
 Peer - Peer
System version release numbers
 V1.1 - Low density I/O (Regent I/O)

 V1.2 - Low density I/O with peer to peer and


process historian

 V2.0 - Both High density I/O and Low density


I/O, SOE to 1 mS on high density modules
Communication and TMR Interface modules can
be used is different slots.
Engineering Workstation

Runs on PC

• Windows NT or 95

IEC1131 TOOLSET
• Used for configuration and
application programming

Full suite of IEC1131-3


programming languages

• Off-line simulation
• On-line monitoring
• Access control
• Version history
Software Required for site
programming
 IEC 1131 Toolset
 Trusted ICS special equipment disk
 Trusted ICS tools disk
 Trusted ICS project specific INI file for the
Trusted Processor
 Trusted ICS project specific INI file for the IEC
1131 Toolset
IEC 1131 - 3 Languages

 Function Block

 Ladder Diagram

 Sequential Function Chart

 Instruction List

 Structured Text
IEC 1131 TOOLSET
SEQUENTIAL FUNCTION CHART (SFC)
 The SFC divides the process
cycle into a number of well- Start N PUMPS Ready
defined steps, separated by
transitions.
 For sequential operations
 Can be used as a specification
language
 Can represent parallel processes
 Includes synchronisation
mechanisms Vacuum S DEPRESS Checks N PRESS_CHK
 Easy dynamic rules
IEC1131 TOOLSET
FUNCTION BLOCK DIAGRAM (FBD)
OnDelay_1
 A graphical language which TON
allows the user to build complex High_Press
IN
procedures by taking existing Alarm_Ind12
Q1
function blocks from the T#30s Over_Press
IEC1131 library, and wiring PT
them together on the screen.
 RS
For mixed type equations
 Large library of blocks Alarm_P12
S Q1
Enable AND
R1
Alarm_Clr
IEC1131 TOOLSET

LADDER DIAGRAM
(LD)
OVR1 START
SW1
 Ladder Diagrams represent logical R
equations and simple actions. SW2
 For Boolean equations only X54
 Easy rules EN EN0 S
X65 SUB
1 SPEED
IEC 1131 TOOLSET

STRUCTURED TEXT
(ST)
 ELSE
A high level language similar to Pascal,
Flow_Rate:=100.0; Steam:=ON;
primarily used to implement complex
procedures. IF SPEED1>100.0 THEN
 Structured language Flow_Rate:=50.0 + Offset_A1;
 High readability of source code END_IF;
IEC1131 TOOLSET

INSTRUCTION LIST
(IL)
LD R1
 A low level language that is highly JMPC RESET
effective for small applications or LD PRESS_1
optimizing parts of an application. ST
 Low readability MAX_PRESS
RESET:LD 0
ST A_X43
IEC1131 TOOLSET

GRAPHIC DEBUGGER
 Debug entire application or
parts of it
 Quickly validate program
without connection to a TRUSTED
CONTROLLER
 Access full source level
capabilities of each graphic or
text language
 Includes:
- I/O locking
- on-line modification
IEC1131 TOOLSET

MONITORING and SIMULATION


 On-line monitoring or off-line
simulation
 Perform complete structural and
functional tests of each program
functional module
 Trace program execution
 View status of any internal
variable
 Full logic simulation
 Manually force variables and
internal status
 Examine and debug the global
application program
IEC 1131 Toolset connection.

Set Processor key switch to‘Maintenance’

Connect to the Active processor front panel port using RS 232


OR
Connect to one of the Communication modules via Ethernet
Application variable configuration

Dictionary
of variables
I/O module together
with Application Logic
configuration associated
tags and
descriptors
IEC 1131 Project

Program Dictionary

Program

Program
Program I/O connections

Program

Program
Conversion
Program Diary File tables
Boolean Variables
Integer/Real variables
IEC 1131
IEC 1131 Toolset isa.INI file

Ensure that the [DEBUG] data is in the INI file and record it.
If this is changed the system may not allow on line updates.

[DEBUG]
MNTVboo=60 ; for booleans
MNTVana=10 ; for integers and reals
MNTVtmr=10 ; for timers
MNTVmsg=10 ; for messages
Compile=0
Trusted Communication Module

Healthy - State of module, Green = healthy, Flash Red = Fault.

Active - On when this module is active.

Standby - On when this module is in standby.

Educated - Off = not educated,


Flashing = being educated,
On = Module configuration is valid.

Communication LED’s, Green = receiving data, Red = sending data


(looks Yellow with fast comms.)
ACCESSING THE .INI FILE
; SYSTEM.INI
;
[UPDATER]
;
; Toggle USER LEDs whilst acquiring Mappings? 1=Yes, 0 = No
;
LEDMonitoring = 1
;
; PIM Coil/Register Offsets
FromPIMOffset = 1
ToPIMOffset = -1
;
; InterGoupDelay (default 100) - This is used to insert extended delays to
;ensure that the UPDATER delays sufficiently when the coil and register groups
; are small. (Value is in msec.)
;
InterGroupDelay=100
;
; The following section controls ISaGRAF application scan times.
; ISA_SLEEP defines the sleep period per scan in msec
; MAX_SCAN_TIME defines the maximum scan time allowed in msec.
; If this exceeded the application will be stopped.

[ISAGRAF_CONFIG]
ISA_SLEEP_PERIOD=0
MAX_SCAN_TIME=1000

[END]
System INI, Communications
Parameter Definition
serial1 Serial port 1 configuration
serial2 Serial port 2 configuration
serial3 Serial port 3 configuration
serial4 Serial port 4 configuration
Tcp_ip0 IP address for Ethernet port 0
Tcp_ip1 IP address for Ethernet port 1
mb_station_id Modbus station identification number
mb_port Modbus Ethernet port number

The configuration of a serial port is of the format:


<serial_port> = <baud_rate>, <data_bits>, <parity>, <stop_bits>
An example section that might be included would be as follows
[CHASSIS_01_SLOT_07]
serial1 serial2 serial4 = 19200, 8, n, 1
serial3 = 115200,8,,1
tcp_ip0 = 193.131.174.208
tcp_ip1 = 193.131.174.209
mb_station_id = 2
mb_port = 2000
TRUSTED TMR TRUSTED
Processor Communications
Updater Interface

Modbus
Comms

IEC 1131
Execution
I/O Database
Engine TRUSTED TMR Interface

I/O
Driver Regent+Plus
I/O
Modules
Modbus Addresses
Modbus Master
Trusted Communication Module
00001 - 07500 (third party system)

Coils
07501 - 10000

Beware!!!
Digital Modbus Addresses
10001 - 20000
Inputs are entered into the
IEC 1131 Toolset
using Hexadecimal
30001 - 40000 data
Input e.g. 07501 is entered
Registers as 1D4D

40001 - 47500
Holding
Registers 47501 - 50000
Modbus Communication
Communication Interface Module 1 MODBUS
Processor MODBUS
Serial
Read Modbus RS232
data
buffer

Write
Read Data
command Ethernet
buffer Ethernet
Modbus

Communication Interface Module 1 MODBUS


Write Data
Block 1 Serial
Read Modbus RS232
data
buffer

Write
command Ethernet
buffer Ethernet
Modbus
SOE Data Flow

MMI

Field
Device

Trusted
Input Trusted TMR
Communication
Interface Processor
Interfaces
Sequence of Event Screen
Peer to Peer
Examples of System Communications
Single Communications Module
Networks
Dual Communications Module
Networks
Unsupported Configuration
Peer to Peer Master Display
The user must enter data as detailed below:
1. TICS_CHASSIS – this will always be ‘1’.
2. TICS_SLOT – this must be assigned ‘7’ or ‘8’ as appropriate.
3. RESPONSE_TMO – this is the time, in seconds, that the system will wait for a
response from a peer. Values of 1 to 30 seconds are valid.
4. TX_DATA_TMO – this is the time, in seconds, that the master will wait for a peer
to complete sending its data. Values of 1 to 60 seconds are valid.
5. IP_ADDR1 to IP_ADDR9 – each Peer to Peer master can communicate with up
to a maximum of nine slaves on a single network. Each slave must have a
unique IP (Internet Protocol) address assigned to it.
6. start_peer – Peer to Peer Communications is started/stopped by assigning a
variable name to this field in the normal way.
Peer to Peer Master Status Board
Display
Peer to Peer Slave Display
The user must enter data as detailed below:
1. TICS_CHASSIS – this will always be ‘1’.
2. TICS_SLOT – this must be assigned ‘7’ or ’8’ as appropriate.
3. RESPONSE_TMO – this is the time, in seconds, that the system will wait for a
response from a peer. Values of 1 to 30 seconds are valid.
4. IP_ADDRESS – this will be the IP address of the Peer to Peer Communications
network master.
5. start_peer – Peer to Peer Communications is started/stopped by assigning a
variable name to this field in the normal way.
Diagnostics
Trusted TMR Processor
Healthy - State of each slice, Green = healthy, Red = Fault.
Active - On when this processor is the active MP.
Standby - On when this processor is the standby MP.
Educated - Off = no application,
Flashing = copying from active MP,
On = Module is educated and ready to
become active.
Run - Flashing = Application is running.

Reset - Reset fault flags & LED’s


System Healthy - Green if no system faults detected,
Flashing red if and system fault LED is on,
(including I/O).
User 1 & 2 - LED's that can be controlled by the Application
Program or as INI file

Maintenance Switch -
Maintenance = Download Application and INI file.
Run = Normal running condition, Diagnostics, SOE.
System diagnostic connection

Switch the Processor front panel switch to ‘Run’

Connect to the front panel port of the appropriate module.


E.g. Active processor, standby processor or the Communication module.
Diagnostics for the active processor can also be accessed via the
communication module by placing a ; in front of the command.
Trusted Software Training
 Application programming
 Getting started
 on line updating
 on line monitoring
 Diagnostics
 Modbus communication
 Cross checking tools
 Peer - Peer

You might also like