31
If an error occurs during any of the MSTR operations, a hexadecimal error code will be displayed
in register 4x+1 in the control block (refer to MODICON 984 Programmable Controller Systems
Manual, MSTR Function Error Codes, section 17.2).
In the routing Failure error category (6mss type error, per reference manual section 17.2) the
Communication Option may return the following error codes:
SS Hex Value Meaning
10
Slave has rejected the command because on of the following N-error conditions
resulted while communicating with the G3 inverter
(1) cannot execute command while inverter is running.
(2) Attempting to set data outside limits.
(3) Address outside limits.
Or slave rejected the command because a global command was received (which
cancels a normal read/write transaction).
80
Unexpected response received during a message transaction between the
option processor and the peer processor. Specifically, the wrong slave
input path number was returned by the peer processor. The transaction is rejected.
The above codes were specifically included in the design of the Communication Option.
Additional error codes may be generated by the network handlers as well.
9.3
Program Examples
Example #1:
Using the example PLC ladder program listed previously, and using the write command, Inverter
on node 2 is to be started in the forward direction using Acceleration/Deceleration parameters
settings #1. The output frequency of the inverter is to set to 60 Hertz.
•
Set the MSTR control registers to the following settings:
Address
Description
Register Setting
40001
MSTR Function
1
40002
Error Code
read only (see section 8.3)
40003
Number of consecutive registers to read
2
40004
Starting Register Address in G3
1
40005
Destination Node
2
40006
Routing Path
1
•
In register 40100 write the output frequency of 6000 (decimal x100).
•
In the Status register 40101 write 5 which was derived from the following table