Immediate values
(Original Document)
Introduction
Conversion replaces the PL7 objects by their Control Expert equivalent.
Immediate values
The following table describes any correspondence and differences between PL7 and Control Expert objects.
PL7
Control Expert
Status
Syntax
Type of data
Syntax
Type of data
Boolean
FALSE/TRUE
BOOL
0/1 or FALSE/TRUE
BOOL
Converted
Decimal integer (base 10)
1234
WORD
1234
INT
Converted
Long decimal integer (base 10)
123456
DWORD
123456
DINT
Converted
Base 2 integer
2#x...
(1...16 figures)
WORD
If 2#x ... ≤ +32767
2#x...
INT
Modified
If 2#x ... > +32767
decimal value (1)
Base 2 long integer
2#x...
(17...32 figures)
DWORD
If 2#x ... ≤ +2147483647
2#x...
DINT
Modified
If 2#x ... > +2147483647
decimal value (1)
Base 16 integer
16#x...
(1...4 figures)
WORD
If 16#x ... ≤ +32767
2#x...
INT
Modified
If 16#x ... > +32767
decimal value (1)
Base 16 long integer
16#x...
(5...8 figures)
DWORD
If 16#x ... ≤ +2147483647
2#x...
DINT
Modified
If 16#x ... > +2147483647
decimal value (1)
Real
-1.32e-12
REAL
-1.32e-12
REAL
Converted
Character string
'aAbBcC'
STRING
'aAbBcC'
STRING
Converted
Network address
ADR#... (2)
AR_W:6
ADDR (2)
ARRAY OF INT
Modified
Legend:
(1)
(2)
See table below.
Network address
The following table describes any correspondence and differences between PL7 and Control Expert network address objects.
PL7
Control Expert
Syntax
Type of data
Syntax (1)
Type of data
ADR#xy.i.e
ADR#2.1.3
AR_W:6
ADDR('r.m.c.d')
ADDR('0.2.1.3')
ARRAY OF INT
ADR#xy.i.SYS
ADR#102.1.SYS
AR_W:6
ADDR('r.m.c.SYS')
ADDR('1.2.1.SYS')
ARRAY OF INT
ADR#xy.SYS
ADR#102.SYS
AR_W:6
ADDR('r.m.SYS')
ADDR('1.2.SYS')
ARRAY OF INT
ADR#SYS
AR_W:6
ADDR('SYS')
ARRAY OF INT
ADR#APP
AR_W:6
ADDR('APP')
ARRAY OF INT
ADR#\xy.i.c\SYS
ADR#\4.0.23\SYS
AR_W:6
ADDR('\b.e\SYS')
ADDR('\4.23\SYS')
(2)
ARRAY OF INT
ADR#{r.s}xy.i.e
ADR#{2.4}2.1.3
AR_W:6
ADDR('{n.s}r.m.c.d')
ADDR('{2.4}0.2.1.3')
ARRAY OF INT
ADR#{r.s}xy.i.SYS
ADR#{2.4}102.1.SYS
AR_W:6
ADDR('{n.s}r.m.c.SYS')
ADDR('{2.4}1.2.1.SYS')
ARRAY OF INT
ADR#{r.s}xy.SYS
ADR#{2.4}102.SYS
AR_W:6
ADDR('{n.s}r.m.SYS')
ADDR('{2.4}1.2.SYS')
ARRAY OF INT
ADR#{r.s}SYS
ADR#{2.4}SYS
AR_W:6
ADDR('{n.s}SYS')
ADDR('{2.4}SYS')
ARRAY OF INT
ADR#{r.s}APP
ADR#{4}APP
AR_W:6
ADDR('{n.s}APP')
ADDR('{4}APP')
ARRAY OF INT
ADR#{r.s}APP.num,
ADR#{2.4}APP.0
AR_W:6
ADDR('{n.s}APP.num'),
ADDR('{2.4}APP.0')
ARRAY OF INT
ADR#{r.s}\xy.i.c\SYS
ADR#{2.4}\4.0.23\SYS
AR_W:6
ADDR('{n.s}\b.e\SYS')
ADDR('{2.4}\4.23\SYS')
(2)
ARRAY OF INT
Legend:
(1)
The address ADR# is replaced by an EF.
(2)
The converter selects the bus number.
PL7
Control Expert
x
r
Rack.
y
m
Position in the rack (module).
i
c
Channel.
e
d
Data.
Operational if equal to zero.
c
e
Connection point (equipment).
r
n
Network.
Operational if equal to zero.
s
s
Station.
num
num
SFB.
-
b
Bus.