Instruction Parameters
Supported PLC Series
| PLC-AES | PLC-FB | PLC-ES |
|---|---|---|
| ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Slot | – | – | – | – | – | – | – | – | – | – | – | – | – | – | ✓ |
| S | ✓ | ✓ | ✓ | ✓ | ✓ | – | ✓ | ✓ | – | ✓ | – | ✓ | ✓ | ✓ | – |
| Size | ✓ | ✓ | ✓ | ✓ | ✓ | – | ✓ | ✓ | – | ✓ | – | ✓ | ✓ | ✓ | ✓ |
| Result | ✓ | ✓ | ✓ | ✓ | ✓ | – | ✓ | ✓ | – | ✓ | – | ✓ | ✓ | ✓ | – |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | ✓ |
| Zero | F11.1 | – |
| Carry | F11.2 | – |
Number of Steps
| Steps |
|---|
| 5 |
Operands
| Operand | Description |
|---|---|
| Slot | The first operand. Entries are only constants. This is the slot number of the communication module and port. |
| S | The second operand. Entries are only WORD data registers. This is the data to send. |
| Size | The third operand. Entries are data registers or constants. This is the number of bytes starting at the data register S are sent. The value range is 1 byte ~ 500 bytes (250 WORDs). |
| Result | The fourth operand. Entries are only WORD data registers. This is where the result of the transmission is stored. |
Assignment Example
The following example shows how to assign values to Slot.
Slot
| Base Number | Communication Port | Slot Number | |
|---|---|---|---|
| H | 0A | 1 | B |
| Hexadecimal | 2 Digits in Hexadecimal | 1 Digit in Hexadecimal | 1 Digit in Hexadecimal |
Communication Ports
There are multiple communication ports dependent on the communication module.
- Use 0 for channel 1.
- Use 1 for channel 2.
Base/Slot (CM1)
| Base Number | Communication Port | Slot | Example |
|---|---|---|---|
| Local Base | Channel 1 | Slot Number 5 | H0005 or 5 |
| 1st Expansion | Channel 1 | Slot Number 3 | H0103 |
| 10th Expansion | Channel 1 | Slot Number 7 | H0A07 |
| 14th Expansion | Channel 2 | Slot Number 12 | H0D1C |
| 16th Expansion | Channel 2 | Slot Number 10 | H101A |
Module/Slot (CM3)
| Module | Communication Port | Slot | Example |
|---|---|---|---|
| CPU | Channel 1 | Slot 0 | H0000 or 0 |
| 1st Expansion | Channel 1 | Slot 1 | H0001 or 1 |
| 5th Expansion | Channel 1 | Slot 5 | H0005 or 5 |
| 10th Expansion | Channel 2 | Slot 10 | H001A |
| 15th Expansion | Channel 2 | Slot 15 | H001F |
Result Format Execution
| Bit Number | Description |
|---|---|
| Bit 0 | Transmission Completed: ON (1 Scan) Transmission Failed: ON (Always) |
| Bit 1 | Transmission Failed: ON (Always) |
| Bit 2 ~ 7 | OFF (Not Used) |
| Bit 8 ~ 15 | Error Code (0 = No error) |
Notice
Error Flag (F11.0) Notice
The error flag, F11.0, will be ON for one scan when the address of the data register assigned by @D exceeds the range of the data register, D. The range of the data register, D, is dependent on the CPU type. F11.0 turns ON if the value of the data register assigned to Size exceeds its range.
Execution Condition
It is required that the SND instruction be used with a pulse contact as an execution condition, or use the SNDP instruction to prevent data transmission error.
Ladder Diagram Examples
SND

The SND instruction sends Size bytes of a frame starting at the data register, S, to the communication module, Slot, and saves the transmission result in an assigned data register, Result.

When the contact, M1.0, is powered ON (1), 8 bytes of the frame starting at the data register D10 are sent to the communication module at slot H0001. The result of the transmission is stored in the data register, M00.

Memory Monitor

The above example shows the binary result if there was no error.

The above example shows the binary result if there was an error.
SNDP

The SNDP one-shot instruction sends Size bytes of a frame starting at the data register, S, to the communication module, Slot, and saves the transmission result in an assigned data register, Result. Every time this instruction executes, it energizes the output only once.

When the contact, M2.0, is powered ON (1), 16 bytes of the frame starting at the data register D20 are sent to the communication module at slot H0001. The result of the transmission is stored in the data register, L20.

Memory Monitor

The above example shows the binary result if there was no error.

The above example shows the binary result if there was an error.
