DA70131-1/3E
IV-4
2. Software Examples
2-1. Start of the simplest cyclic communication
The simplest example is to issue a system communication command, let the center device automatically collect
data from the local devices, and then start cyclic communication.
Note: Unless otherwise specified, the flow charts shown in this manual omit
the steps needed to process errors.
Be aware that when actually creating programs, you will have to add
steps for processing errors.
We recommend creating the steps used to check errors after reading
the status register.
Start
Outpw (0x0000h, 0x1000h)
Send a system communication command
to all local devices.
Outpw (0x0000h, 0x3000h)
Start cyclic communication
End
CEND = 1
NO
YES
Sts = Inpw (0x0000h)
Read status
Waits for completion of the system
communication
Without a completion signal the center
device cannot start the next operation.
Содержание 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...