![NPM Motionnet G9001A User Manual Download Page 103](http://html1.mh-extra.com/html/npm/motionnet-g9001a/motionnet-g9001a_user-manual_1713900103.webp)
DA70131-1/3E
IV-17
2-9. Data communication 3: Start the PCL device
The data communication example below shows how to start pulse output by setting the registers in the PCL
device.
The local devices are the same as in the previous section.
Assume that the data to place in the PCL device are as follows (only the data needed to trigger the pulse
output).
Register name
Set value
Remarks
PRFL
00000100h
PRFH
00000200h
PRMG
00C7h
Multiplication rate = 1
PRFH setting
- Process the next set of data the same way.
YES
NO
PRFL setting
- Write a register write command and place the data in the
FIFO.
- Lastly, issue a device communication command.
- Check the EDTE bit to see if this data communication
ended normally before starting the next data
communication.
YES
NO
Start
Outpw (0x0006h, 0x00B1h)
Outpw (0x0006h, 0x0100h)
Outpw (0x0006h, 0x0000h)
Outpw (0x0000h, 0x4028h)
NO
Dev Sts = Inpw (0x0000h)
Outpw (0x0006h, 0x00B2h)
Outpw (0x0006h, 0x0200h)
Outpw (0x0006h, 0x0000h)
Outpw (0x0000h, 0x4028h)
NO
Dev_Sts = Inpw(0x0000h)
CEND = 1?
CEND = 1 ?
EDTE = 1
Error processing
YES
EDTE = 1
Error processing
YES
A
B
Summary of Contents for Motionnet G9001A
Page 1: ...DA70131 1 3E G9001A G9002A User s Manual Center device I O device Remote I O Remote Motion...
Page 7: ...DA70131 1 3E I 1 I Center device G9001A User s Manual...
Page 8: ...DA70131 1 3E I 2...
Page 50: ...DA70131 1 3E I 44...
Page 51: ...DA70131 1 3E II 1 II I O device G9002A User s Manual...
Page 52: ...DA70131 1 3E II 2...
Page 66: ...DA70131 1 3E II 16...
Page 67: ...DA70131 1 3E III 1 III Connection Examples and Recommended Environments G9000 Series...
Page 68: ...DA70131 1 3E III 2...
Page 87: ...DA70131 1 3E IV 1 IV Software Examples flow chart G9001A...
Page 88: ...DA70131 1 3E IV 2...