User manual
IEC61131 User and Reference Manual
April 22, 2008
i
Table of Contents
Table of Contents ................................................................................................................. i
Index of Figures .................................................................................................................. v
Overview ............................................................................................................................. 1
Supported Languages ................................................................................................... 1
Custom Functions .......................................................................................................... 1
Custom I/O Connections ................................................................................................ 2
Custom Controller Commands ...................................................................................... 2
Organization of the Manual ............................................................................................ 2
Control Microsystems Technical Support ...................................................................... 2
IEC 61131-3 Installation ...................................................................................................... 3
System Requirements ................................................................................................... 3
IEC 61131-3 Installation ................................................................................................ 3
ISaGRAF 3.5 Licensing ................................................................................................. 5
ISaGRAF 3.5 Compatibility with ISaGRAF 3.32 .......................................................... 16
Project Development Overview ......................................................................................... 19
IEC 61131-3 Installation .............................................................................................. 19
Initialize the Target Controller ...................................................................................... 20
Create an ISaGRAF Project ........................................................................................ 21
Declare Variables......................................................................................................... 21
Select I/O Hardware..................................................................................................... 22
Select Functions and Function Blocks ......................................................................... 22
Configure PC to Controller Link ................................................................................... 22
Controller Commands and Options ............................................................................. 23
Make the Application ................................................................................................... 23
Download and Start the Application............................................................................. 24
PC to Controller Link ......................................................................................................... 25
Configuring PC-PLC Link Parameters ......................................................................... 25
Configuring PC Communication Settings .................................................................... 26
Controller Menu Commands ............................................................................................. 97
Controller Type ............................................................................................................ 97
Connect to Controller Command ................................................................................. 98
Disconnect from Controller Command......................................................................... 98
Write to Controller Command ...................................................................................... 98
Read from Controller Command .................................................................................. 98
Initialize Controller Command ...................................................................................... 98
Controller Serial Ports Command .............................................................................. 102
Controller IP ............................................................................................................... 114
Real Time Clock ......................................................................................................... 127
DNP ........................................................................................................................... 128
DNP Status ................................................................................................................ 128
DNP Master Status .................................................................................................... 128
Controller I/O Error Indication Command .................................................................. 128
Lock Controller Command ......................................................................................... 129
Unlock Controller Command ...................................................................................... 129
Override Controller Lock Command .......................................................................... 130
Show Lock Status Command .................................................................................... 130
C/C++ Program Loader Command ............................................................................ 130
Program Status Dialog ............................................................................................... 133
Options Command ..................................................................................................... 137
Modbus Addressing ................................................................................................... 138
I/O Connection Reference .............................................................................................. 142