Chapter 8 Communication Functions
8-72
1) Communication Parameter Setting
Open a new project file from KGLWIN
- K120S must be selected as PLC type.
After selecting communication parameter from KGLWIN and clicking twice, this window comes up.
Designate baud rate, data bit, parity bit, stop bit, and protocol.
2) Program
Save sending data to D0100 : “ack + 0 + OK + ETX”
If h’04(EOT) is received, h3004 is saved to D0000, and Weight data to D0111(1 Word)
Sending 5bytes in D0100 using DSND instruction