7-16
<Toc> <Ind>
<7. I/O Communications >
IM 34M6H28-01E
7.6
I/O Data Access (Example of Programming)
A programming example of I/O data access is shown below. In this program, the scan list is
registered in the input and output data areas and normal communication is performed.
Input data
T0706-1.EPS
Data position
no.
Data type
Data register
(used in Ladder)
Input variable
(used in BASIC)
High order 8 bits Low order 8 bits
510
Word data
D0001
IN1
511
Word data
D0002
IN2
512
Word data
D0003
IN3
513
Unused
Byte data
D0004
IN4
Output data
T0706-2.EPS
Data position
no.
Data type
Data register
(used in Ladder)
Input variable
(used in BASIC)
High order 8 bits Low order 8 bits
1021
Word data
D0011
OUT1
1022
Word data
D0012
OUT 2
1023
Word data
D0013
OUT 3
1024
Unused
Byte data
D0014
OUT 4
1st Edition : Feb.01,1999-00
Содержание FA-M3 Vitesse
Страница 2: ...Blank Page...
Страница 28: ...Blank Page...
Страница 40: ...Blank Page...
Страница 94: ...Blank Page...
Страница 116: ...Blank Page...
Страница 118: ...Blank Page...