To write to buffer memory, use the TO instruction
To read from buffer memory, use the FROM instruction.
Please refer to the table below for writing to and reading from buffer memory.
| Memory Address (Hexadecimal) | Memory Address (Decimal) | Details | Default | Read | Write |
|---|---|---|---|---|---|
| 00H | 0 | DA conversion Enable/Disable setup | 0 | ✓ | ✓ |
| 01H | 1 | Channel 1 Digital output value | 0 | ✓ | ✓ |
| 02H | 2 | Channel 2 Digital output value | 0 | ✓ | ✓ |
| 03H | 3 | Channel 3 Digital output value | 0 | ✓ | ✓ |
| 04H | 4 | Channel 4 Digital output value | 0 | ✓ | ✓ |
| 05H | 5 | Channel 1 Digital value range | 0 | ✓ | ✓ |
| 06H | 6 | Channel 2 Digital value range | 0 | ✓ | ✓ |
| 07H | 7 | Channel 3 Digital value range | 0 | ✓ | ✓ |
| 08H | 8 | Channel 4 Digital value range | 0 | ✓ | ✓ |
| 09H | 9 | Channel 1 Channel Hold/Clear | 0 | ✓ | ✓ |
| 0AH | 10 | Channel 2 Channel Hold/Clear | 0 | ✓ | ✓ |
| 0BH | 11 | Channel 3 Channel Hold/Clear | 0 | ✓ | ✓ |
| 0CH | 12 | Channel 4 Channel Hold/Clear | 0 | ✓ | ✓ |
| 0DH | 13 | Channel 1 Setup output range DIP Switch setting needed | 0 | ✓ | ✓ |
| 0EH | 14 | Channel 2 Setup output range DIP Switch setting needed | 0 | ✓ | ✓ |
| 0FH | 15 | Channel 3 Setup output range DIP Switch setting needed | 0 | ✓ | ✓ |
| 10H | 16 | Channel 4 Setup output range DIP Switch setting needed | 0 | ✓ | ✓ |
| 11H | 17 | Channel 1 Status | – | ✓ | – |
| 12H | 18 | Channel 2 Status | – | ✓ | – |
| 13H | 19 | Channel 3 Status | – | ✓ | – |
| 14H | 20 | Channel 4 Status | – | ✓ | – |
| 15H | 21 | Error Code | – | ✓ | – |
| 16H | 22 | Operating System Version | – | ✓ | – |
| 17H | 23 | Enable DA output | 0 | ✓ | ✓ |
DA Conversion Enable/Disable Setup
- The DA conversion Enable/Disable setup is used to specify the analog output being enabled or disabled.
- If the bit is 0, conversion setup is disabled.
- If the bit is 1, conversion setup is enabled.
| Bit 15 | Bit 14 | Bit 13 | Bit 12 | Bit 11 | Bit 10 | Bit 9 | Bit 8 | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | CH4 | CH3 | CH2 | CH1 |
Digital Output Value
- The digital output value is used to convert a specified digital value to an analog signal.
- The range of digital values are specified from the digital value range.
Digital Value Range
- The digital value range is used to set the range of digital values that sequence program specifies.
- Maximum 14-bit resolution digital output is used.
| Code | Range |
|---|---|
| 0 | 0 ~ 16,000 |
| 1 | -8,000 ~ 8,000 |
| 2 | Current Value: 0 ~ 20,000 Voltage Value: -10,000 ~ 10,000 |
| 3 | Percentage: 0 ~ 10,000 |
Channel Hold/Clear
- Channel hold/clear is used to specify the status of the analog output signal when the PLC switches from RUN mode to STOP mode.
| Hold/Clear | STOP Mode Output |
|---|---|
| 0000 (0) | Clear (Minimum Output) |
| 0001 (1) | Hold (Maintain Last Output) |
| 0010 (2) | Half Level (Medium Output) |
| 0011 (3) | Maximum Level (Maximum Output) |
Setup Output Range
- IMPORTANT: In order to operate properly, the software setting and hardware setting (DIP Switch) must be the same.
| Code | Range |
|---|---|
| 0 | 0 ~ +10V |
| 1 | -10 ~ +10V |
Error Code
| Error Code | Description |
|---|---|
| 0 | No Error |
| 1 | System Error Considered A/S |
| 2 | No external DC 24V power |
