36
7.3 Data
7.3.1 Notes about Write/Read Command
• The data (set value, decimal) is converted to a hexadecimal number.
Negative numbers are represented in 2's complement.
• When connecting multiple slaves, the address (instrument number) must not be duplicated.
• Do not use undefined Data items. If they are used, negative acknowledgement will be returned or a
random value will be written or read, resulting in malfunction.
• Modbus protocol uses Holding Register addresses. The Holding Register addresses are created as
follows. A Shinko command Data item is converted to decimal number, and the offset of 40001 is
added. The result is the Holding Register address.
Using Data item 0001H (SV1) as an example: Data item in the sending message is 0001H, however,
Modbus protocol Holding Register address is 40002 (1 + 40001).
7.3.2 Write Command
• Setting range of each item is the same as that of keypad operation.
•
When data (set value) has a decimal point, a whole number (hexadecimal) without a decimal point is used.
• Writing via software communication will be possible even in the set value lock status.
• If Lock 3 is selected in [Set value lock], the written data will not be saved in the non-volatile IC memory.
Therefore if the power is turned off, they will revert to their value before Lock 3.
• If an alarm type is changed in [Alarm type] (0023H, 0006H, 0007H, 0008H, 0009H), the alarm value
(000BH, 0012H, 0014H, 0016H, 0018H) will default to 0 (zero). Alarm output status will also be
initialized.
• Even if options are not ordered, writing via software communication will be possible.
However, their command contents will not function.
• The Communication protocol, Instrument Numbers, Communication Speed, Parity and Stop bit of the
slave cannot be written by software communication. They can only be set via the keypad.
• When writing a command by Global address [95 (7FH), Shinko protocol] or Broadcast address [0
(00H) Modbus protocol], the same command is sent to all the slaves connected. However, the
response is not returned.
• Up to 1,000,000 (one million) entries can be stored in non-volatile IC memory.
If the number of writings exceeds the limit, the data will not be saved. So, do not change the set values
frequently via communication. (If a value written via software communication is the same as the value
before writing, the value will not be written in non-volatile IC memory.)
7.3.3 Read Command
• When the data (set value) has a decimal point, a whole number (hexadecimal) without a decimal point
is used for a response.
7.4 Negative Acknowledgement
The slave will return Error code 1 (31H, Shinko protocol) or Exception code 2 (02H, Modbus protocol) in
the following case:
• When non-existent data item is read or written.
The slave will return Error code 3 (33H, Shinko protocol) or Exception code 3 (03H, Modbus protocol) in
the following case:
• When a value out of the setting range is written.
The slave will return Error code 4 (34H, Shinko protocol) or Exception code 17 (11H, Modbus protocol)
in the following cases:
• When 0001H (AT Perform) is written for 0003H or 00E6H (AT Perform/Cancel) during PI control or
ON/OFF control action
• While AT is performing, and if 0001H (AT Perform) is written for 0003H or 00E6H (AT
Perform/Cancel)
• When Write is executed for Manual control MV (00E5H) during automatic control
The slave will return Error code 5 (35H, Shinko protocol) or Exception code 18 (12H, Modbus protocol)
in the following case:
• During setting mode by keypad operation