59
1. Click IEC Programming Workspace from the toolbar, or from Home
Page, click Program with IEC61131-3.
2. From the Project Tree Window, right-click Data Type and select Insert
> Datatypes and name the target data type.
3. Double-click the newly added data type, you can edit it in the text
editor.
For I/O_DataTypes, each I/O Channel has one or two structures. All of
the related information for this channel is grouped together in the
structures as shown below. You can use this information as reference
for I/O channel configuration and programming.
Table 4-3: I/O channel structures of the I/O_DataTypes
Structure type Parameter Parameter type
ANALOG_INPUT_TYPE STS USINT
PV REAL
EUHI REAL
EULO REAL
EUHIEX REAL
EULOEX REAL
ANALOG_OUTPUT_TYPE OP REAL
ANALOG_OUTPUT_READBACK_
TYPE
STS USINT
OP_READBACK REAL
EUHI REAL
EULO REAL
EUHIEX REAL
EULOEX REAL
DIGITAL_INPUT_TYPE STS USINT
PV BOOL
DIGITAL_OUTPUT_TYPE OP BOOL
Chapter 4 - Software