Communications
Communications Method
| RS232C |
| |
Communications baud rate | 2400, 4800, 9600bps |
Data | 8 bit |
Parity | No |
Start bit | 1 bit |
Stop bit | 1 bit |
Set RS232C communications baud rate with Pr0C. Any change to these parameters will be valid when you power on the control power supply. For detailed information, refer to list of parameters related to the following communications:
List of User Parameters Related to Communications
PrNo. | Parameter Name | Range of Setting |
| Functional Description | ||
00 | Shaft name | 1 - 15 | Refer to descriptions on parameters on pages 88 and 116. | |||
|
|
|
| |||
| Setting of baud rate for | 0 - 2 | Set the communications speed of RS232C communications. | |||
0C | 0 : 2400[bps] | 1 : 4800[bps] | 2 : 9600[bps] | |||
RS232C communications | ||||||
|
| A change will be valid when you power on the control power supply. | ||||
|
|
|
Time for data transmission is calculated with the following expression, for instance, in the case of 9600 [bps]: (1000/9600) x (1 + 8 + 1) = 1.04 [ms/byte]
Start bit
Stop bit
Data
When the baud rates of 2400 bps and 4800 [bps] are used, data transmission time will be 4.17 [ms/byte] and
2.08[ms/byte], respectively. Note, however, actual communication time will be added time necessary for processing received command, and necessary for switching between a line and transmission/reception control.
Handshaking Code
For line control, the following codes are used.
Name | Code | Functions |
ENQ | 05h | Transmission request |
EOT | 04h | Ready for receiving |
ACK | 06h | Acknowledgement |
NAK | 15h | Negative acknowledgement |
ENQ …When the module has a block to transmit, it sends ENQ.
EOT … When the module is ready to receive a block, it sends EOT. The line enters transmission mode when sending ENQ and receiving EOT. It enters reception mode when receiving ENQ and sending EOT.
ACK … When a received block is judged normal, ACK is returned.
NAK … When a received block is judged as abnormal, NAK is returned. A judgment is made based on checksum and timeout.
160