WAGO-I/O-SYSTEM 750
Run-time System CODESYS 2.3 235
750-8207 PFC200 CS 2ETH RS 3G
Manual
Draft version 1.2.1 from 2017-09-13, valid from FW Version 02.06.20(09)
8.2.6
Creating a Boot Project
Create a boot project to ensure that the PLC program starts automatically again
after a fieldbus controller restart. In the menu bar select
Online
> Create boot
project
. You must be logged in to CODESYS to use this function.
Automatic loading of the boot project
In addition, you can load the boot project automatically when starting the
fieldbus controller. Click on the “Resources” tab and open “Target system
settings”. Select the “General” tab and “Load boot project automatically”.
If a boot project (DEFAULT.PRG and DEFAULT.CHK) is present under
/home/codesys
and the “Run/Stop” switch of the fieldbus controller is set to
“Run”, the fieldbus controller automatically starts with the processing of the PLC
program. The PLC program is not started if the switch is set to “Stop”.
If a PLC program is running in the fieldbus controller, a PLC task starts with the
reading of the fieldbus data (only with fieldbus controllers and fieldbus
connection), the integrated input and output data and the I/O modules. The
output data changed in the PLC program is updated after the PLC task is
processed. A change in operating mode (“Stop/Run”) is only carried out at the
end of a PLC task. The cycle time includes the time from the start of the PLC
program to the next start. If a larger loop is programmed within a PLC program,
the task time is prolonged accordingly. The inputs and outputs are updated
during processing. These updates only take place at the end of a PLC task.
8.3
Syntax of Logical Addresses
Access to individual memory elements according to IEC 61131-3 is possible
using only the following special symbols:
Table 190: Syntax of Logical Addresses
Item
Prefix
Description
Notes:
1
%
Starts the absolute address
-
2
I
Input
Q
Output
M
Flag
3
X
Single bit
Data width
B-
Byte (8 bits)
W
Word (16 bits)
D
Double word (32 bits)
4
Address
Two examples:
Addressing by word
%QW27 (28th word)
Addressing by bit
%IX1.9 (10th bit in word 2)