DA70131-1/3E
IV-5
2-2.Specifiy the data for the local devices that are connected
This method assumes that the data for the local devices is already known and this data is manually specified in the
address map of the center device. Then cyclic communication is started.
By doing this, mis-settings in local devices can be found rather easily (an error occurs when there is a mis-setting).
For example, assume that the following three devices are connected. (The device numbers shown below are in
decimal notation.)
Local device type
Device No.
Input port
Output ports
1
I/O device
10
Port 0
Port 1 to 3
2
PCL device
11
Port 0 to 2
Port 3
3
I/O device
20
Port 0 to 2
Port 3
Note: The port attributes of the PCL device (G9103A) are fixed. Input ports 0 and 1 contain status information.
1) When the whole address map can be used (all 512 bytes)
For information about device data values, see section 5-1-2 in Chapter I.
With a PCL device (G9103A), this value is always "8Bh."
Start
Outpw (0x008ch, 0x0083h)
Specify device data for device number 20.
* Be careful not to corrupt the data for device number 21.
Outpw (0x0000h, 0x3000h)
Start cyclic communication.
Outpw (0x0082h, 0x8B81h)
Specify device data for device numbers 10 and 11.
End
Содержание Motionnet G9001A
Страница 1: ...DA70131 1 3E G9001A G9002A User s Manual Center device I O device Remote I O Remote Motion...
Страница 7: ...DA70131 1 3E I 1 I Center device G9001A User s Manual...
Страница 8: ...DA70131 1 3E I 2...
Страница 50: ...DA70131 1 3E I 44...
Страница 51: ...DA70131 1 3E II 1 II I O device G9002A User s Manual...
Страница 52: ...DA70131 1 3E II 2...
Страница 66: ...DA70131 1 3E II 16...
Страница 67: ...DA70131 1 3E III 1 III Connection Examples and Recommended Environments G9000 Series...
Страница 68: ...DA70131 1 3E III 2...
Страница 87: ...DA70131 1 3E IV 1 IV Software Examples flow chart G9001A...
Страница 88: ...DA70131 1 3E IV 2...