7-53
isthenumberofbytesofthesucceedingdata(W(1N+1),2).Thelengthisautomatically
set by the CX-Protocol.
(W(1N + 1), 2)
The Inverter’s actual data is to be sent. This example selects Variable and Read R()
and sets the operand. Set Data to 1N + 1 because the RUN command data uses four
bytes each from D + 3, D + 6, and D + 9.
Set Data Size to 0N + 2 so that it will be set to two bytes.
7-9-5 Ladder Program
·Transfer the created protocol to the Communications Board.
·The following example describes how to control the Inverter with this protocol.
·Beforeusingthisprograminyoursystem,besuretocheckthewordand datamemory
allocationsandchangethemifnecessarysothattherewillbenowordordatamemory
duplication.
·Thisprogramwillstopallcommunicationsifacommunicationserrororfaultoccurs.Be
sure to set n151 for communications time-over detection selection to 0 through 2 so
that the system will stop with time-over detection.
H Memory Allocations
D Starting Communications and Status Signals
Word Functions common to all Slaves
00000 Inverter control communications (continued when set to ON)
00001 Communications error output (on hold when a communications error
or fault occurs)
00002 Communications fault reset
Communications Chapter 7