AMIS−49587
www.onsemi.com
37
Table 38.
Field Byte Length Value Description
<STX> 1 02h Start of text delimiter
Length 1 03h .. 250 Length of the Command, User_Data fields and CHK.
Command 1 00h .. FEh Command code
User_Data 0 .. 247 Byte String Zero to 247 data bytes.
CHK 2 0000h .. 65535 The checksum of the local frame is the result of the addition of the
elements of the frame, from length up to the last UserData byte, or
up to the Command byte if there is no UserData byte. The CHK is
sent with LSB first.
Important: Frame in little endian format (LSByte first)
Table 39. SUMMARY OF FRAME DELIMITERS
Character Definition ASCII Code
<STX> Start of text; first char of frame 02h
<ACK> Acknowledgment 06h
<NAK> Non Acknowledgment 15h
<?> Start of Status Message 3Fh
Power On Reset
ResetRequest/reset
SET Master
ResetRequest/reset
SET, Monitor
WriteConfigNew_Request/check config data
NOT SET
Validate Monitor Cfg
Reset
ResetRequest/reset
SET Slave
Validate Slave Cfg
Validate Master Cfg
Reset
Reset
Invalid Cfg
Figure 30. PLC MODEM State Diagram
AMIS−49587
www.onsemi.com
38
Table 40. CONFIGURATION COMMANDS AND RESPONSES
Command Unsolicited* Initiator Valid Command in Mode: Code
Reset_Request no Application micro controller () Master / Slave / Monitor/ Not
Set
21h
WriteConfig_Request no Application micro controller (Da-
ta_Config)
Master / Slave / Monitor/ Not
Set
71h
WriteConfig_Confirm no AMIS−49587 (Data_Config_Echo) Master / Slave / Monitor/ Not
Set
72h
WriteConfig_Error no AMIS−49587 (Error_Code) Master / Slave / Monitor/ Not
Set
73h
AccessDB_Request no Application micro controller (DB_Da-
ta_Id)
Master / Slave 41h
AccessDB_Confirm no AMIS−49587 (DB_Data_Id_Echo) Master / Slave 42h
AccessDB_Error no AMIS−49587 (Error_Code) Master / Slave 43h
*An unsolicited message is a message that is originating from the AMIS−49587, based upon an AMIS−49587 internal event. The message is
not provoked by a prior command sent by the external processor.
The state diagram in Figure 30 shows how a PLC MODEM can be placed into one of the 4 main modes by issuing a
WriteConfig_Request message with accompanying configuration values. Most configuration parameters can be changed after
the MODEM is in a ‘set’ mode by the AccessDB_Request message. All settings can be undone by sending the Reset_Request
message.
7.3.1 Reset_Request
AMIS4958x
Command
Interpreter
External CPU
Reset_Request(0x21)
Mode is changed
to Not Set
Figure 31. Sequence Diagram for Reset_Request
Use the Reset_Request to bring the MODEM in a ‘NOT SET’ mode. No power line data transmission is possible; it is as
if the MODEM comes out of reset. The MODEM does only reply with the <ACK> (=0x06) character, no additional data is
sent from the MODEM.
<STX> 0x03 (Length) 0x21 (Reset_Request) CHK
AMIS−49587
www.onsemi.com
39
7.3.2 WriteConfig_Request
AMIS4958x
Command
Interpreter
External CPU
WriteConfigNew_Request(0x71)
[Config data OK&& Command allowed&& !Test mode]
WriteConfigNew_Confirm(0x72)
[Config data error| Command not allowed| Test mode]
WriteConfigNew_Error(0x73)
On success,
mode is changed
to Master, Slave
or Spy
Figure 32. Sequence Diagram for WriteConfig_Request
Command can be issued at any time (If the status message allows it to be send) and will bring the MODEM in a ‘SET’ state
if the configuration data is correct. Depending on the configuration data, the final state of the MODEM will be Master, Slave
or Monitor.
<STX> 0x26 (Length) 0x71 (WriteConfig_Request) Data_Config CHK
With Data_Config, 36 bytes of configuration data as laid out in Tables 41 and 43.
Table 41. CONFIGURATION PARAMETERS
Field Length Value Description
First Initiator MAC Address (FIMA) 2 bytes
0001 to 0FFF Slave: First value for Initiator MAC address
XXXX Master & Monitor: don’t care
Last Initiator MAC Address (LIMA) 2 bytes
0001 to 0FFF Slave: Last value for Initiator MAC address
XXXX Master & Monitor: don’t care
Local MAC Address 2 bytes
0FFE or Slave Mode: New
0001 to (FIMA−1)
FIMA to LIMA
Slave (Registered)
Master
XXXX Monitor
Active Initiator Address 2 bytes
0000 Master, Slave (unlocked)
FIMA to LIMA Slave (locked on an initiator)
XXXX Monitor
Time−out−synchro−confirm 2 bytes 0000 to FFFF Slave: In seconds. (Not used in Master mode)
Time−out−frame−not−ok 2 bytes 0000 to FFFF Slave: In seconds (Not used in Master mode)
Time−out−not−addressed 2 bytes
0000 to FFFF Slave: In minutes (Not used in Master & Monitor mode)
XXXX Monitor: Don’t care
Mac−group−addresses 10 bytes 0000 to 0FFF Slave: 5 MAC group addresses (Not used in Master
mode)
Fs 2 bytes 0000 to FFFF Step Register for the Space Frequency Fs
Fm 2 bytes 0000 to FFFF Step Register for the Mark Frequency Fm
R_ZC_ADJUST 1 byte 00 to FF Value according to the voltage level of the 50 Hz
information for the input of the PLL.

AMIS49587C5871RG

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Network Controller & Processor ICs C587- NAF- AMIS49587
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union