Chapter 3 Programming
3
– 14
I/O address example of 64 points basic / expansion unit
[ Input ]
[ Output ]
Bit number
BOOL
LWORD
Bit number
BOOL
DWORD
Bit 0
%IX7.0
%IL0
LSB
Bit 0
%QX3.0
%QD0
LSB
Bit 1
%IX7.1
Bit 1
%QX3.1
Bit 2
%IX7.2
Bit 2
%QX3.2
Bit 3
%IX7.3
Bit 3
%QX3.3
Bit 4
%IX7.4
Bit 4
%QX3.4
Bit 5
%IX7.5
Bit 5
%QX3.5
Bit 6
%IX7.6
Bit 6
%QX3.6
Bit 7
%IX7.7
Bit 7
%QX3.7
Bit 8
%IX6.0
Bit 8
%QX2.0
|
|
|
|
Bit 15
%IX6.7
Bit 15
%QX2.7
Bit 16
%IX5.0
Bit 16
%QX1.0
|
|
|
|
Bit 23
%IX5.7
Bit 23
%QX1.7
MSB
Bit 24
%IX4.0
|
|
Bit 31
%IX4.7
Bit 32
%IX3.0
|
|
Bit 39
%IX3.7
MSB
Internal I/O address example
Bit number
BOOL
BYTE
WORD
DWORD
LWORD
Bit 0
%MX7.0
%MB7
%MW3
%MD1
%ML0
LSB
|
|
Bit 7
%MX7.7
Bit 8
%MX6.0
%MB6
|
|
Bit 15
%MX6.7
Bit 16
%MX5.0
%MB5
%MW2
|
|
Bit 23
%MX5.7
Bit 24
%MX4.0
%MB4
|
|
Bit 31
%MX4.7
Bit 32
%MX3.0
%MB3
%MW1
%MD0
|
|
Bit 39
%MX3.7
Bit 40
%MX2.0
%MB2
|
|
Bit 47
%MX2.7
Bit 48
%MX1.0
%MB1
%MW0
|
|
Bit 55
%MX1.7
Bit 56
%MX0.0
%MB0
|
|
Bit 63
%MX0.7
MSB
Following 5 different codes access the same bit.
%MX7.0:=1;
%MB7 :=1;
%MW3 :=1;
%MD1 :=1;
%ML0 :=1;
Содержание EH-A14EDR
Страница 6: ...MEMO ...
Страница 10: ...MEMO ...
Страница 141: ...Chapter 3 Programming 3 81 Program ...
Страница 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Страница 170: ...Appendix A1 4 MEMO ...